when using ipconfig utility, it's showing ipv6 address:
inet6 fe80::1c00:23f2:b82e:fc8c%en0 prefixlen 64 secured scopeid 0x4
But when using
networksetup -getinfo %networ service name%
it returns:
IPv6: Automatic
IPv6 IP address: none
IPv6 Router: none
Same when using ipconfig
ipconfig getv6packet en0
it returns nothing. so do I have IPv6 address or not?
Best Answer
Your system does have an IPv6 address though it's not really usable for networking beyond the local subnet.
fe80::1c00:23f2:b82e:fc8c
is afe80::/10
link-local unicast addressso what you have is a sort of a bootstrap IP address, not something that can communicate with other systems on the Internet. If IPv6 was working, typically SLAAC or DHCPv6 would give additional IP addresses (and routes would be setup) for your system to use. These would not be
fe80::/10
addresses.On a SLAAC subnet, IPv6 configuration might look something like
getv6packet
shows nothing as SLAAC is being used, and there is no DHCPv6 packet associated with that protocol.networksetup
does not appear to print anything useful when SLAAC is in use (this is on a Mac OS X 10.11 system).