<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: RE: Mixed Linux and Windows
From: Tony Langdon <tlangdon,AT,atctraining,DOT,com,DOT,au>
Date: Wed, 21 Nov 2001 23:59:02 +0100

> A dummy subnet? Hmmm... where does that fit in?

OK, I have a CIPE tunnel between 2 public subnets...  let's call them

1.2.3.0/24  
2.3.4.0/24  

The 1.2.3.0 network has a Win2k gateway running CIPE on machine with IP
1.2.3.4
The 2.3.4.0 network has a Linux gateway running CIPE on machine with IP
2.3.4.5

Because of the way Windows works, I can't give the CIPE tunnel an IP address
the same as the one on its Ethernet card, or even one in the same subnet, so
I simply allocate a subnet from private IP address space for the tunnel.

So on the Win2k box, the CIPE interface gets 192.168.0.1
On the Linux box, CIPE gets 192.168.0.2

On both machines, the route to 192.168.0/24 points out via the respective
CIPE interface.

On Windows, the route to 2.3.4.0 goes 

route add -p 2.3.4.0 mask 255.255.255.0 192.168.0.2

On Linux

/sbin/route add -net 1.2.3.0 netmask 255.255.255.0 gw 192.168.0.1

I use a similar arrangement and it works well.





<< | Thread Index | >> ]    [ << | Date Index | >> ]