[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] ifconfig for multiple servers


  • Subject: Re: [Openvpn-users] ifconfig for multiple servers
  • From: Patrick Lesslie <patricklesslie@xxxxxxxxxxxx>
  • Date: Thu, 8 Apr 2004 22:36:53 +1000

On Mon, Apr 05, 2004 at 10:30:47PM +0200, Morten Christensen wrote:
> Patrick Lesslie wrote:
> 
> >I'm a little confused about multiple servers.  When I have 
> >several servers, say /etc/openvpn/server*.conf, should I use
> >the same address for each "ifconfig" line, or a different one
> >each time?  E.g. if I have "ifconfig 10.1.0.30 255.255.255.0"
> >should I use 10.1.0.31 in the next one?  I'm still using v 1.5
> >so unfortunately I can't use the groovy new v2 features yet :>
> >
> Netmask 255.255.255.0 covers all numbers from 10.1.0.0 to 10.1.0.255.
> 
> It is easyer to use a subnet for each client so next server-config will 
> be 10.1.1.30 255.255.255.0.

OK, that sounds great I'll try that.  I noticed some trouble with
having two servers on the same virtual subnet, say 10.1.0.30 and
10.1.0.31, with the clients on 10.1.0.1 and 10.1.0.2 respectively,
that while both servers were up I couldn't ping 10.1.0.30 from
the first client, but when I took down 10.1.0.31 I could.

Not very rigorous experiments to be sure, but it got me wondering
how I should really be setting these up.

Thanks, and sorry for the late reply,

Patrick Lesslie

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users