Networking :: "Basic" Router Using RHEL Or CentOS

Feb 1, 2011

There have been plenty of occassions when I've needed to setup a RHEL or CentOS box to act as a NAT router / firewall, and I am able to do this fairly easily by enabling ip_forwarding, and setting up a couple of iptables FORWARD rules and a nat rule.

However, what I'd like to do now, sounds in theory like it should be simpler, but I seem to be having a mental block and all of my searches pull up results about people playing around with LinkSys routers and so on.

Let me give an example scenario. Let's say I have two subnets, A and B. A has the IP range 10.0.1.0/24 and B has 10.0.2.0/24.

I have my RHEL box, with two NICs. One is connected to subnet A and has the IP 10.0.1.1/24, the other to subnet B with the IP 10.0.2.1/24.

All I want to do, is make clients on each subnet be able to talk to each other via my Linux box.

No, NAT'ing, no firewall rules, just straight up, good old-fashioned routing.

View 1 Replies


ADVERTISEMENT

CentOS 5 Networking :: Authbind Equivalent - Package For CentOS / RHEL?

Feb 23, 2010

I am trying to see if there is an authbind equivalent or authbind package for CentOS/RHEL? x If so, where can I get more info and download it? It seems to be only available for Debian and Ubuntu.

View 3 Replies View Related

Networking :: Linux Router / Configure Linux CentOS 5 As A Router Using Iptable?

Nov 27, 2009

I want to configure linux CentOS 5 as a router using iptable, .Im new in linux so I need the steps to do that

View 5 Replies View Related

CentOS 5 :: Pirut/yum: RHEL 5.1 - Maintain An Unregistered RHEL Box?

Feb 16, 2010

A client has sent me an RHEL 5.1 box for me to do some work on, but it's not registered with Red Hat. This is causing me problems, because it's a minimal installation, and I need some more dev software.My immediate reaction was to install various bits (emacs, and so on) from my Centos 5(.0) DVD.The base RHEL system only had one (disabled) repo entry,so I added a yum DVD repo entry in yum.conf.d.

This looked good to start with, but it doesn't work. Something in RHEL's pirut/yum/rpm/whatever is getting confused, and can't work out what is/isn't installed.

Question - how do you maintain an unregistered RHEL box? Has RH done something to make life difficult? Is my problem simply that I'm using a Centos 5.0 DVD, instead of Centos 5.1? Am I stuck with downloading lots of rpms from the net and doing everything manually? I really don't want to do that.

View 2 Replies View Related

Networking :: CentOS/RHEL Small Network Configuration?

Jan 14, 2010

I want to create a small network of 3-5 computers. I want to have one computer as my server and have services like NFS, DHCP, NTP, etc. I want to connect it to 2-4 other clients that have the bare minimal installation of linux on them. I would like 1 client computer to have a static ip address and I would like another to receive a dynamic ip address from the server. How would I go about doing all of this without the assistance of GUI's? I want to be able to do all this with the ks.cfg and network config files.

View 4 Replies View Related

CentOS 5 Networking :: Can't Even Ping To My Router

Oct 2, 2009

just finished installing Centos5 and I had no problems installing it. But when I tried to connect to the internet, the trouble began.My network card is installed and the status is "OK". The network card is a "Realtek RTL 8168C(P)/8111C(P)".The status of the device said "Inactive" and when I tried to activate it, it came with an error: Failed; no link present. Check Cable?Now the cable is connected as it should be.So next step I did is put in a static IP. Now the activation works fine.However I still have no internet. I can't even ping to my router!I need some new drivers for my graphics card too, but first I need the network to work, than I can download other stuff..

View 6 Replies View Related

Networking :: SSH From The Internet To Centos Box At Home Behind The Router

May 8, 2011

How can I successfully SSH using SecureCRT from the Internet to my Centos Linux box at home behind the router? I have a DGL-4500 dLink router. I configured a Virtual Server in the router for SSH 192.168.0.182 Protocol 6 TCP public port 22 ? private port 22 Schedule Always Allow Inbound Filter Allow All. Further I Enable DMZ for 192.168.0.182. I got my Internet IP address through "what is my ip website." Now every time when I try to SSH, I get a message "The remote system refused the connection". Here is iptables -L command output;

