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.
Location: Currently: Normal, IL @ ISU -- Typically: South of Chicago
Distribution: Currently: RH 9 && Slackware 9.1 =)
Posts: 50
Rep:
Default Install and Ping
Well I have had an interesting problem happen. I have installed RH 9.0 and for some reason although I do have internet (I have cable that get's it's IP from a DHCP) I cannot ping outside the internal network. I have eth0 as my internal(192.168.0.1) and I have eth1 as my external (DHCP assigned). I can ping any computers on the the 192.168.0.0 network just fine however I cannot ping any server that is on the internet (nor can any of the computers on the network ping any computers on the internet).
I have checked the routing tables (although I'm sure I wouldn't have any internet what so ever if they were messed up) and they are fine. I use the box now to MASQ however this problem started even before this.
There is no problem with any iptables for I had this problem before I even wrote/added any.
I have tired bringing down and bringing up the interface several times. I've changed /proc/sys/net/ipv4/icmp_echo_ignore_all from zero to one and back (I was trying hopeless things anymore).
Anyways, does anyone have any ideas on this? It's a bit weird for me, I don't understand why I don't have any ablity to ping on the external interface.
Location: Currently: Normal, IL @ ISU -- Typically: South of Chicago
Distribution: Currently: RH 9 && Slackware 9.1 =)
Posts: 50
Original Poster
Rep:
I already have that done...see the actual "router" itself cannot ping. Let me give a quick description of my network. I have 3 computers running right now. Pluto, Venus, Jupiter. Pluto is the computer I'm refering to. It has two network devices and connects the private lan (192.168.0.0) to the cable internet. The other two computers (one of which dual boots both linux and windows and the other just uses windows) connect through pluto to get to the internet...I'm basically just masquarding the connection.
All computers have the GW set to 192.168.0.1 (if I didn't they wouldn't get any internet). The problem just seems to be with ping...although I have not tried any other types of ICMP traffic. Pluto, Venus, Jupiter ...none of 'em can ping any internet server such as yahoo.com however they can ping each other just fine. Ping jut seems to hang, when pinging internet locations, and when I cntrl+C it it displays a something stating that many packets were sent but never recieved (although it doesn't show as though it was sending until after I cntrl+C).
I'm really stumped on this one...I have no idea what the problem could be.
I had this problem too(dialup though), I set a route to get my firewall machine to connect (ping) to the internet. You might try setting the default gateway of the firewall to the internal address.
Location: Currently: Normal, IL @ ISU -- Typically: South of Chicago
Distribution: Currently: RH 9 && Slackware 9.1 =)
Posts: 50
Original Poster
Rep:
Yup...I have the GW for Pluto as 192.168.0.1 too...I've tired it both with this and without this. With not only bringing down the interface and bringing it back up, restarting the whole network service; but also restarting the computer.
Location: Currently: Normal, IL @ ISU -- Typically: South of Chicago
Distribution: Currently: RH 9 && Slackware 9.1 =)
Posts: 50
Original Poster
Rep:
255.255.255.0 (I don't subnet at all so all the computers on the LAN have this address).
The odd thing is that I orginally had venus IP masquarde the connection and ping worked fine. Now however with Pluto it doesn't seem to want to work. Nothing is different, nor did I do anything different, to set it up.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.