Hello

It doesn't work because your on a different subnet from your router.
Your PDA can only reach machines on the 192.168.1 subnet.
Instead, you could reconfigure the MDK machine to route between .0 and
.0 subnets.
So default route on the PDA should be 192.168.1.1

Kind regards

Guy


> Hi,
> 
> I have a small problem with routing.
> 
> 1. Connection to Internet via router --> 192.168.0.1
> 
> 2. MDK 9.1 with               eth0   --> 192.168.0.3
>                               usb0   --> 192.168.1.1
> 
> 3. Linux PDA with             usbf   --> 192.168.1.2
> 
> Internet connection via eth0 via router is ok
> Telnet/ftp connection from usb0 to usbf is ok
> I can ping the pda from desktop and vice versa
> 
> Internet access from pda via usbf - usb0 - eth0 - router is not working 
> (no DNS prob because when I ping an IP I get "Network not reachable". 
> In my gkrellm I see that the packets go from the pda via usbf, usb0 to 
> eth0 and out to the router. The packets come back from internet via 
> router and eth0 but don't go further to usb0 to get to usbf.
> 
> In /etc/sysctl.conf:
> --------------------
> # Controls IP packet forwarding
> net.ipv4.ip_forward = 1  # I tried '0' before, no success.
> 
> route on MDK shows:
> ---------------------
> Destination  Gateway        Genmask         Flags Metric Ref  Use Iface
> 192.168.1.0  *              255.255.255.0   U     0      0    0   usb0
> 192.168.0.0  *              255.255.255.0   U     0      0    0   eth0
> 127.0.0.0    *              255.0.0.0       U     0      0    0   lo
> default      192.168.0.1    0.0.0.0         UG    0      0    0   eth0
> 
> route on pda shows:
> -------------------
> Destination  Gateway        Genmask         Flags Metric Ref  Use Iface
> 192.168.1.0  *              255.255.255.0   U     0      0    0   usbf
> 127.0.0.0    *              255.0.0.0       U     0      0    0   lo
> default      192.168.1.1    0.0.0.0         UG    0      0    0   usbf
> 
> When I try to set 192.168.0.1 (Router) as gw for the pda I get a 
> "Network not reachable" message.
> 
> What am I missing?
> 
> 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

Reply via email to