Trouble with toy network
Seeking help persuading a desktop and laptop to talk to each other over a
private network (192.168.0.0).
The 'link' LEDs at both ends remain dark and no communication appears to be
taking place. Ping from either side results in 100% packet loss, and telnet
from either side results in 'No route to host'. It's just some silly
misconfiguration, I hope. More details below, all help welcome.
Nick
Desktop
-------
Mostly Slink plus upgrades to get to 2.2.14. It has two Linksys ethernet
cards. One connects to a DSL modem, the other to the laptop. The card
connected to the DSL modem works fine, the other doesn't. The result is the
same with the cards' roles swapped in /etc/network/interfaces, so I know that
both cards can work. Same with cables swapped, so both cables are OK.
netbase version is 3.18-1.
Here is ifconfig (eth0 is the 'dead' one):
eth0 Link encap:Ethernet HWaddr 00:A0:CC:69:59:D9
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:898 dropped:0 overruns:0 frame:0
TX packets:0 errors:24 dropped:0 overruns:0 carrier:48
collisions:0 txqueuelen:100
Interrupt:11 Base address:0xee00
eth1 Link encap:Ethernet HWaddr 00:A0:CC:E0:62:02
inet addr:63.197.208.240 Bcast:63.197.208.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:864 errors:28 dropped:0 overruns:0 frame:0
TX packets:821 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:10 Base address:0xea00
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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
Here is /etc/host.conf:
order hosts,bind
multi on
Here is /etc/hostname:
nickdesk
Here is /etc/resolv.conf:
search nickwillson.com
nameserver 206.13.30.12
nameserver 206.13.29.12
Here is route -n:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
63.197.208.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 63.197.208.254 0.0.0.0 UG 0 0 0 eth1
Here is traceroute -r 192.168.0.2:
traceroute to 192.168.0.2 (192.168.0.2), 30 hops max, 40 byte packets
1 nickgate.nickint.com (192.168.0.1) 2993.48 ms !H 2993.86 ms !H 2995.03
ms !H
Here is /etc/hosts:
127.0.0.1 localhost
63.197.208.240 nickdesk.nickwillson.com nickdesk
192.168.0.1 nickgate.nickint.com nickgate
192.168.0.2 nicknote.nickint.com nicknote
127.0.0.1 ad.doubleclick.com
(plus some other anti-advert entries)
Here is /etc/networks:
outside 63.197.208.0
localnet 192.168.0.0
Here is /etc/hosts.allow:
# (comments left out)
ALL: ALL
Here is /etc/hosts.deny:
# (nothing but comments)
Here is lsmod:
Module Size Used by
tulip 30560 2
Here is /proc/pci extract about the ethernet cards:
Bus 0, device 19, function 0:
Ethernet controller: LiteOn Unknown device (rev 37).
Vendor id=11ad. Device id=c115.
Medium devsel. Fast back-to-back capable. IRQ 11. Master Capable.
Latency=64. Min Gnt=8.Max Lat=56.
I/O at 0xee00 [0xee01].
Non-prefetchable 32 bit memory at 0xfebfff00 [0xfebfff00].
Bus 0, device 18, function 0:
Ethernet controller: LiteOn Unknown device (rev 37).
Vendor id=11ad. Device id=c115.
Medium devsel. Fast back-to-back capable. IRQ 10. Master Capable.
Latency=64. Min Gnt=8.Max Lat=56.
I/O at 0xea00 [0xea01].
Non-prefetchable 32 bit memory at 0xfebffe00 [0xfebffe00].
Laptop
------
Mostly Potato. It has a Linksys PMCIA dual function network/modem card. While
impersonating the desktop (same fixed IP, etc) and connected to the DSL modem,
it works fine. When connected to the desktop (and after switching scheme) it
doesn't.
netbase version is 3.18-2.
Here is ifconfig:
eth0 Link encap:Ethernet HWaddr 00:E0:98:08:EA:C2
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:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:3 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:82 errors:0 dropped:0 overruns:0 frame:0
TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
Here is /etc/host.conf:
order hosts,bind
multi on
Here is /etc/hostname:
nicknote
Here is /etc/resolv.conf:
# eth0 begin
domain nickint.com
#eth0 end
search nickint.com
Here is 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
0.0.0.0 192.168.0.1 0.0.0.0 UG 1 0 0 eth0
Here is traceroute -r 192.168.0.1:
traceroute to 192.168.0.1 (192.168.0.1), 30 hops max, 38 byte packets
1 nicknote.nickint.com (192.168.0.2) 3002.775 ms !H 3009.254 ms !H
3009.923 ms !H
Here is /etc/hosts:
127.0.0.1 localhost
192.168.0.1 nickgate.nickint.com nickgate
192.168.0.2 nicknote.nickint.com nicknote
# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Here is /etc/networks:
localnet 192.168.0.0
Here is /etc/hosts.allow:
# (comments left out)
ALL: ALL
Here is /etc/hosts.deny:
# (nothing but comments)
Here is lsmod:
Module Size Used by
nls_cp437 3744 1 (autoclean)
serial_cs 5388 0 (unused)
pcnet_cs 8448 1
8390 6072 0 [pcnet_cs]
ds 6344 2 [serial_cs pcnet_cs]
i82365 22164 2
pcmcia_core 44000 0 [serial_cs pcnet_cs ds i82365]
parport_probe 3140 0 (autoclean)
parport_pc 7172 1 (autoclean)
lp 5124 0 (autoclean) (unused)
parport 7256 1 (autoclean) [parport_probe parport_pc lp]
serial 19628 1 (autoclean) [serial_cs]
vfat 9008 0 (unused)
nfs 28320 0 (unused)
lockd 31112 1 [nfs]
sunrpc 52356 1 [nfs lockd]
autofs 9120 0 (unused)
unix 10116 25 (autoclean)
Reply to: