LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-10-2003, 01:26 PM   #1
Rab22
Member
 
Registered: Dec 2002
Location: Currently: Normal, IL @ ISU -- Typically: South of Chicago
Distribution: Currently: RH 9 && Slackware 9.1 =)
Posts: 50

Rep: Reputation: 15
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
 
Old 10-10-2003, 01:53 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Try setting the default gateway to the 192.168.0.1 for the computers on your internal network.
 
Old 10-10-2003, 02:27 PM   #3
Rab22
Member
 
Registered: Dec 2002
Location: Currently: Normal, IL @ ISU -- Typically: South of Chicago
Distribution: Currently: RH 9 && Slackware 9.1 =)
Posts: 50

Original Poster
Rep: Reputation: 15
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
 
Old 10-10-2003, 02:39 PM   #4
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
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.
 
Old 10-10-2003, 11:17 PM   #5
Rab22
Member
 
Registered: Dec 2002
Location: Currently: Normal, IL @ ISU -- Typically: South of Chicago
Distribution: Currently: RH 9 && Slackware 9.1 =)
Posts: 50

Original Poster
Rep: Reputation: 15
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
 
Old 10-10-2003, 11:44 PM   #6
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
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.
 
Old 10-11-2003, 10:06 AM   #7
Rab22
Member
 
Registered: Dec 2002
Location: Currently: Normal, IL @ ISU -- Typically: South of Chicago
Distribution: Currently: RH 9 && Slackware 9.1 =)
Posts: 50

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 15 03-30-2015 02:39 PM
default gateway not set by PPPoE, can't ping internet rproffit Linux - Networking 3 12-17-2007 05:29 AM
Unable to ping other than default gateway senthilpr_in Linux - Networking 6 08-17-2005 07:42 PM
Adding default route breaks ping howlie Linux - Networking 4 07-29-2003 10:18 PM
Slow ping time to Linksys Default Gateway (RH 7.1) abell Linux - Networking 4 10-01-2001 10:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration