No route to host problems

No route to host problems

Post by David Michael Kuste » Wed, 14 Jun 2000 04:00:00



I have two linux RedHat 6.1 machines on a Ethernet 10baseT
network.  Whenever I try to communicate between the two computers,
I get a 'no route to host' problem.

The first computer is bandura.  It has a PCI 3COM Ethernlink III
card and a modular kernel with the 3c509 module loaded through the
conf.modules file.  

The second computer is aquarius.  It has an ISA 3COM Etherlink III
card and a monolithic kernel with builtin support for 3c509.  I
pass boot parameters to the kernel to recognize the card.

Both machines bring up the interface during bootup with out any
apparent problems and no error messages in any logs I can find.

The two computers are linked through a hub.  When aquarius tries
to reach bandura, both aquarius's and bandura's lights blink.
When bandura tries to reach aquarius, only bandura's lights blink.

I have no DNS server, so everthing goes through the /etc/hosts
file.  IP's are static in the 192.168.0.0 network.

When I first started with RedHat, I used the networking utilities
that came with RedHat that are supposed to make life easier.  
Eventually, I read the HOWTO's and started doing things by hand.

Below are various files and outputs from commands from each
computer.  There are no error messages in /var/log.

Hopefully someone can help me....  Thanks in advance.

------------------------------------------
Aquarius
------------------------------------------

aquarius's `dmesg | grep 'eth'`:

eth0: 3c509 at 0x300 tag1, 10baseT port, address  00 a0 24 9d e8 eb, IRQ
10.
eth0: Setting Rx mode to 1 addresses.

aquaruis's /etc/host.conf file:

order hosts,bind
multi on
nospoof on

aquarius's /etc/hosts file:

127.0.0.1       localhost loopback
192.168.0.1     aquarius        aquarius.localnet
192.168.0.2     bandura bandura.localnet

aquarius's /etc/sysconfig/network file:

NETWORKING=yes
FORWARD_IPV4=false
HOSTNAME="aquarius"
GATEWAY=
NISDOMAIN="localnet"

aquarius's /etc/sysconfig/network-scripts/ifcfg-eth0 file:

DEVICE=eth0
IPADDR=192.168.0.1
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
BOOTPROTO=none
USERCTL=no

aquarius's `ifconfig -a`:

dummy     Link encap:Ethernet  HWaddr 00:00:00:00:00:00
          BROADCAST NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

eth0      Link encap:Ethernet  HWaddr 00:A0:24:9D:E8:EB  
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:10 Base address:0x300

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK

aquarius's /proc/interrupts file:

           CPU0      
  0:   10840842          XT-PIC  timer
  1:       1455          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  6:        122          XT-PIC  floppy
 10:          0          XT-PIC  eth0
 12:       1387          XT-PIC  PS/2 Mouse
 13:          0          XT-PIC  fpu
 14:     624159          XT-PIC  ide0
 15:          5          XT-PIC  ide1
NMI:          0

aquarius's /proc/ioports file:

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0300-030f : 3c509
0376-0376 : ide1
03c0-03df : vga+
03f0-03f5 : floppy
03f6-03f6 : ide0
03f7-03f7 : floppy DIR
03f8-03ff : serial(auto)
f000-f007 : ide0
f008-f00f : ide1

aquarius's kernel entry in /etc/lilo.conf:

image=/boot/vmlinuz-2.2.14-ow2
       label=linux
       read-only
       root=/dev/hda12
       append="ether=0,0,eth0"

aquarius's `netstat -r`:

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
192.168.0.1     *               255.255.255.255 UH        0 8192       0
eth0
localnet        *               255.255.255.0   U         0 0          0
eth0
loopnet         *               255.0.0.0       U         0 8192       0
lo

aquarius's /etc/networks file:

loopnet 127.0.0.0
localnet 192.168.0.0

aquarius's `route`:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.0.1     *               255.255.255.255 UH    0      0        0
eth0
localnet        *               255.255.255.0   U     0      0        0
eth0
loopnet         *               255.0.0.0       U     0      0        0
lo

aquarius's tcpdump results for telnet'ing to bandura:

21:02:32.661125 eth0 > arp who-has bandura tell aquarius
(0:a0:24:9d:e8:eb)
21:02:33.652052 eth0 > arp who-has bandura tell aquarius
(0:a0:24:9d:e8:eb)
21:02:34.652044 eth0 > arp who-has bandura tell aquarius
(0:a0:24:9d:e8:eb)
21:02:35.652122   lo > aquarius > aquarius: icmp: host bandura
unreachable [tos 0xc0]
21:02:35.652196 eth0 > arp who-has bandura tell aquarius
(0:a0:24:9d:e8:eb)
21:02:35.652122   lo < aquarius > aquarius: icmp: host bandura
unreachable [tos 0xc0]
21:02:36.652052 eth0 > arp who-has bandura tell aquarius
(0:a0:24:9d:e8:eb)
21:02:37.652040 eth0 > arp who-has bandura tell aquarius
(0:a0:24:9d:e8:eb)
21:02:38.652067   lo > aquarius > aquarius: icmp: host bandura
unreachable [tos 0xc0]
21:02:38.652067   lo > aquarius > aquarius: icmp: host bandura
unreachable [tos 0xc0]

--------------------------------------------------
And now bandura...
--------------------------------------------------