[root@localhost ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
[Code]....

View 9 Replies View Related

CentOS 5 Networking :: Connecting Server 5.3 To DSL Router?

Sep 3, 2009

I want to use centos as a developer server on my desktop before deploying my stuff to the internet.

I have a netgear DG834G router. It's IP address on my local network is 192.168.0.1 and connected to the adsl line. The router is set up to act as an dhcp server too. On the router I have reserved ip address for the nics per their mac addresses.

My server is on a dual boot desktop. The other boot is XP and works fine, picks up dhcp.

I don't know how to connect Centos to the router.

I have tried to play with the network manager but to no avail.

I can ping localhost, interface eth0 is there, but i can't ping to the router.

I have set the manager system/administration/network to get dhcp automatically.

I can't activate the eth0 although the hardware device says it is OK.

I've looked at firewall and iptalbes.

View 2 Replies View Related

CentOS 5 Networking :: Router Pass-through Configuration?

Nov 18, 2010

I have a CentOS server that has some problems with the network configuration. I can't find the correct settings / help on internet

The computer has 3 network connections. ETH0 is connected to a router (a FritzBox 7050 with IP address 192.168.178.1). The ETH0 card has a fixed IP-address 192.168.178.22 - gw 192.168.178.1. Firefox as well as the webserver are working fine. ETH1 is not working (and not activated) because of problems with the drivers. ETH2 should be the intranet connection. This interfacecard has IP-address 192.168.17.1 and is connected to a switch. After the switch I have 1 computer attached with IP-address 192.168.17.3 - gw 192.168.17.1 A ping from the server to this computer gives good results and a ping from the computer to the server also. trying to ping to the fritz-box or to the internet constantly fails. As far as I can search, I'm certain that the failing is caused by routing-problems on the CentOS server.

the command 'ifconfig' of the server results :
eth0 Link encap:Ethernet HWaddr 00:1E:E5:D5:F1:C4
inet addr:192.168.178.22 Bcast:192.168.178.255 Mask:255.255.255.0
inet6 addr: fe80::21e:e5ff:fed5:f1c4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

[Code].....

View 1 Replies View Related

CentOS 5 Networking :: Find RHEL Compatible Rpms For Bind 9.7 And DHCPD 4.1?

Aug 26, 2009

Does anyone know where I can find RHEL compatible rpms for Bind 9.7 and DHCPD 4.1?

View 1 Replies View Related

CentOS 5 Networking :: Can't Ping / Connect Past Router

Apr 22, 2010

I have a box that I installed Elastix on as I'm trying my hand at Voip and Linux. I'm basically very green when it comes to Linux and the console. As I was following a guide @ engineertim.com to securing the box, it asked me to: wget [URL], But I get: Resolving engineertim.com... failed: Temporary failure in name resolution. I searched around and tried configuring resolv.conf to no resolve - :) unintended pun

I changed /etc/sysconfig/network to include GATEWAY=192.168.1.1 From the internet I have a modem-192.168.2.1, a telecom voip box-192.168.15.1, and then my router 192.168.1.1 I'm able to ping machines attached to the router but nothing beyond that. I tried to get the results for ifconfig via putty on this machine but it says command not found. I can get it when I log in at the box in question though.

View 10 Replies View Related

CentOS 5 Networking :: Point Blank Refusal To Pickup Signal From Router

Aug 9, 2009

I've just installed CentOS 5.3 on a Shuttle PC with an Atheros AR5001X+ Wireless card, and although the card is properly recognised and correctly identified by the OS, there seems to be a point blank refusal to pick up a signal from my network router, which is a Be*Box branded Thomson 585v7. I've previously successfully managed to get this PC and wi-fi card to pick up the signal from that router under other OSes including Kubuntu, openSUSE, Windows XP Pro and Windows 7 RC, but no luck with CentOS 5.3.

Clicking on Scan for Networks... in KWiFiManager doesn't even bother to scan for a network signal. From the very split second I take my finger of the mouse button, it instantly displays a dialog box which tells me . . . "The scan is complete, but no networks have been found."

How on earth can it actually find a network signal, when it doesn't even bother looking for any?! Wireless access is the only way I can get that machine online. A wired connection is not a realistic option, since the ADSL modem/router is in a front room downstairs, and all my PC's are in a back room upstairs, and would require about 10-20 meters of RJ45 ethernet cable and a lot of unnecessary extra work. The PC I'm currently typing this message on (running W7RC) is picking up the wi-fi signal with no problem.

View 17 Replies View Related

CentOS 5 Networking :: Add Extra Loopback Adapters Like Windows - For GNS3 Router Emulation

Mar 26, 2009

I have been searching the forums for quite a while, to add extra Loopback adapter in Centos 5.1, but no success! Could you please suggest me the steps? in Windows, it is quite easy to add as many adapters as you want. wondering, if this is even possible in Linux? I have to run GNS3/Dynamips for router emulation and bind those Loopback adapters to virtual routers!

