LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Default Install and Ping (https://www.linuxquestions.org/questions/linux-networking-3/default-install-and-ping-102521/)

Rab22 10-10-2003 01:26 PM

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.

Thanks,
-Rick

tangle 10-10-2003 01:53 PM

Try setting the default gateway to the 192.168.0.1 for the computers on your internal network.

Rab22 10-10-2003 02:27 PM

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.

-Rick

tangle 10-10-2003 02:39 PM

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.

Rab22 10-10-2003 11:17 PM

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.

Thank you for the reply though :)

ilikejam 10-10-2003 11:44 PM

What's your subnet mask set to? If this is wrong, then packets meant to go out to the internet may be getting bounced around your internal network.

Dave

P.S. I don't actually know what the subnet mask should be, but I rekon that's probably where the problem lies.

Rab22 10-11-2003 10:06 AM

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.


All times are GMT -5. The time now is 07:13 AM.