Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
IPv6 not picking up spoofed MAC for link-local address
« previous
next »
Print
Pages: [
1
]
Author
Topic: IPv6 not picking up spoofed MAC for link-local address (Read 2716 times)
PLee
Newbie
Posts: 2
Karma: 0
IPv6 not picking up spoofed MAC for link-local address
«
on:
July 21, 2019, 12:40:24 am »
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?
Logged
nivek1612
Full Member
Posts: 214
Karma: 26
Re: IPv6 not picking up spoofed MAC for link-local address
«
Reply #1 on:
July 23, 2019, 03:42:40 pm »
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
Logged
OPNsense 24.7.* on Qotom i5-5250U with AAISP FTTP 900/120
OPNsense 24.7.* on Qotom i7-4500U with Orange FR FTTP 1000/400
Team Rebellion Member
One of Marjohns TESTERS :-)
PLee
Newbie
Posts: 2
Karma: 0
Re: IPv6 not picking up spoofed MAC for link-local address
«
Reply #2 on:
August 18, 2019, 08:02:21 am »
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!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
IPv6 not picking up spoofed MAC for link-local address