Archive > 22.7 Legacy Series

Why aren't interfaces assigned IPv6 link-local addresses?

(1/3) > >>

weeßicknich:
It appears that 22.7 does not automatically assign link-local addresses to an interface once IPv6 is enabled.

Test case 1:

* IPv6 Configuration Type: Track Interface
* Set Track IPv6 Interface to valid Interface and Prefix ID.Test case 2:

* IPv6 Configuration Type: Static IPv6
* Set IPv6 address to valid non-link-local IPv6 address.
Result in both cases: the interface picks up the configured address but no link-local address is assigned.

What's going on?

weeßicknich:
On further investigation I noticed that OPNsense not only fails to assign a link-local address but sends its ICMPv6 messages from an all-zeroes address. See attached nighbor discovery message for example. The destination address is generated correctly in this case.

weeßicknich:
Test case 3:

* Manually assign an fe80::/64 IP Alias under Interfaces / Virtual IPs
* IPv6 Configuration Type: Static IPv6
* Set IPv6 address to valid non-link-local IPv6 address.
Result: neighbor solicitations for both, the link-local and the statically configured interface address are sent from an all-zeroes address.

IsaacFL:
This is unique to your setup.

Going to Interfaces: Overview will show that an ipv6 link local is applied to each interface.

weeßicknich:

--- Quote from: IsaacFL on September 19, 2022, 08:35:56 pm ---This is unique to your setup.

--- End quote ---
That's encouraging!  ;D


--- Quote from: IsaacFL on September 19, 2022, 08:35:56 pm ---Going to Interfaces: Overview will show that an ipv6 link local is applied to each interface.

--- End quote ---
It does not and neither does ifconfig.

Here is an example of an interface that has Track Interface configured, while the the uplink is down (hasn't acquired a prefix yet):


--- Code: --- % ifconfig igc1
igc1: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: USERS
        options=4802028<VLAN_MTU,JUMBO_MTU,WOL_MAGIC,NOMAP>
        ether 60:be:b4:02:38:61
        inet 10.1.2.1 netmask 0xffffff00 broadcast 10.1.2.255
        media: Ethernet autoselect
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
--- End code ---

See the attached screenshot for the Web GUI view of that interface.

Navigation

[0] Message Index

[#] Next page

Go to full version