IPv6 and using vlans

  • So, I noticed a wonky behavior after using the 2.1-RELEASE of pfSense.

    IPv6 Link Local fe80::xxxx:xxxx:xxxx:xxxx%em0_vlan200  
    Gateway IPv6 fe80::xxxx:xxxx:xxxx:xxxx

    So my IPv6 Link Locak ends with %em0_vlan200, and I don't get an IPv6 address from my provider.  Is anyone using IPv6 with a VLAN?

  • You're right - link local addresses end with the interface name they're connected via/to.  The % is the delimiter char.
    Because fe80:: is a /64 there is no way for a host to know which interface its out unless that info is stored with the IP…. think arp tables for each interface in v4-speak.

    So you can do things like this to source your ping from em0_vlan200
    ping6 fe80::xxxx:xxxx:xxxx:xxxx%em0_vlan200

    Or just this to let the host pick the best ipv6 address to source from.
    ping6 fe80::xxxx:xxxx:xxxx:xxxx

Log in to reply