On Fri, Nov 21, 2008 at 08:23:57AM -0500, Dan McDonald wrote:
> > How can I create a tunnel between 2 subnets with the same addresses? For
> > example 10.2.3.0/24.
> 
> So you want 10.2.3.0/24 to go over ip.tun0?  Using your example above as the
> already-plumbed tunnel, just add a route:

Upon further review, you can also have both ends be on the same subnet.

        ifconfig ip.tun0 10.2.3.1 10.2.3.2 .....

        route add 10.2.3.0/24 10.2.3.2

and switch "10.2.3.1" and "10.2.3.2" in the above example for the other side.

Dan
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to