server and local lan on same subnet?

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
lanman33
OpenVpn Newbie
Posts: 1
Joined: Fri Sep 02, 2011 12:06 am

server and local lan on same subnet?

Post by lanman33 » Fri Sep 02, 2011 12:22 am

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.

User avatar
Mimiko
Forum Team
Posts: 1564
Joined: Wed Sep 22, 2010 3:18 am

Re: server and local lan on same subnet?

Post by Mimiko » Fri Sep 02, 2011 5:06 am

Advantage and disadvantages between routing and bridging: http://www.openvpn.net/index.php/open-s ... uting.html

Post Reply