Page 1 of 1

server and local lan on same subnet?

Posted: Fri Sep 02, 2011 12:22 am
by lanman33
hi all,

new to openvpn, but successfully set up a server on my win7 machine, using bridging between the tap-win32 device and the ethernet card.

current bridged setup:
local lan is 192.168.11.0 subnet
local router/gateway's ip is 192.168.11.1
new network bridge/openvpn server ip is 192.168.11.55

my clients are config'd to connect to specific ip address in the 192.168.11.70 range, and can connect to the server fine and access anything on the server side lan.

as an alternative setup that didn't use bridging, is there any reason why I shouldn't do the following?

openvpn server on 192.168.11.1 (by specifying server 192.168.1.0 in config)
set local router/gateway on 192.168.11.10
ethernet card on server machine 192.168.11.55

or have i overlooked some very important openvpn rule here? :-P

and if this would work, is there any advantage or disadvantage with this etup over a bridged setup?

thanks!

gary.

Re: server and local lan on same subnet?

Posted: Fri Sep 02, 2011 5:06 am
by Mimiko
Advantage and disadvantages between routing and bridging: http://www.openvpn.net/index.php/open-s ... uting.html