Mailing List Archive


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

Re: [tlug] routing question



On Sat, 26 Jun 2004 22:17:39 +0900
Stuart Bouyer <stuart_bouyer@example.com> wrote:

> > 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?
Well, I have a desktop too but that's a different machine and lets not
make things even more complicated. So the firewall is the server machine,
in the original post I attached most of the relevant info but here it is
for the firewall (my server machine)

siliconium:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
61.120.182.137  0.0.0.0         255.255.255.255 UH    0      0        0
ppp0
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.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
0.0.0.0         61.120.182.137  0.0.0.0         UG    0      0        0
ppp0

[Sorry for the linebreaks, but that's obligatory on the list otherwise I
will get flamed...]

>  Also have you added you name server
> to /home/etc/resolv.conf on the zaurus?
I know. But first it'd like to have IP access to my firewall. After I can
ping my firewall/server, then probably i'll be able to use the nameserver
too.

> You will also need to
> 192.168.129.1 as the default gateway on the Z.
That what I have.

> when I plug in usb cable
> on desktop (running gentoo linux)
> route add -host 192.168.0.201 usb0
>
> I also need to enable IP forwarding, but that is done by my firewall
> script
> echo 1 > /proc/sys/net/ipv4/ip_forward
I suppose your gentoo desktop box is directly connected to the internet.
In my case there is the laptop in between.

> That gives me access to the internet, and to vmnet when I have vmware
> running
I have vmware on the desktop, but you don't wanna see the whole diagram of
my home network... ;)

Uva, I know that plugging the Z into the server/firewall would be the
easiest, unfortunately I have put it into the farthest place and is not
really convenient.



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links