Mailing List Archive


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

Re: [tlug] routing question



On Sat, 26 Jun 2004 21:49:21 +0900
Botond Botyanszki <tlug@example.com> wrote:

> On Sat, 26 Jun 2004 21:03:06 +0900
> uvacoder@example.com wrote:
> 
> > On Sat, Jun 26, 2004 at 08:51:50PM +0900, Botond Botyanszki wrote:
> > > 
> > > My firewall's gateway is my ISP's public address. I can't even
> > > reach the local network from the zaurus.
> > > If I try to assign any other IP as the default gateway to the
> > > usbd0 interface on the zaurus other than the IP of the usb0
> > > interface on the laptop, then I get a "network unreachable" error
> > > (for obvious reasons).
> > 
> > Then I suggest configuring your firewall to recognize the network
> > that the zaurus is on, then ensure that the gateway IP address is
> > corrected as I mentioned before. Good luck. 
> 
> I have no problem accessing this network from the firewall, but cant
> get to the zaurus at 192.168.129.201. Same in reverse.
> 
> In a diagram it's like this:
> 
>    +------------------------------------->
>    |                   <----------------------------------+
>  firewall         laptop eth0      laptop usb0        zaurus usbd0
> 192.168.1.1 <--> 192.168.2.12 <--> 192.168.129.1 <--> 192.168.129.201
> 
> Trying to assign a different gw for the zaurus other than
> 192.168.129.1 gives a "network unreachable" error.
> 
> no luck...
> 

What does route say on your desktop? Also have you added you name server
to /home/etc/resolv.conf on the zaurus? You will also need to
192.168.129.1 as the default gateway on the Z.

With my setup (I only have 1 pc runningi at the moment, but I
occasionally run vmware to test stuff)

desktop usb0 192.168.0.1
zaurus usbd0 192.168.0.201

when I plug in usb cable

on desktop (running gentoo linux)
route add -host 192.168.0.201 usb0

on Z
/sbin/route add default gw 192.168.0.1 usbd0

I also need to enable IP forwarding, but that is done by my firewall
script
echo 1 > /proc/sys/net/ipv4/ip_forward

That gives me access to the internet, and to vmnet when I have vmware
running

Hope this helps

Stu

P.S. you might also want to check out http://www.zaurususergroup.com for
an abundance of info on the Z - although there are a lot of windows
users.


-- 


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links