[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 options


  • Subject: Re: [Openvpn-users] dhcp options
  • From: James Yonan <jim@xxxxxxxxx>
  • Date: Sat, 5 Mar 2005 22:44:49 -0700 (MST)

On Sun, 6 Mar 2005, Marc-Andre Vallee wrote:

> Hi,
> 
> I've just setup my first setup of OpenVPN 2.0_rc16 and let me first say
> : wow !!! :)
> 
> Question : is there a way to push other dhcp options than the default
> one ? I need to push dhcp option 78&79 (for slp)
> i've tried to put
> push "dhcp-option slp-directory-agent false x.x.x.x"
> push "dhcp-option slp-service-scope false default"
> 
> without success, the client complaints about invalid option..

Those dhcp options are not presently supported, however it is fairly easy
to patch the code to add new ones.  First you need to parse out the 
dhcp-option directives in options.c.  Then you need to output a properly 
formatted dhcp options string according to RFC 2132 (See the 
build_dhcp_options_string() function in tun.c).

Currently, only the dhcp options listed on the man page are supported.

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-03/msg00094.html on line 199

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-03/msg00094.html on line 199