Hi All,
I've got an old dell opnsense system with a vlan'd interface and a cable connection which needs a particular MAC for DHCP to work. So I've set up a spoofed mac address.
Its all fine for IPv4 but the IPv6 link-local address is picking up the burned in address, not the spoofed mac.
I think this is causing the IPv6 DHCP to fail (it isn't seeing the link-local it was expecting) and with my ISP I think they rely on DHCP to inject routes, so just setting things manually doesn't work.
bge0_vlan31: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80000<LINKSTATE>
ether 08:02:8e:f0:cf:2f
inet6 fe80::f24d:a2ff:fe2f:d99f%bge0_vlan31 prefixlen 64 scopeid 0x8
inet 192.168.31.1 netmask 0xffffff00 broadcast 192.168.31.255
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 31 vlanpcp: 0 parent interface: bge0
groups: vlan
Any ideas on getting the link-local address to pick up the spoofed MAC rather than the BIA?
I have a fixed IPv6 now so my memory is a little old of dhcp6c. I assume you request your ipv6 address from the ISP via DHCPv6
If so the MAC is supplied via the DUID I believe which can be set via
Interfaces: Settings
see screen shot
Thanks for that! DCHPc is all working nicely when everything is put into place.
Now I just have to work out how to set the link-local address statically while doing DHCP, work out why RA's are being ignored, and no doubt, many other things!