Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] routing question




I have set up ethernet over usb for my zaurus so when I plug it into my
laptop I can ssh into the zaurus from the laptop.

The problem is that I cannot reach other machines on the network from the
zaurus. 
I can ping the usb interface on the laptop from another PC and from the
zaurus as well. Can ping the usbd interface on the zaurus from the laptop.
But cannot ping the usbd interface on the zaurus from the PC, I get
a "Destination Host Unreachable" error.

The iptables rules are all flushed just to make sure.
Here are the details attached in a file.

Any suggestions what to try next?


ZAURUS:

# ifconfig
usbd0     Link encap:Ethernet  HWaddr 40:00:01:00:00:01
          inet addr:192.168.129.201  Bcast:192.168.129.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

# arp -a
? (192.168.129.1) at E2:BC:60:09:72:10 [ether] on usbd0

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.129.1   0.0.0.0         255.255.255.255 UH    0      0        0 usbd0
0.0.0.0         192.168.129.1   0.0.0.0         UG    0      0        0 usbd0

ping 192.168.2.12 OK
ping 192.168.129.1 OK
ping 192.168.2.1 NG
 


PC:

# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:40:63:C4:CC:A8
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0 
eth0:1    Link encap:Ethernet  HWaddr 00:40:63:C4:CC:A8
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0

# arp -a
? (192.168.2.12) at 08:00:46:05:63:69 [ether] on eth0

# route -n
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.129.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0

ping 192.168.2.12 OK
ping 192.168.129.1 OK
ping 192.168.129.201 From 192.168.2.1 icmp_seq=1 Destination Host Unreachable


LAPTOP:

# ifconfig
eth0      Link encap:Ethernet  HWaddr 08:00:46:05:63:69
          inet addr:192.168.2.12  Bcast:192.168.2.255  Mask:255.255.255.0 
usb0      Link encap:Ethernet  HWaddr E2:BC:60:09:72:10
          inet addr:192.168.129.1  Bcast:192.168.129.255  Mask:255.255.255.0
# arp -a
? (192.168.1.1) at 00:40:63:C4:CC:A8 [ether] on eth0
zaurus (192.168.129.201) at 40:00:01:00:00:01 [ether] on usb0

# route -n
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.1     0.0.0.0         255.255.255.255 UH    0      0        0 eth0
192.168.129.0   0.0.0.0         255.255.255.0   U     0      0        0 usb0
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0

ping 192.168.129.1 OK
ping 192.168.2.1 OK
ping 192.168.129.201 OK

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links