I've been testing efi http boot with dnsmasq. I've had it working for some
time with dhcpd. Initially I thought the following would work, but the
client was not receiving the proper response.
dhcp-vendorclass=set:efi-http,HTTPClient:Arch:00016
dhcp-boot=tag:efi-http,"http://172.16.3.1/boot/grub2/
On Wednesday 22 August 2018 13:19:23 Roger James wrote:
> My static ipv6 leases get delivered with a 128 bit prefix length.
>
> eth0: flags=4163 mtu 1500
>inet 192.168.10.9 netmask 255.255.255.0 broadcast 192.168.10.255
>inet6 fe80::681:fbbe:cf42:4bf prefixlen 64 scopeid 0x20
>
My static ipv6 leases get delivered with a 128 bit prefix length.
eth0: flags=4163 mtu 1500
inet 192.168.10.9 netmask 255.255.255.0 broadcast 192.168.10.255
inet6 fe80::681:fbbe:cf42:4bf prefixlen 64 scopeid 0x20
inet6 fda0:4d7f:afbb::9 prefixlen 128 scopeid 0x0
inet6
Yep, it works as expected, thanks.
Unfortunately, struct copying is still there and need to keep in mind
that pointers must be aligned or absence of protection will crash it
again in any possible future.
Btw, alignment rule was applied to DECLINE, but seems missed in
DHCPRELEASE part, put_opt6(opt6