Re: absurdly simple LAN problem
On 15 Sep 2005, Thomas Adam wrote:
>
> --- Anthony Campbell <ac@acampbell.org.uk> wrote:
>
> > I've struggled with this one for months! Much perusing of HOWTOs and
> > googling hasn't helped.
>
> I'm not surprised, as it's quite a specific issue, and doesn't really
> illustrate any one possible point of failure.
>
> > I have two computers, desktop and laptop, and a wireless router and
> > ADSL
> > modem. Both machines reach the internet without problems, one via a
> > cable link to the modem, the other via a wireless link to the
> > router.
>
> OK, so that at least proves that you have a default gateway setup OK.
>
> > However, they do not communicate with each other. I cannot ping from
> > one
> > to the other though I can ping localhost on each. Turning off the
> > firewall (shorewall) does not help.
>
> Then you should use the command:
>
> traceroute <IP>
>
> To at least see where the point of failure is likely to be.
> Furthermore, when asking questions like this, it is often handy to
> include the output (or at least a link to it) of the:
>
I already tried traceroute but it doesn't give any information (just a
series of asterisks).
Other results:
For desktop:
ac:~:$ 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 0 0 0 eth0
ifconfig -a:
eth0 Link encap:Ethernet HWaddr 00:0B:2B:02:32:FB
inet addr:192.168.0.20 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:80839 errors:0 dropped:0 overruns:0 frame:0
TX packets:78184 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:18500180 (17.6 MiB) TX bytes:6337927 (6.0 MiB)
Interrupt:11 Base address:0xe000
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:1216 errors:0 dropped:0 overruns:0 frame:0
TX packets:1216 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:90947 (88.8 KiB) TX bytes:90947 (88.8 KiB)
For laptop:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth1
ac:/usr/share/doc/shorewall:$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:06:1B:DE:4B:CF
BROADCAST 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:11
eth1 Link encap:Ethernet HWaddr 00:40:96:44:B5:A6
inet addr:192.168.0.22 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::240:96ff:fe44:b5a6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:490 errors:11307 dropped:0 overruns:0 frame:11307
TX packets:309 errors:0 dropped:0 overruns:0 carrier:0
collisions:52 txqueuelen:1000
RX bytes:107110 (104.5 KiB) TX bytes:18357 (17.9 KiB)
Interrupt:3 Base address:0x100
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:32 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2496 (2.4 KiB) TX bytes:2496 (2.4 KiB)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 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)
wifi0 Link encap:UNSPEC HWaddr 00-40-96-44-B5-A6-00-00-00-00-00-00-00-00-00-00
BROADCAST MULTICAST MTU:2312 Metric:1
RX packets:490 errors:11307 dropped:0 overruns:0 frame:11307
TX packets:309 errors:0 dropped:0 overruns:0 carrier:0
collisions:52 txqueuelen:100
RX bytes:107110 (104.5 KiB) TX bytes:18357 (17.9 KiB)
Interrupt:3 Base address:0x100
--
ac@acampbell.org.uk || http://www.acampbell.org.uk for
using Linux GNU/Debian || blog, book reviews, electronic
Microsoft-free zone || books and skeptical articles
Reply to: