Reply
Highlighted
New Member
Posts: 1
Registered: ‎02-02-2015
Kudos: 2

dhcpv6-server not sending out domain-search option

After configuring dhcpv6-server for doing stateless dhcpv6, the 'domain-search' option does not appear on the clients. The resulting configuration, /opt/vyatta/etc/dhcpdv6.conf, puts the dhcp6.domain-search option in the subnet6 field, like:

shared-network WLAN {
    option dhcp6.name-servers 2001:db8::1;
    subnet6 fe80::26a4:3cff:fe05:f21c/128 {
        option dhcp6.domain-search "this.never.reaches.the.clients";
        option dhcp6.name-servers 2001:db8::1;
    }
}

Changing the config (so not via configure-mode, but using vi) and putting the option in the shared-network level, 'fixes' the problem:

shared-network WLAN {
    option dhcp6.name-servers 2001:db8::1;
    option dhcp6.domain-search "this.will.reach.the.clients";
    subnet6 fe80::26a4:3cff:fe05:f21c/128 {
        option dhcp6.domain-search "this.never.reaches.the.clients";
        option dhcp6.name-servers 2001:db8::1;
    }
}

Is this a bug in dhcpd, or in the EdgeOS configuration mode?

Version info:

$ show version
Version: v1.7.0
Build ID: 4783374
Build on: 06/22/15 15:34
Copyright: 2012-2015 Ubiquiti Networks, Inc.
HW model: EdgeRouter PoE 5-Port

Thanks

Member
Posts: 265
Registered: ‎08-15-2015
Kudos: 85
Solutions: 11

Re: dhcpv6-server not sending out domain-search option

[ Edited ]

According to ISC configuration documents (located https://www.isc.org/blogs/routing-configuration-over-dhcpv6-2/) The options should reside under the subnet declaration. However, in a shared network scenario, they should reside within the shared network declaration as you have indicated. Since creating a shared network statement is a requirement of Vyatta, it appears that it is not taking the position of the options configuration into account. Since you are running v1.7.0, lets see if UBNT can comment. It appears that ISC DHCPv6 is functioning as expected, however, the configuration provided by Vyatta is incorrect. Please note that I do not think your changes will persist on a reboot, so we need a fix

Network Consultant
Member
Posts: 265
Registered: ‎08-15-2015
Kudos: 85
Solutions: 11

Re: dhcpv6-server not sending out domain-search option

@UBNT-stig

 

Care to comment on this?

Network Consultant
Regular Member
Posts: 334
Registered: ‎04-25-2014
Kudos: 284
Solutions: 13

Re: dhcpv6-server not sending out domain-search option

Any update on this?

Previous Employee
Posts: 13,551
Registered: ‎06-10-2011
Kudos: 5459
Solutions: 1656
Contributions: 2

Re: dhcpv6-server not sending out domain-search option

Yeah that does sound like a bug in the config implementation (which was from "upstream"), and we'll need to look into it. Thanks for reporting the issue!

Member
Posts: 265
Registered: ‎08-15-2015
Kudos: 85
Solutions: 11

Re: dhcpv6-server not sending out domain-search option

@UBNT-ancheng

 

Can we get this added to the known issues list with 1.7.0 so that the global forums is aware in the event this is hit by another person please

Network Consultant
New Member
Posts: 26
Registered: ‎07-10-2017
Kudos: 7
Solutions: 2

Re: dhcpv6-server not sending out domain-search option

I ran into this today, this is still present in 1.9.7+hotfix.2 Mad5

Reply