Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I set up a Red Hat 7.2 box to work on an M$ network. There is a DSL modem connected to a linksys router, which connects all the computers by a big ol hub.
My problem is that the linux machine will not ping anything on the network or the internet. This has nothing to do with samba or anything like that, all I want is to provide internet access to the linux box, no connectivity to the windows boxes (yet!).
I set the box up with a static ip of 192.168.1.3, a subnet of 255.255.255.0, and a gateway of 192.168.1.1 (linksys router)
Can anyone explain why this isn't working?
I checked the conf files in /etc, and they seem correct...

Do you have routing turned on?
echo "1" > /proc/sys/net/ipv4/ip_forward
iptables –I FORWARD –i eth0, ppp0 or eth1 ?
iptables –I FORWARD –j ACCEPTYou have to use either iptables or ipchains?
I would run iptables....

Sorry, I thought you want to setup linux as the router?
Do you have all you DNS settings on the linux box and did you turn off NAT on the Linlsys router?

I'm starting to think it's the network card... Linux claims that the interface is up.
As far as DNS goes, I put the DNS servers that my ISP is using. DNS shouldn't be the problem, cause I can not ping IP addresses.
I have a Linksys BEFSR11, and I don't believe you can "turn off" NAT on it. (Unless the linksys routers run NAT and PAT, which i doubt.)
Without NAT, I won't be able to connect all the computers to the 'net....
I'll try putting another NIC in and see what happens
Thanks

I switched network cards, and it still does not work. It recognizes the cards and when they were changed, but i can not ping/connect to other computers.
I noticed when i ping 192.168.1.3 it responds. But when I ping alder (hostname) it pings 127.0.0.1
Is tcp/ip binding correctly with the NIC?
I've reinstalled 2x, and still hit this brick wall...

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |