LAN with no hosts :(



Evening all... clueless newbie seeks help...
I have 2 linux boxes I wish to connect as a LAN: the 'ping' output from
either box produces 'dest. host unreachable'. I am missing something
fundamental but don't know what. It seems to me that packets are being
TX'd and RX'd but the respective hosts don't recognise them (hardware
seems ok). After 3 weeks grief, RTFM (several) and lurking here I'm still
none the wiser. Perhaps less so. Apologies for the verbose post, but I
hoped to avoid having to re-post with details.

Box A
opaline: Slackware 8.0 / 2.4.19

/etc/hosts:
127.0.0.1 localhost
192.168.0.2 opaline.nonesuch.net opaline
192.168.0.3 vulcan.nonesuch.net vulcan

/etc/networks:
loopback 127.0.0.0
nonesuch.net 192.168.0.0

/sbin/route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
nonesuch.net * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo

/sbin/route -n:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
nonesuch.net * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo

/sbin/route -n:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

/sbin/ifconfig (pre-ping):
eth0 Link encap:Ethernet HWaddr 00:00:C0:69:81:64
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:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:3 Base address:0x250 Memory:cc000-d0000

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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

bash-2.05$ ping -v vulcan
PING vulcan.nonesuch.net (192.168.0.3): 56 octets data
92 octets from opaline.nonesuch.net (192.168.0.2): Destination Host
Unreachable
Vr HL TOS Len ID Flg off TTL Pro cks Src Dst Data
4 5 00 5400 0000 0 0040 40 01 53b9 192.168.0.2 192.168.0.3

--- vulcan.nonesuch.net ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss

/sbin/ifconfig (after 'ping vulcan'):
eth0 Link encap:Ethernet HWaddr 00:00:C0:69:81:64
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:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:360 (360.0 b)

Interrupt:3 Base address:0x250 Memory:cc000-d0000

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:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0

/sbin/ifconfig (post-ping from vulcan):
eth0 Link encap:Ethernet HWaddr 00:00:C0:69:81:64
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:6 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:360 (360.0 b)
Interrupt:3 Base address:0x250 Memory:cc000-d0000

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:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:448 (448.0 b) TX bytes:448 (448.0 b)


Box B
vulcan: Slackware 10.2 / 2.4.32

/etc/hosts:
127.0.0.1 localhost
192.168.0.2 opaline.nonesuch.net opaline
192.168.0.3 vulcan.nonesuch.net vulcan

/etc/networks:
loopback 127.0.0.0
nonesuch.net 192.168.0.0

/sbin/route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
nonesuch.net * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo

/sbin/route -n:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

/sbin/ifconfig (pre-ping):
eth0 Link encap:Ethernet HWaddr 00:15:F2:C3:BB:0E
inet addr:192.168.0.3 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:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:23 Base address:0xa000

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:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)

/sbin/ifconfig (post-ping from opaline):
eth0 Link encap:Ethernet HWaddr 00:15:F2:C3:BB:0E
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:180 (180.0 b) TX bytes:0 (0.0 b)
Interrupt:23 Base address:0xa000

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:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)

ping opaline:
PING opaline.nonesuch.net (192.168.0.2) 56(84) bytes of data.
From vulcan.nonesuch.net (192.168.0.3) icmp_seq=1 Destination Host
Unreachable

--- opaline.nonesuch.net ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time
2999ms

/sbin/ifconfig (after 'ping opaline'):
eth0 Link encap:Ethernet HWaddr 00:15:F2:C3:BB:0E
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:180 (180.0 b) TX bytes:252 (252.0 b)
Interrupt:23 Base address:0xa000

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:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:548 (548.0 b) TX bytes:548 (548.0 b)

I would be very grateful if anyone could tell me where I'm going wrong.

--
Will 18
GNU horizons with Linux
.



Relevant Pages

  • cannot connect to internet
    ... but it seems that my connection just wont work- it just connecting..... ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ... NetXtreme BCM5764M Gigabit Ethernet PCIe ... and the ping ...
    (Ubuntu)
  • Re: PoPTop, Samba, IPTables
    ... and no one machine can ping to me. ... Here it is from WinXP: ... inet addr:192.168.0.240 Bcast:192.168.0.255 ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ...
    (comp.os.linux.networking)
  • Re: Connection Problem
    ... is this a desktop or notebook computer? ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ... inet addr:127.0.0.1 Mask:255.0.0.0 ... UP LOOPBACK RUNNING MTU:16436 Metric:1 ...
    (alt.os.linux)
  • Re: SELinux kerneloops and dhclient issues
    ... application that you are using to bring up your network. ... inet addr:127.0.0.1 Mask:255.0.0.0 ... UP LOOPBACK RUNNING MTU:16436 Metric:1 ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ...
    (Fedora)
  • d-link dwl-g510 - lots of TX packet errors
    ... UP LOOPBACK RUNNING MTU:16436 Metric:1 ... inet addr:192.168.0.171 Bcast:192.168.0.255 ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ... The amount of errors increases dramaticaly when connecting with another ...
    (comp.os.linux.networking)