LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 04-28-2006, 10:13 AM   #1
turbosupra
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Rep: Reputation: 0
Only one host "unreachable" with ping on LAN.


Greetings all,

Long time reader here, first time poster. I usually find the answer to my problem thumbing through the threads. I ask far more questions than I answer, but here it goes.

I've got a Slackware box running as my gateway, router, firewall. My internal IP scheme is 10.10.10.x. I've got odd behavior that just appeared lately and it's bugging me something fierce. I've made no changes to my system lately, the machine's been untouched for about 90 days now. It just "works."

Here's what happens. I can talk to all my machines but one from the linux box (via ping), but ALL my machines, including the one I can't talk to, access the internet just fine through the linux box. The machine in question (from the logs pasted below) is 10.10.10.3. The machine I can't talk to gets "Destination Host Unreachable" from the gateway/linux box (10.10.10.1). This also prevents me from forwarding any ports to the 10.10.10.3 machine for the FTP server, bittorrent, remote desktop protocol.

Despite this, the host 10.10.10.3 access the internet just fine through the linux machine.

I've tried shutting the interfaces up and down, the routing table looks okay (it's listed below too), I've been at it for about 2 days on and off now and have had no resolution. Any help would be appreiciated greatly.

pings --
Code:
dave@atlantis:~$ ping 10.10.10.2
PING 10.10.10.2 (10.10.10.2) 56(84) bytes of data.
64 bytes from 10.10.10.2: icmp_seq=1 ttl=128 time=0.559 ms
64 bytes from 10.10.10.2: icmp_seq=2 ttl=128 time=0.399 ms
64 bytes from 10.10.10.2: icmp_seq=3 ttl=128 time=0.377 ms

--- 10.10.10.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.377/0.445/0.559/0.081 ms
dave@atlantis:~$ ping 10.10.10.3
PING 10.10.10.3 (10.10.10.3) 56(84) bytes of data.
From 10.10.10.1 icmp_seq=1 Destination Host Unreachable
From 10.10.10.1 icmp_seq=2 Destination Host Unreachable
From 10.10.10.1 icmp_seq=3 Destination Host Unreachable

--- 10.10.10.3 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3000ms, pipe 3

dave@atlantis:~$ ping 10.10.10.100
PING 10.10.10.100 (10.10.10.100) 56(84) bytes of data.
64 bytes from 10.10.10.100: icmp_seq=1 ttl=64 time=0.914 ms
64 bytes from 10.10.10.100: icmp_seq=2 ttl=64 time=0.496 ms
64 bytes from 10.10.10.100: icmp_seq=3 ttl=64 time=0.492 ms

--- 10.10.10.100 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2010ms
rtt min/avg/max/mdev = 0.492/0.634/0.914/0.197 ms
Here's my ifconfig if it'll help:
Code:
dave@atlantis:~$ /sbin/ifconfig
eth0      Link encap:Ethernet  
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:64865428 errors:0 dropped:0 overruns:0 frame:394
          TX packets:55711385 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2948928814 (2812.3 Mb)  TX bytes:3358698334 (3203.1 Mb)
          Interrupt:11 Base address:0x7000

eth1      Link encap:Ethernet  
          inet addr:10.10.10.1  Bcast:10.10.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:52178598 errors:1 dropped:0 overruns:0 frame:1
          TX packets:61210420 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2570744344 (2451.6 Mb)  TX bytes:2145973666 (2046.5 Mb)
          Interrupt:10 Base address:0x2080

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:659 errors:0 dropped:0 overruns:0 frame:0
          TX packets:659 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:50777 (49.5 Kb)  TX bytes:50777 (49.5 Kb)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:XXX.XX.XXX.XXX  P-t-P:XXX.XXX.XXX.X  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:1825222 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1781245 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:1061050814 (1011.8 Mb)  TX bytes:717655623 (684.4 Mb)
Here's the routing table:
Code:
dave@atlantis:~$ /sbin/route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
abc.myisp.com   *               255.255.255.255 UH    0      0        0 ppp0
10.10.10.0      *               255.255.255.0   U     0      0        0 eth1
loopback        *               255.0.0.0       U     0      0        0 lo
default         abc.myisp.com   0.0.0.0         UG    0      0        0 ppp0

Last edited by turbosupra; 04-28-2006 at 10:15 AM.
 
Old 04-28-2006, 10:17 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964
well these machines are all local, so there is no routing going on, and no issue about your ethernet interfaces as you can reach the other machines. sounds to me like you simply have a firewall running on that particular device. when you ping it and it fails, check the arp cache on your client to see if it has been able to resolve that machine's mac address to the ip. "arp -n" i think... if it has a valid entry then there has to just be something on that machine dropping icmp packets.
 
Old 04-28-2006, 10:29 AM   #3
turbosupra
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Original Poster
Rep: Reputation: 0
I didn't think routing was an issue, because the proper 10.10.10.0 route is there and if that was boned, it would affect ALL the LAN machines.

There's no firewall running on the 10.10.10.3 machine. Windows Firewall is disabled and Norton's overly protective assault-any-packet-that-arrives Internet Security package was promptly disabled when I installed the anti-virus component.

Also, it's not just ping that doesn't work. It's everything. There's an FTP server running on that machine, and ftp claims "no route to host."
Code:
dave@atlantis:~$ ftp 10.10.10.3
ftp: connect: No route to host
ftp>
Also, correct me if I am wrong. Wouldn't I just get a time out or refusal on the connection if it was a firewall issue? Not a "no route to host" or "destination host unreachable" error message? That's just my humble understanding of it. The target machine isn't actively refusing or timing out any requests, the linux machine just exclaims there's no route to it.
 
Old 04-28-2006, 10:36 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964
if the machine is rejecting packets then you would get a refusal, but if it is dropping packets instead then the machine may as well not exist at IP level. so this still certainly could be a firewall issue, but then if you are saying that it definitely is not, then we'll have to work with that assumption.

so you have all these other machines, can they talk to each other? can any other machine ping this invisible one?
 
Old 04-28-2006, 06:03 PM   #5
turbosupra
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Alright, the verdict is in, I'm a complete idiot. Apparently, at some point in the last few days, unknowing to me, this machine went from a static IP to a dynamic one. *sighs* Well, at least it was something simple. I discovered it when I tried to ping it by machine name from the other windows box and it came up with 10.10.10.246 (part of my dhcp pool).

Well, sorry I wasted everyone's time. I need to go do something to redeem myself. Thanks guys.
 
Old 04-29-2006, 02:55 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964
heh, no problem, keeps me ticking over.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Ping error "Destination Host Unreachable" from the gateway cristi_ro Linux - Networking 4 10-30-2006 04:32 PM
"network is unreachable" but I can ping local machines MrGaiters Linux - Newbie 3 03-24-2006 02:38 AM
Problem with "3Com", "3CRSHPW_96 Wireless LAN PC Card " Adil_uk Linux - Wireless Networking 0 12-18-2005 05:45 PM
MA-311 on eth0 inaccessible via Linux, "Network Unreachable" error, no localhost ping LGMike Linux - Networking 14 09-21-2003 11:11 PM
tftp - "Destination Unreachable" due to "Port Unreachable" renjithgopal Linux - Security 5 07-24-2003 10:36 AM


All times are GMT -5. The time now is 01:17 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration