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

Re: [Openvpn-users] ethernet bridge on single nic


  • Subject: Re: [Openvpn-users] ethernet bridge on single nic
  • From: "Ian Archer" <ian.archer.am.i@xxxxxxxxx>
  • Date: Mon, 5 Nov 2007 08:53:33 -0500

The problem is that the server cannot distribute IPs on the subnet
that either the server or client are already on.  This means the
server must host 2 different IP addresses.  How do you give the server
a second address and allow for clients to connect to it?

On 11/2/07, Gustavo Verduzco Vazquez <gustavo.verduzco@xxxxxxxxxxx> wrote:
> As far as I know there's no problem with having a single nic on your
> PC because when you install OpenVPN it will create the Win32-TAP
> Adapter which can use any ip network you want, so if you are running
> the server on your PC, clients will connect to the TAP adapter,
> already bridged to your Local Area Connection with a native Windows
> Ethernet Bridge or using a software solution like Ethernet Bridge 2.0.
> The server will DHCP to connecting VPN clients an IP address on its IP
> network from a specified pool in server.ovpn config file.
>
> I have that setup and works fine with Ethernet Bridge 2.0
>
> Regards,
> --
> Gustavo Verduzco Vazquez
> ComXInt Consulting S.A.
>
> Quoting Ian Archer <ian.archer.am.i@xxxxxxxxx>:
>
> > I'm trying to get a bridging setup.
> >
> > The server only has a single nic, and is on the 192.168.1/24
> network.
> > The clients are within the same 192.168.1/24 (I'm doing VPN because
> > this is an open network).
> >
> >> From what I understand, the server must bridge on a subnet which
> is
> > different from the client connection path.  In other words, the
> VPN
> > should not be 192.168.1/24.
> >
> > It was suggested in a prior thread that a way around this was to
> give
> > the server a dummy interface with an address from a different
> subnet
> > and have clients connect to that in the 'remote <addr>' part of
> their
> > configuration.  I am really puzzled as to how to get clients to
> know
> > how to connect to this remote address.  In general, I hope this is
> the
> > correct way of going about an ethernet bridge solution when only
> using
> > a single NIC.
> >
> > Any pointers?
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a
> browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > _______________________________________________
> > Openvpn-users mailing list
> > Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.sourceforge.net/lists/listinfo/openvpn-users
> >
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users