bandura's /etc/conf.modules file:

alias parport_lowlevel parport_pc
alias eth0 3c509

bandura's `dmesg | grep 'eth'`:

eth0: 3c509 at 0x300 tag 1, 10baseT port, address  00 20 af 25 2f bd,
IRQ 10.
eth0: Setting Rx mode to 1 addresses.

bandura's /etc/host.conf file:

order hosts,bind
multi on
nospoof on

bandura's /etc/hosts file:

127.0.0.1       bandura bandura.localnet        localhost loopback
192.168.0.2     bandura bandura.localnet
192.168.0.1     aquarius        aquarius.localnet

bandura's /etc/sysconfig/network file:

NETWORKING=yes
FORWARD_IPV4=no
HOSTNAME=bandura
GATEWAY=
NISDOMAIN="localnet"
GATEWAYDEV=

bandura's /etc/sysconfig/network-scripts/ifcfg-eth0 file:

DEVICE=eth0
IPADDR=192.168.0.2
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
BOOTPROTO=none
USERCTL=no

bandura's `ifconfig -a`:

eth0      Link encap:Ethernet  HWaddr 00:20:AF:25:2F:BD  
          inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:10 Base address:0x300

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:466 errors:0 dropped:0 overruns:0 frame:0
          TX packets:466 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

bandura's /proc/interrupts file:

           CPU0      
  0:   10190788          XT-PIC  timer
  1:       1965          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  4:      21274          XT-PIC  serial
  8:          1          XT-PIC  rtc
 10:          0          XT-PIC  eth0
 13:          1          XT-PIC  fpu
 14:     249703          XT-PIC  ide0
 15:     282583          XT-PIC  ide1
NMI:          0

bandura's /proc/ioports file:

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial(auto)
0300-030f : 3c509
0376-0376 : ide1
0378-037a : parport0
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
f000-f007 : ide0
f008-f00f : ide1

bandura's `netstat -r`:

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
192.168.0.2     *               255.255.255.255 UH        0 0          0
eth0
localnet        *               255.255.255.0   U         0 0          0
eth0
loopnet         *               255.0.0.0       U         0 0          0
lo

bandura's /etc/networks file:

loopnet 127.0.0.0
localnet 192.168.0.0

bandura's `route`:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.0.2     *               255.255.255.255 UH    0      0        0
eth0
localnet        *               255.255.255.0   U     0      0        0
eth0
loopnet         *               255.0.0.0       U     0      0        0
lo

bandura's tcpdump results for telnet'ing to aquarius:

21:34:51.061976 eth0 > arp who-has aquarius tell bandura
(0:20:af:25:2f:bd)
21:34:52.061976 eth0 > arp who-has aquarius tell bandura
(0:20:af:25:2f:bd)
21:34:53.061976 eth0 > arp who-has aquarius tell bandura
(0:20:af:25:2f:bd)
21:34:54.061976   lo > bandura > bandura: icmp: host aquarius
unreachable [tos 0xc0]
21:34:54.061976 eth0 > arp who-has aquarius tell bandura
(0:20:af:25:2f:bd)
21:34:54.061976   lo < bandura > bandura: icmp: host aquarius
unreachable [tos 0xc0]
21:34:55.061976 eth0 > arp who-has aquarius tell bandura
(0:20:af:25:2f:bd)
21:34:56.061976 eth0 > arp who-has aquarius tell bandura
(0:20:af:25:2f:bd)

--
Dave Kusters                                       dkust...@calpoly.edu
Software Developer             CAD Research Center, San Luis Obispo, CA

Practice kind acts of randomness and beautiful acts of senility.

 
 
 

No route to host problems

Post by Thomas Homme » Thu, 15 Jun 2000 04:00:00


Hi
Your configuration looks fine, interfaces and routes are set up
correctly. Id suggest changing the ethernet cables, maybe one of them
is broken (got no other idea yet)

Good luck
Tom


> I have two linux RedHat 6.1 machines on a Ethernet 10baseT
> network.  Whenever I try to communicate between the two computers,
> I get a 'no route to host' problem.

<--snip-->
> --

> Software Developer             CAD Research Center, San Luis Obispo, CA

> Practice kind acts of randomness and beautiful acts of senility.

--
-------------------------
Thomas Hommel
Beam Enterprise GmbH
-------------------------
Remove NO SPAM from my address to reply to me.

 
 
 

No route to host problems

Post by David Michael Kuste » Fri, 16 Jun 2000 04:00:00


Well, last night I created a cross over cable and connected the two
ethernet cards together.  This still did not work, no route to
host.  I opened up both computers to verify the cards are what I
think they are.  Aquarius has an Etherlink III 3c509B and
Bandura has an Etherlink III 3c509TP.  Looking through the ethernet
howto, I don't see mention of the 3c509TP.  Could this be a
problem?  

If not, then I am beginning to believe that my network cards are
damaged.  Would a damaged network card still send a signal to the
hub which would cause the lights to blink?

Thanks,

Dave


> Hi
> Your configuration looks fine, interfaces and routes are set up
> correctly. Id suggest changing the ethernet cables, maybe one of them
> is broken (got no other idea yet)

> > I have two linux RedHat 6.1 machines on a Ethernet 10baseT
> > network.  Whenever I try to communicate between the two computers,
> > I get a 'no route to host' problem.