[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
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:

Hello,

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 10.8.0.4 10.8.0.255 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 172.16.0.0 255.255.0.0 default" Then it will send it by the right address.



JonB


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