[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 Server sent a DHCPNACK message ???


  • Subject: Re: [Openvpn-users] DHCP Server sent a DHCPNACK message ???
  • From: James Yonan <jim@xxxxxxxxx>
  • Date: Sat, 4 Jun 2005 14:42:53 -0600 (MDT)

On Fri, 3 Jun 2005, Michael D Schleif wrote:

> I have setup a Windows client like this:
> 
>     <http://openvpn.net/howto.html#windows>
> 
> Yes, it works, and I do NOT have any functionality issues.
> 
> However, the System EventLog has the following message every time that
> OpenVPN starts up:
> 
>     Source: Dhcp
>     Event ID: 1002
>     Type: Error
> 
>     The IP address lease 10.255.1.1 for the Network Card with network
>     address 00FFF5F07327 has been denied by the DHCP server 10.255.1.9
>     (The DHCP Server sent a DHCPNACK message).
> 
> If this event was not RED, I may not worry; but, we pride ourselves in
> running event-less windows boxes.  Nor have I successfully googled any
> similar experiences.

There are cases where it is perfectly reasonable to send a DHCPNACK 
message -- such as when you want the client to reset its state and begin a 
new negotiation.  When OpenVPN is running in "ip-win32 dynamic" mode (the 
default on Windows), the TAP-Win32 driver will emulate a DHCP server.  You 
can use another ip-win32 mode to eliminate DHCP messages altogether.  I 
also take issue with Windows logging a DHCP NACK as an error condition.  
Suppose a DHCP server wants to give a client a new IP address, and doesn't 
want to let the old lease be renewed.  You need DHCP NACK for this, and in 
this context, it shouldn't be considered an error.

James


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


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-06/msg00076.html on line 209

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-06/msg00076.html on line 209