View 5 Replies View Related

General :: Where Download CentOS-only Basic Packages?

Aug 28, 2010

I am thinking in starting a CentOS based distribution for communication (call center) and collaboration (IM, email, calendar) tools. What I want to find is Where to get CentOS-only base packages?Any post related with creation of a CentOS based distribution?

View 1 Replies View Related

CentOS 5 :: Gnome No Longer Loads Getting Basic X Windows Instead?

Feb 15, 2010

Gnome was working fine, then rebooted and it now loads a basic x windows GUI. What happened to Gnome loading and how do I get it back? It's not on the session manager menu

View 6 Replies View Related

Ubuntu Networking :: DLink ADSL Router As Main Router And The Belkin N1 As Repeater?

Apr 13, 2010

Because of the configuration of my house, I need two routers.I have a DLink ADSL router as my main router and the Belkin N1 as my repeater.I have set up the IP address in the Belkin to be 10.1.1.10 - my DLink is 10.1.1.1. I have disable the dhcp in the Belkin and set the DNS as ISP provided. [URL]..I have set the channel to 11 and in the Ubuntu Network Manger I have set the IPV4 to Link Local Only. I can see the Belkin and connect with my PC.but it will not take me through to the internet.

View 9 Replies View Related

Networking :: Setting Up Linux Box As IPv6 Router To Replace Netgear WNR1000 Wireless Router?

Jun 18, 2011

I want to set up a Linux box as a wireless router to replace our existing Netgear WNR1000 router, as I believe the Netgear does not support the coming IPv6 protocol. Unfortunately, it is not flashable with OpenWRT or DD-WRT presently.

As we have Comcast, our cable modem acts as a dumb modem according to the customer support guy I talked to, and our router is the one that asks for the IP address from DHCP. Thus, when Comcast switches over to IPv6, I don't believe my existing router would work, correct?

My idea is to take a Linux box and put two NICs and a wireless adapter in it, using IPCop or Smoothwall to set up a router. I could then enable IPv6 support for when we have IPv6 with Comcast. Is that possible? Would there be a way to get BIND to hand out private IP addresses in the same subnet on the both the LAN NIC and the wireless card?

View 1 Replies View Related

Networking :: Set Up A Laptop As A Router To Connect Wirelessly To ADSL Router?

Nov 6, 2009

I have a desktop PC running Ubuntu 9.10 and Windows 7, and a Eee PC 701 laptop running EasyPeasy Ubuntu 9.04. I'd like to connect the desktop to the laptop with a wired connection (eth0), then the laptop to my ADSL router using wireless (ath0).

I have a crossover ethernet cable (I bought on ebay). I have set up my laptop with a static IP address on my LAN and it uses OpenDNS.

I have added this to /etc/sysctl.conf on the laptop:

net.ipv4.ip_forward=1

Then I tried this on the laptop:

sudo iptables --table nat --append POSTROUTING --out-interface ath0 -j MASQUERADE
sudo iptables --append FORWARD --in-interface eth0 -j ACCEPT

This is a variation on what I found on other sites describing how to set up a router. I don't understand iptables very well, but I gather that the above two lines should set up forwarding so that traffic from my router to the laptop will be forwarded to the desktop, and vice versa.

But this doesn't work. The connection doesn't even establish between the laptop and the desktop.

View 12 Replies View Related

Networking :: Network Setup - Router - Wireless Router Card ?

Apr 24, 2010

I'm having trouble getting my network set up the way that I want it/had it. You see, when I first set up my network, I just had my cable modem going directly to my standard wired router (A D-Link DI-604), which had DHCP,and was connected to all of the computers on my network. I had one switch hooked up to one of the ports of the router, but this was a regular switch, and it would not try to assign IP addresses, it would just pass through the DHCP info as I wanted.

Now however, my network setup has changed. My room mate and I both got laptops, and we decided that we wanted to have wireless access so we didn't have to constantly plug in to the router.

Now my network is set up like this: The modem is hooked up to the router(DI-604), which is hooked up on the LAN side to our computers, our switch (which is hooked up to 3 more computers), and to a wireless router card (A Gigabyte GN-BC01).

The wireless router card has two jacks for ethernet. One for WAN, and one for LAN. The LAN side we have plugged only into the computer in which the card is installed.

