Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Using Linksys 4 port Cable Router with Redhat 7.1 and can't ping the gateway router from the Linux box.
To prove out cards and cables I connected direcly from PC to Cable Provider Modem with DHCP enabled and connected to the Internet fine. In addition I have two other Win boxes 95 & 98 connecting fine through the Linksys router with DHCP and Static IP.
1. When booting linux eth0 fails due to DHCP timeout so I went
to Static IP startegy to take DHCP out of the equation and used ifconfig to setup eth0
Here is the current environment:
Gateway Router IP 192.168.1.1
Subnet mask 255.255.255.0
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 mETRIC:1
etc etc etc....
*** # route ***
Kernal IP routing table
Destination Gateway Genmask Flags Iface
----------------------------------------------------------------------------
192.168.1.0 * 255.255.255.0 U eth0
127.0.0.0 * 255.0.0.0 U lo
default 192.168.1.1 0.0.0.0 UG eth0
the routing table on the Linksys router has two lines for the WAN
routing
and this line for the LAN
Dest. LAN IP SUBNET Default GATEWAY HOP
192.168.1.0 255.255.255.0 0.0.0.0 1
I am sure I am missing something simple but I CAN't Ping the Router 192.168.1.1 from my linux box 192.196.1.222.
What am I missing???
Any help and assistance would be greatly APPRECIATED!
Can the MS boxes see Linux?
No... not the router or beyond
If they can't then you can narrow the problem to a setting on your linux box.
Yes... I agree
What is the current DHCP setting on your router?
I decided to tale DHCP server and client issues out of the equation to simplify for the time being. DHCP disabled on Router
and on Linux. Went to static IP
Did you put 192.168.1.1 as the default gateway on your linux box?
Yes
Netconfig (sorry no good from bash but my first post may give this
output)
When you tied your Linux box directly to the cable modem, did you use the same cable as the when the Linux box was tied to the Linksys? Since the routing table appears to be correct, and you said that you were able to connect when tied directly to the cable modem, i suspect the following:
1. A poorly seated cable connector in either the linksys or linux box.
2. A bad cable.
3. A bad port on the Linksys.
Try swapping the Linux cable with one of the MS Win machines, while putting the Linux box on a different Linksys port.
If you haven't already done so, I'd also flash the firmware in the Linksys with the latest version available. For my BEFSR41, that would be version 1.43. I think my linksys was shipped with version 1.01. -mk
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.