I should note:

1. The isc-dhcp code is common between dhcpd and dhclient
2. The current system interfaces are enumerated in common/discover.c, and that 
code - in next_iface() - strips the interface alias from all enumerated 
interfaces, so when dhcpd or dhclient is comparing a parameter against an 
existing interface, none of the existing enumerated interface names will have 
aliases
3. The interface parameters are parsed separately for dhcpd and dhclient; my 
patch changes *only* the parsing for dhclient, in client/dhclient.c, so that 
any command line interface names have their alias stripped
4. Other places that parse interface name parameters are dhcpd (in 
server/dhcpd.c), interface hotplug (maybe? in server/mdb.c, not sure about this 
file), and the dhcp relay (in relay/dhcrelay.c); my patch does *not* change any 
of these places, so interface name parameters to dhcpd, the dhcp relay, or in 
mdb.c, will still have interface aliases, and will not match any of the 
internally-enumerated (in common/discover.c) interface names.  However, my 
patch narrowly fixes this specific bug, of 'dhclient -6 eth0:1' not working.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to