Now the problem is this: The wireless router card comes with DHCP by default, and it's assigning addresses to the laptops and to the computer hat it's in, and worse, the IP addresses are on a different subnet than that of the main dlink router. The Main (dlink) router assigns addresses from 192.168.0.1 (itself) to 192.168.0.254, while the wireless router card assigns addresses from 192.168.1.1 to 192.168.1.254 (itself).

Because of this, I cannot access services on the wireless network from my wired network or vice versa. The first thing I tried was setting the card to assign addresses from 192.168.0.12 to 192.168.0.253, however it just said "internal error" when I tried to do this. I decided that this may be because it sees that it was being assigned an address on it's WAN side on the same subnet. So the next thing I tried was disabling DHCP and setting the "LAN IP Address" to 192.168.0.12, hoping that the DHCP would just go through the card, like a switch. I would have set the LAN IP address to be assigned by DHCP, but this was not an option, so I decided that'd be the best thing to set it to.

Once again however, setting the LAN ip address to an address on the same subnet as that of the IP assigned to it's WAN side caused it to report an "internal error". I verified that this was the issue by setting the LAN address to several other private IP addresses to test (I.E. 10.0.0.1, 192.168.3.1, 192.168.5.12).

My question then really is: How do I set up both routers so that I can access services and computers from each network from the other network. Should I set them with different subnets and set the gateway on the wireless network to the main router? To the wireless router card? Should I put them on the same subnet? Will it know how to communicate?

Here is a link to (picture) my network diagram. Network Diagram

View 2 Replies View Related

Networking :: Linux As A Router / Bring 147 & 148 IP Online Without Router?

Mar 26, 2009

These r IP provided by my ISP that i've put on Fedora 8:

WAN IP:xxx.xxx.xxx.17 (eth0)
Subnet:255.255.255.252
Gateway:xxx.xxx.xxx.18

Valid static(public) IP set of 2:
IP:xxx.xxx.xxx.147 & 148 (eth1, eth2)
Subnet:255.255.255.240

i want to run xxx.xxx.xxx.147 as a web server & xxx.xxx.xxx.148 as a ftp server. but I'm able to ping only xxx.xxx.xxx.17(WAN IP) from outside world. Can any1 tell me that how can i bring my 147 & 148 IP online without router.

View 6 Replies View Related

CentOS 5 :: Install The Most Basic FTP Server Available Just So We Can Share Files Back And Forth Between Test Hosts?

Mar 11, 2011

For use on a test LAN, ie. security is not an issue, I need to install the most basic FTP server available just so we can share files back and forth between test hosts : launch FTPd, have it share a directory through either "anonymous" or a single, shared login/password?

View 8 Replies View Related

Red Hat / Fedora :: Have Finished Reconfiguring My 1st PC Centos 5.5 With Squid And Dansguarian Works Fine The Configuration Is Basic?

Feb 8, 2011

I have finished reconfiguring my 1st PC Centos 5.5 with Squid and Dansguarian. Works fine the configuration is basic.lets name it to 1st PCeth0 - modem ip (public)eth1 - 172.16.1.1 (LAN)Then I've decided to change and add another Centos 5.5 for Firewall Service that is directly connected to the modem and then shares internet connection and some ports to 1st PC.

lets name it to 2nd PC, it also has two NICSeth0 - modem ip (public)eth1 - 10.0.0.1 (ip to connect to the 1st pc with squid services)so I changed the ip of the 1st PC with theseeth0 - 10.0.0.2eth1 - 172.16.1.1 (LAN)and connects the eth0 (10.0.0.2) of the 1st PC to the eth2 (10.0.0.1) of the 2nd PCthen I've tried browsing on the network but it does not work...is there a simple iptables command for the 1st PC and 2nd PC?ere are the iptables script and lists of my 1st and 2nd PC 2nd PC (firewall to be)

#vi /home/user1/fw.sh
#!/bin/sh
123=/sbin/iptables

[code]....

View 7 Replies View Related

CentOS 5 :: Windows AD ACLS Used On Centos/RHEL Directories?

Aug 31, 2010

We are slowly migrating from a predominantly Windows house to a 50/50 Win/RHEL operation and even further in the future.Currently, we have a LOT of Windows folders that are created by custom applications which, upon creation of a new folder set, applies the corresponding ACL so that only the associated groups are able to access the folders. Now for the problem, we are migrating the applications to a RHEL55 environment and it is creating the folders on that system now but the groups are still residing in the Windows AD. Is there an "easy" (I know, a very relative term) to have the Windows groups given permission to the Linux shares without very much manual intervention?

View 1 Replies View Related

Networking :: Old Router Behind New Router - Configuration ?

Oct 30, 2010

