LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Help to configure network to transparently access the zaurus handheld. (https://www.linuxquestions.org/questions/linux-networking-3/help-to-configure-network-to-transparently-access-the-zaurus-handheld-190960/)

cmisip 06-07-2004 11:50 PM

Help to configure network to transparently access the zaurus handheld.
 
I have a network of several computers and a zaurus handheld. The zaurus is connected to one machine via a usb cradle. It is interface usb0 on that machine and its ip is 192.168.129.201. All the other machines are in 192.168.129.0/32 for wireless lan and 192.168.1.0/32 for wired lan. On the machine where the zaurus is connected, I have full access to it via usb0 tcp/ip. I have that machine as an ipmasquerade server for the zaurus so I can surf the net with the zaurus while connected via the zaurus' usb cradle. However, no other machine on the lan can access the zaurus. I need to define a route that will allow the other machines to connect to the zaurus.

I thought it was as simple as running this on the other machines:

/sbin/route add -net 192.168.129.0 netmask 255.255.255.0 gw 192.168.1.2

where 192.168.1.2 is the machine that has usb0 connected to the zaurus. I thought this would basically add the network 192.168.129.0/32 to the routing table so any packets destined to this are routed to 192.168.1.2.

192.168.129.2 has this for the routing table:

Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.129.0 * 255.255.255.0 U 0 0 0 usb0

So all packets that reach it that is intended for 192.168.129.0 should be sent to usb0.

It is not working. Any ideas? Thanks in advance.


All times are GMT -5. The time now is 01:26 AM.