On Wed, 2009-01-14 at 16:10 +0100, Darren Reed wrote: > Well, to compare the output of ifconfig on onnv: > nge0: flags=202000840<RUNNING,MULTICAST,IPv6,CoS> mtu 1500 index 2 > inet6 fe80::2e0:81ff:fe55:a156/10 > ether 0:e0:81:55:a1:56 > with BSD: > tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 > inet6 fe80::211:d800:9d:98a6%tun0 -> prefixlen 64 scopeid 0x5 > > you could be forgiven into thinking that onnv doesn't supports scopes.
The scopeid for link-local addresses is defined (by the IETF) as the interface index. That's in the existing ifconfig output. If there is ever a new scoped unicast address type defined for which the scope-id is not the interface index, then the ifconfig output (or ipadm output) could include that scope-id as well. If the now thankfully defunct IPv6 site-local address is an indicator, such an address will not be defined in the near future. -Seb