I've moved a linuxbox from being my gateway (nat, etc) to behind a new gateway (a DD-wrt router). For transparency purposes, I'd like to continue using the old box services, and just have the gateway in front of it.

Here's what I did:

The newgateway is setup for class C, 192.168.0.0

This configuration works, but sometimes it doesn't and I haven't figured out why yet.

At sometimes, clients on the LAN get throughput rates with very little speed loss (using speakeasy speed test). They will run at 33M on the LAN, running through both the newgateway, and the oldbox, and get about 35M with directly connected to the cable modem.

Other times, it seems nothing can talk with anyone, and I am not sure why.

I know what I have done is a little unconventional, but it's a transitional thing, and I am not sure it is the cause of the problem, although it was the last things changed.

View 2 Replies View Related

Ubuntu Networking - Basic USB Adapter Not Working In 10.04

Jan 18, 2011

I've been reading some of the previous threads but still have not been able to make the adapter work. Here's where I got stuck. I was able to install ndsiwrapper and the GUI. I found the driver (net8192su.inf) on the disk which came with the adopter and installed the driver using the GUI for ndsiwrapper. Unfortunately I get a message "invalid driver" after I installed it?

View 7 Replies View Related

Debian Multimedia :: Basic Networking - Referring To Computers By Name

May 16, 2011

Sorry if this is a dumb question, there's a lot about networking that I don't get yet. I've got two computers using the same wireless router. They both get their IP addresses via DHCP from the router (I assume). If I want to connect from one machine to another, I can use the IP address (which works), but it's a pain checking what the IP address is, I guess it depends on which one connects first? So it might work today but tomorrow the IP addresses are reversed and the same command wouldn't work.

What I'd like to do is just refer to the other computer by name, but of course I haven't got a DNS server just for these two computers, and I don't think the router can do it (can it?) so is there a way to do it? Is it really just a case of switching off DHCP and giving each computer a fixed and unique IP address, and then entering some name in the hosts file for the two computers? Although then there's nothing to guarantee that the name in the hosts file actually matches the hostname of the computer at that IP I suppose.

View 5 Replies View Related

Fedora Networking :: Cannot Connect To The Web To View Any Basic Webpages?

Feb 12, 2009

I have installed F10 x86_64 on my laptop with the intent of having a few VM guests under qemu/kvm to run test machines for my code while at a week long class. At home, hard wired to the LAN, my DomU's connect the internet just fine. Perhaps not exactly the way i want, but it worked. Now I am at the class and I've had to connect via wireless network. My DomUs CAN resolve URLs to IPs, but I cannot connect to the web to view any basic web pages.

Attached are screeshots showing my
#ifconfig
and
#route

View 2 Replies View Related

Fedora Networking :: Playing Video Over Basic Network

May 3, 2009

Basically I've just set up a very basic network connecting my vista laptop to fedora 10 laptop via ethernet. I download from the fedora box to an external hd which I can access from both computers. So, my question is, is it possible to have the same video play on both machines, in sync?

View 4 Replies View Related

Ubuntu Networking :: Basic Information On Setting Up A Home Vpn?

Mar 20, 2011

I'm trying to set up a VPN for my home so I can ssh from my Mac to the linux desktop on my LAN remotely, but I have no idea what to do. The internet seems to suggest using a VPN, but I have no idea what's involved with setting something like that up, and I'm not even sure that's what I need to do. The linux desktop is on my LAN along with a few windows xp computers, if that matters. Does anyone care to either help or point me in the direction of good information (preferably suited for networking beginners)?

View 4 Replies View Related

Ubuntu Networking :: Belkin Basic Wireless USB Adapter?

Apr 1, 2011

I had a Netgear Wireless USB adapter that got fried (probably because it was about 10 years old lol). It was a B and used to connect at 54 Mbps, but as it got older, was only connecting at 1 or 2 Mbps and would constantly disconnect and reconnect until it finally died.I went out and bought a Belkin Basic Wireless USB Adapter (Model Number: F7D1101). This one is an N and it connects at 150 Mbps when booted into XP, but when booted into Ubuntu 9.04, nothing shows up. It doesn't turn on, the list of networks isn't there.

Could it be that it's not compatible? I plug in the Netgear B and it shows up, connects and disconnects (because it's fried) and shows me a list of connections. But when I plug in the Belkin N, I get absolutely nothing at all. And I forgot how I connected the Netgear so...?By the way, the wireless router is a Netgear N that I got from Comcast Cable, if that helps in any way? Is there something that I need to do in terminal to "turn it on manually" or something?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved