vtnet0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=6c00b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> ether 52:54:00:21:46:95 hwaddr 52:54:00:21:46:95 inet6 fe80::5054:ff:fe21:4695%vtnet0 prefixlen 64 scopeid 0x1 inet6 2002:xxxx:4695 prefixlen 64 autoconf inet6 2002:xxxx:8f86 prefixlen 64 autoconf temporary inet xxx.xxx.xxx.xxx netmask 0xffffff00 broadcast xxx.xxx.xxx.xxx nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL> media: Ethernet 10Gbase-T <full-duplex> status: active
vtnet1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=6c00b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> ether 52:54:00:42:42:96 hwaddr 52:54:00:42:42:96 inet xxx.xxx.xxx.xxx netmask 0xffffff00 broadcast xxx.xxx.xxx.xxx inet6 2002:xxxx:4296 prefixlen 64 inet6 fe80::1:1%vtnet1 prefixlen 64 scopeid 0x2 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet 10Gbase-T <full-duplex> status: active
vtnet2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=6c00b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> ether 52:54:00:8d:d1:37 hwaddr 52:54:00:8d:d1:37 inet xxx.xxx.xxx.xxx netmask 0xffffff00 broadcast xxx.xxx.xxx.xxx inet6 2002:xxxx:d137 prefixlen 64 inet6 fe80::1:1%vtnet2 prefixlen 64 duplicated scopeid 0x3 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet 10Gbase-T <full-duplex> status: active
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc cake state UP group default qlen 1000 link/ether 52:54:00:28:c2:19 brd ff:ff:ff:ff:ff:ff inet 192.168xxx.xxx/24 brd 192.168.xxx.255 scope global eth0 valid_lft forever preferred_lft forever inet6 2002:XXXX:c219/64 scope global dynamic noprefixroute valid_lft 6951sec preferred_lft 3351sec inet6 fe80::5054:ff:fe28:c219/64 scope link valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:00:b0:42 brd ff:ff:ff:ff:ff:ff inet 192.xxx.xxx.xxx/24 brd 192.xxx.xxx.255 scope global eth1 valid_lft forever preferred_lft forever inet6 2002:XXXX:1d3a/62 scope global dynamic noprefixroute valid_lft 7132sec preferred_lft 3532sec inet6 fd45:887:44b9:4:ab5d:91d8:dc:106b/62 scope global noprefixroute valid_lft forever preferred_lft forever inet6 fe80::5054:ff:fe00:b042/64 scope link valid_lft forever preferred_lft forever
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:76:d3:d2 brd ff:ff:ff:ff:ff:ff inet 192.xxx.xxx.xxx/24 brd 192.xxx.xxx.255 scope global eth2 valid_lft forever preferred_lft forever inet6 2002:XXXX:e75e/62 scope global dynamic noprefixroute valid_lft 7001sec preferred_lft 3401sec inet6 fd45:887:44b9::215:bc8:af91:fe16/62 scope global noprefixroute valid_lft forever preferred_lft forever inet6 fe80::5054:ff:fe76:d3d2/64 scope link valid_lft forever preferred_lft forever
config interface 'loopback' option ifname 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0'config globals 'globals' option ula_prefix 'fd45:0887:44b9::/48'config interface 'wan' option ifname 'eth0' option proto 'dhcp' option peerdns '0' option dns '84.200.69.80 84.200.70.40 194.150.168.168'config interface 'wan6' option ifname 'eth0' option proto 'dhcpv6' option reqaddress 'try' option reqprefix '60' option peerdns '0' option dns '2001:1608:10:25::1c04:b12f 2001:1608:10:25::9249:d69b'config interface 'lan' option ifname 'eth1' option proto 'static' option ipaddr '192.xxx.xxx.xxx' option netmask '255.255.255.0' option ip6assign '62' option ip6ifaceid 'random'config interface 'dmz' option proto 'static' option ifname 'eth2' option ipaddr '192.xxx.xxx.xxx' option netmask '255.255.255.0' option ip6ifaceid 'random' option ip6assign '62'
inet6 fe80::1:1%vtnet2 prefixlen 64 duplicated scopeid 0x3
For addresses with other than global scope (as described below), and in particular for link-local addresses, the choice of the network interface for sending a packet may depend on which zone the address belongs to: the same address may be valid in different zones, and be in use by a different host in each of those zones. Even if a single address is not in use in different zones, the address prefixes for addresses in those zones may still be identical, which makes the operating system unable to select an outgoing interface based on the information in the routing table (which is prefix-based).In order to resolve the ambiguity in textual addresses, a zone index must be appended to the address, the two separated by a percent sign (%).[10] The syntax of zone indices is an implementation-dependent string, although numeric zone indices must be universally supported as well. The following link-local address: fe80::1ff:fe23:4567:890acould become for instance: fe80::1ff:fe23:4567:890a%eth2or: fe80::1ff:fe23:4567:890a%3The former (using an interface name) is customary on most Unix-like operating systems (e.g., BSD, Linux, OS X). The latter (using an interface number) is the standard syntax on Microsoft Windows, but as support for this syntax is mandatory, it is also available on other operating systems.BSD-based operating systems (including OS X) also support an alternative, non-standard syntax, where a numeric zone index is encoded in the second 16-bit word of the address. E.g.: fe80:3::1ff:fe23:4567:890aIn all operating systems mentioned above, the zone index for link-local addresses actually refers to an interface, not to a zone. As multiple interfaces may belong to the same zone (e.g. when connected to the same switch), in practice two addresses with different zone-ids may actually be equivalent, and refer to the same host on the same link.Duplicate address detectionThe assignment of a unicast IPv6 address to an interface involves an internal test for the uniqueness of that address using Neighbor Solicitation and Neighbor Advertisement (ICMPv6 type 135 and 136) messages. While in the process of establishing uniqueness an address has a tentative state.The node joins the solicited-node multicast address for the tentative address (if not already done so) and sends neighbor solicitations, with the tentative address as target address and the unspecified address (::/128) as source address. The node also joins the all-hosts multicast address ff02::1, so it will be able to receive Neighbor Advertisements.If a node receives a neighbor solicitation with its own tentative address as the target address, then that address is not unique. The same is true if the node receives a neighbor advertisement with the tentative address as the source of the advertisement. Only after having successfully established that an address is unique may it be assigned and used by an interface.
igb0: flags=8a43<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=4400b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,TXCSUM_IPV6> ether 00:XX:1a hwaddr ac:XX:98 inet 192.168.XX.XX netmask 0xffffff00 broadcast 192.168.XX.255 inet6 2003:XX:a21a prefixlen 64 inet6 fe80::1:1%igb0 prefixlen 64 scopeid 0x1 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect (1000baseT <full-duplex>) status: activeigb1: flags=8a43<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=4400b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,TXCSUM_IPV6> ether 00:XX:1d hwaddr ac:XX:99 inet6 fe80::XX:a21d%igb1 prefixlen 64 scopeid 0x2 inet6 2003:XX:febe:a21d prefixlen 64 autoconf inet 192.168.XX.XX netmask 0xffffff00 broadcast 192.168.XX.255 nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL> media: Ethernet autoselect (1000baseT <full-duplex>) status: activeigb2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=4400b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,TXCSUM_IPV6> ether 00:XX:c7 hwaddr ac:XX:9a inet 192.168.XX.1 netmask 0xffffff00 broadcast 192.168.XX.255 inet6 2003:XX:4bc7 prefixlen 64 inet6 fe80::1:1%igb2 prefixlen 64 scopeid 0x3 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect (1000baseT <full-duplex>) status: activeigb3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=4400b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,TXCSUM_IPV6> ether 00:XX:c6 hwaddr ac:XX:9b inet 10.XX.XX.1 netmask 0xffffff00 broadcast 10.XX.XX.255 inet6 2003:XXXX:4bc6 prefixlen 64 inet6 fe80::1:1%igb3 prefixlen 64 scopeid 0x4 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect (1000baseT <full-duplex>) status: active
/* always configure a link-local of fe80::1:1 on the track6 interfaces */ /* $realif = get_real_interface($interface); * $linklocal = find_interface_ipv6_ll($realif); * if (!empty($linklocal)) { * mwexec("/sbin/ifconfig {$realif} inet6 {$linklocal} delete"); }*/ /* XXX: This might break for good on a carp installation using link-local as network ips */ /* XXX: Probably should remove? */ /*mwexec("/sbin/ifconfig {$realif} inet6 fe80::1:1%{$realif}");*/
vtnet2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=6c00b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> ether 52:54:00:8d:d1:37 hwaddr 52:54:00:8d:d1:37 inet 192.168.5.1 netmask 0xffffff00 broadcast 192.168.5.255 inet6 fe80::5054:ff:fe8d:d137%vtnet2 prefixlen 64 scopeid 0x3 inet6 2002:bc67:2360:d3:5054:ff:fe8d:d137 prefixlen 64 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet 10Gbase-T <full-duplex> status: active
As each IPv6-enabled router interface will already have a link-local address generated based on the modified EUI-64 scheme, the address fe80::1 will either replace or augment this automatically generated address. At the same time an existing global unicast address on the interface will not be affected.