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

Re: [Openvpn-users] DHCP

  • Subject: Re: [Openvpn-users] DHCP
  • From: Jon Bendtsen <jon.bendtsen@xxxxxxxxxx>
  • Date: Tue, 25 Jan 2005 23:00:55 +0100

Den 25. jan 2005, kl. 15:27, skrev Patrik Lybing:


I got two questions, the first one should be rather easy for you experts :P
I use Windows, and Ive so far set the IP, the subnet, and the gateway for
the tap device, manually. But if I want to use the DHCP, how do I proceed.

read the manual. You need to configure a pool of ip addresses. ifconfig-pool And you need to tell windows how it's ip is set. push "dhcp-option NBT 2"

In the configuration;  ifconfig iphere subnethere, is clear to me.

But it is the route option Im wondering about.

You tell it to route with the opposite end of the tunnel as the gateway. So, when your pool assigns you .6 then you use .5 as the gateway. push "route default" Then it will send it by the right address.


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