To understand what is going on your networks, use tcpdump on both network. Do something like:
# tcpdump -i eth0 -l -n and # tcpdump -i usb0 -l -n Then send pings from your pda and follow the path of the query and response as it goes through you linux box. First ping 192.168.1.1, you should see a query and response on usb0. Next ping 192.168.0.1, you should see query/response on both usb0 and eth0. Your MDK router has done its routing job if that's the case. Now ping the outside world (google.com is my regurlar scape goat). If you see the ping query going through the linux box but no response ever from you the internet, it is probably, as mentionned before, because the internet router is not configured to NAT the packet with 192.168.1.0/24 source address. If you NAT the packet on the MDK machine, then you should be all set: # iptables -A POSTROUTING -o eth0 -j MASQUERADE -t nat Now the ping should work and you can monitor with tcpdump that the NAT takes place. Hope this helps and the assumptions I made on your network are correct, Guillaume. On Fri, 2003-06-20 at 16:56, Wolfgang Bornath wrote: > ** Wolfgang Bornath (Freitag, 20. Juni 2003 22:37) > > > Oh, wait, you wrote something about setting it up on the router. I'll > > check. > > No that was Seth, sorry. > I entered setup of static routes in my router and entered: > > Destination IP Address: 192.168.1.100 > IP Subnet Mask: 255.255.255.0 > Gateway IP Address: 192.168.0.3 > Metric: 0 > > This did not change anything. Then, remembering that the gateway for the > pda is 192.168.1.1 I set this IP into the router's static route but it > also did not change a thing. I guess that there is no forwarding from > the eth0 to the router because I cannot ping the router from the pda. > > > wobo > -- > Public GnuPG key available at http://www.wolf-b.de/misc > > > > ---- > > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
