I have a single LAN and  i needed to simulate an ipip tunnel from one
network to a different network over it, for that i needed two machines
to be configured as gateways to other networks so using IP aliasing I
set up the following topology

        Machine A         link                Machine B         link               
Machine C
==== eth0 192.168.10.10------------ =====
eth0192.168.10.11------------------ ==== eth0 192.168.31.31
==== eth0:0 192.168.20.20           ===== eth0:0 192.168.30.30


i have added the following routes in the above machines

Machine A
192.168.10.0---> eth0
192.168.20.0---> eth0:0 ( although i add it as eth0:0 . the route
command shows the entry as eth0 only .... ??)
192.168.30.0---> gw 192.168.10.11

Machine B
routes
192.168.10.0 ---> eth0
192.168.30.0 ----> eth0:0
192.168.20.0 ----> gw 192.168.10.10

now when i try to ping 192.168.20.20 or 192.168.30.30 from any machine
configured to reach these networks using machine A and machine B
respectively, it works .... but when i try to reach machine C, part of
machine B's aliased network it doesn't work ... basically machine B gets
the packet but doesn't forward it back to the link
Now, neither machine A nor B are forwarding packets for the aliased
networks on there machines, ie 192.168.20.0 and 192.168.30.0, to the
link when pinged from other machines in the network which had been
configured to reach these networks using A and B as gateways ???
and obviously due to this reason my tunnels from n/w 192.168.20.0 to
192.168.30.0 aren't working :-(
i have enabled forwarding in all the machines .so what is going wrong
here ??
is it that i really need two NIC's for a machine to act as a gateway ??

a zillion thanks for your patience, time and any answers ...
pranav
 PS ... i know the setup is very clumsy ... but this is just a part of
an academic demonstration ...

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to