Hi

On Fri, Dec 4, 2015 at 9:01 PM, Jason Haar <jason_h...@trimble.com> wrote:

> On 05/12/15 14:05, Selva Nair wrote:
> > That would be fine too. Say the second client gets 10.200.0.3 with
> > dhcp server at 10.200.0.254 (the default). The client will send the
> > dhcp packet to .254 (or to 255.255.255.255 if its the first time), the
> > tap driver will reply to it and all will be fine. The dhcp server
> > being just some magic serviced by the local tap driver, there should
> > be no issues.
>
> ...but what about that second client? How would Windows react if the
> DHCP server on X.Y.Z.254 tells it to use X.Y.Z.254 as it's own IP address?


OpenVPN will fail with an error saying dhcp server address conflicts with
the client ip.
You can change this default behaviour using "ip-win32 dynamic 0" to move
the
dhcp server to x.y.z.0. Then 254 will be accepted.

So, by default, .254 is not available to windows clients needing dhcp
support.

As that goes against one's expectation, it may be a good idea to change
the default dhcp to .0. Assuming that there was some reason why .254 was
chosen
for the dhcp server, I'll do some tests before advocating that more
strongly, though.
For now just assume .253 (or broadcast - 2) is the limit of the pool.

Selva
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to