[Dnsmasq-discuss] DHCPv6 Prefix delegation

mudrunka at spoje.net mudrunka at spoje.net
Sat Nov 2 18:06:47 GMT 2013


Hello,

1.) i am experimenting with DHCPv6 and possibilities of implementing 
preffix delegation... And i've found that i am not even able to get 
rudimentary DHCPv6 running, i am trying to assign adress (and possibly 
dhcpv6 options) to specified DUID using following config:


port=0
log-dhcp
log-facility=/tmp/dnsmasq
dhcp-authoritative

#dhcp-host=id:00:03:00:01:00:0c:42:8d:3b:07,set:lolo,[2001:67c:2190:1a01::1/64],harvie,300
dhcp-host=id:00:03:00:01:00:0c:42:8d:3b:07,set:lolo,[2001:67c:2190:1a01::1],harvie,300


However it doesn't seem to work at all when i launch dnsmasq -d -C 
/etc/dnsmasq.conf... Client still can't find any DHCPv6 server (while 
ISC-DHCP server works well with -6 option)

Do you have any experiences with DHCPv6? Documentation is bit lousy on 
this topic and i can't even google up any config examples or mentions of 
successful applications of dnsmasq fo DHCPv6 server...


2.) Also i have wrote following string to compile custom DHCPv6 option 
payload according to RFC:
https://github.com/Harvie/Programs/blob/master/bash/dhcp-option.sh

And included the result like this:
dhcp-option-force=tag:lolo,25,00:00:00:00:00:00:01:2C:00:00:01:2C:1A:62:00:00:01:2c:00:00:01:2c:34:30:20:01:06:7c:21:90:1a:01:00:00:00:00:00:00:00:00

Is it possible to specify DHCP option with custom option id and in this 
hexadecimal format?


THX

Best regards
     Harvie



More information about the Dnsmasq-discuss mailing list