My iMac obtains no IPv6 address

After installing El Capitan on my iMac (running OS X 10.11 (Build 15A284) with Server 5.0.4 (Build 15S2259)) does not obtain an IPv6 address anymore.

This worked just fine on Yosemite, and the surrounding L2/L3 network has not changed; and other hosts on it continued to work.


On my little server, the only active interface is ethernet on en0:


$ ifconfig | grep -E '(UP)|(status)' | grep -B1 'status: active'

en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500

status: active


...which is working well, no L2 problems witnessed:


$ arp -na

? (192.168.178.12) at b8:27:eb:4a:94:35 on en0 ifscope [ethernet]

? (192.168.178.13) at ac:cf:23:23:2c:48 on en0 ifscope [ethernet]

? (192.168.178.20) at 68:5b:35:cf:ae:48 on en0 ifscope permanent [ethernet]

? (192.168.178.25) at 70:e7:2c:49:7:fa on en0 ifscope [ethernet]

? (192.168.178.91) at 64:76:ba:1d:96:14 on en0 ifscope [ethernet]

? (192.168.178.178) at a4:5e:60:c7:39:13 on en0 ifscope [ethernet]

? (192.168.178.254) at c0:25:6:5d:d4:3 on en0 ifscope [ethernet]

? (192.168.178.255) at (incomplete) on en0 ifscope [ethernet]


IPv4 is running just fine, but I don't get a proper (public) IPv6 address:


$ ifconfig en0

en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500

options=10b<RXCSUM,TXCSUM,VLAN_HWTAGGING,AV>

ether 68:5b:35:cf:ae:48

inet6 fe80::6a5b:35ff:fecf:ae48%en0 prefixlen 64 scopeid 0x4

inet 192.168.178.20 netmask 0xffffff00 broadcast 192.168.178.255

nd6 options=1<PERFORMNUD>

media: autoselect (100baseTX <full-duplex>)

status: active


And truly, the system didn't discover neighbors:


$ ndp -i en0

linkmtu=1500, curhlim=64, basereachable=30s0ms, reachable=24s, retrans=1s0ms

Flags: PERFORMNUD

$ ndp -nr

$ ndp -lna

Neighbor Linklayer Address Netif Expire(O) Expire(I) St Flgs Prbs

fe80::1%lo0 (incomplete) lo0 (none) (none) R

fe80::6a5b:35ff:fecf:ae48%en0 68:5b:35:cf:ae:48 en0 (none) (none) R

fe80::f7e0:e3e9:b70b:f26a%utun0 (incomplete) utun0 (none) (none) R


But there are router advertisements (and the other hosts get them too, and work well):


$ sudo tcpdump -nnli en0 ip6

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode

listening on en0, link-type EN10MB (Ethernet), capture size 262144 bytes

[...]

12:38:18.690843 IP6 fe80::c225:6ff:fe5d:d403 > ff02::1: ICMP6, router advertisement, length 112


So what can this be? Sysinfo below.





$ system_profiler SPEthernetDataType SPHardwareDataType SPSoftwareDataType SPWWANDataType | | sed -e '/^$/d'

Ethernet Cards:

Broadcom 57766-A1:

Name: ethernet

Type: Ethernet Controller

Bus: PCI

Vendor ID: 0x14e4

Device ID: 0x1686

Subsystem Vendor ID: 0x14e4

Subsystem ID: 0x1686

Revision ID: 0x0001

Link Width: x1

BSD name: en0

Kext name: AppleBCM5701Ethernet.kext

Firmware version: 57766a-v1.15, 0xad0d59c9

Location: /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleBCM570 1Ethernet.kext

mDNS offload capable: 68:5b:35:cf:ae:48

Version: 10.1.11

Hardware:

Hardware Overview:

Model Name: iMac

Model Identifier: iMac14,2

Processor Name: Intel Core i5

Processor Speed: 3,2 GHz

Number of Processors: 1

Total Number of Cores: 4

L2 Cache (per Core): 256 KB

L3 Cache: 6 MB

Memory: 32 GB

Boot ROM Version: IM142.0118.B11

SMC Version (system): 2.15f7

Serial Number (system): DGKMT017F8J9

Hardware UUID: CENSORED

Software:

System Software Overview:

System Version: OS X 10.11 (15A284)

Kernel Version: Darwin 15.0.0

Boot Volume: Chutzpah

Boot Mode: Normal

Computer Name: lenore

User Name: Jeroen Scheerder (js)

Secure Virtual Memory: Enabled

Time since boot: 1 day10:12

iMac, OS X Server, 10.11.0

Posted on Oct 3, 2015 3:43 AM

Reply
18 replies

Oct 3, 2015 4:07 AM in response to roenass

In addition, my system should listen to and heed the seemingly ignored ICMPv6 router advertisements whizzing by:


$ sysctl -a | grep ip6

net.inet6.ip6.forwarding: 0

net.inet6.ip6.redirect: 1

net.inet6.ip6.hlim: 64

net.inet6.ip6.maxfragpackets: 2048

net.inet6.ip6.accept_rtadv: 1

net.inet6.ip6.keepfaith: 0

net.inet6.ip6.log_interval: 5

net.inet6.ip6.hdrnestlimit: 15

net.inet6.ip6.dad_count: 1

net.inet6.ip6.auto_flowlabel: 1

net.inet6.ip6.defmcasthlim: 1

net.inet6.ip6.gifhlim: 0

net.inet6.ip6.kame_version: 2009/apple-darwin

net.inet6.ip6.use_deprecated: 1

net.inet6.ip6.rr_prune: 5

net.inet6.ip6.v6only: 0

net.inet6.ip6.rtexpire: 3600

net.inet6.ip6.rtminexpire: 10

net.inet6.ip6.rtmaxcache: 128

net.inet6.ip6.use_tempaddr: 1

net.inet6.ip6.temppltime: 86400

net.inet6.ip6.tempvltime: 604800

net.inet6.ip6.auto_linklocal: 1

net.inet6.ip6.prefer_tempaddr: 1

net.inet6.ip6.use_defaultzone: 0

net.inet6.ip6.maxfrags: 4096

net.inet6.ip6.mcast_pmtu: 0

net.inet6.ip6.neighborgcthresh: 1024

net.inet6.ip6.maxifprefixes: 16

net.inet6.ip6.maxifdefrouters: 16

net.inet6.ip6.maxdynroutes: 1024

net.inet6.ip6.fragpackets: 0

net.inet6.ip6.fw.enable: 1

net.inet6.ip6.fw.debug: 0

net.inet6.ip6.fw.verbose: 0

net.inet6.ip6.fw.verbose_limit: 0

net.inet6.ip6.scopedroute: 1

net.inet6.ip6.adj_clear_hwcksum: 0

net.inet6.ip6.input_perf: 0

net.inet6.ip6.input_perf_bins: 0

net.inet6.ip6.output_perf: 0

net.inet6.ip6.output_perf_bins: 0

net.inet6.ip6.select_srcif_debug: 0

net.inet6.ip6.select_srcaddr_debug: 0

net.inet6.ip6.select_src_expensive_secondary_if: 0

net.inet6.ip6.mcast.maxgrpsrc: 512

net.inet6.ip6.mcast.maxsocksrc: 128

net.inet6.ip6.mcast.loop: 1

net.inet6.ip6.only_allow_rfc4193_prefixes: 0

net.inet6.ip6.maxchainsent: 4

Oct 3, 2015 10:30 AM in response to roenass

All that should be necessary is there... why is this Mac (and only this Mac) ignoring this router advertisement?


0 packets dropped by kernel

$ sudo tcpdump -vvnnli en0 -XX icmp6

tcpdump: listening on en0, link-type EN10MB (Ethernet), capture size 262144 bytes

19:28:26.292362 IP6 (flowlabel 0xc5e3d, hlim 255, next-header ICMPv6 (58) payload length: 8) fe80::6a5b:35ff:fecf:ae48 > ff02::2: [icmp6 sum ok] ICMP6, router solicitation, length 8

0x0000: 3333 0000 0002 685b 35cf ae48 86dd 600c 33....h[5..H..`.

0x0010: 5e3d 0008 3aff fe80 0000 0000 0000 6a5b ^=..:.........j[

0x0020: 35ff fecf ae48 ff02 0000 0000 0000 0000 5....H..........

0x0030: 0000 0000 0002 8500 2fc4 0000 0000 ......../.....

19:28:26.297981 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 112) fe80::c225:6ff:fe5d:d403 > ff02::1: [icmp6 sum ok] ICMP6, router advertisement, length 112

hop limit 255, Flags [none], pref high, router lifetime 1800s, reachable time 0s, retrans time 0s

prefix info option (3), length 32 (4): 2001:980:397f:1::/64, Flags [onlink, auto], valid time 7002s, pref. time 3600s

0x0000: 40c0 0000 1b5a 0000 0e10 0000 0000 2001

0x0010: 0980 397f 0001 0000 0000 0000 0000

rdnss option (25), length 24 (3): lifetime 1200s, addr: fd00::c225:6ff:fe5d:d403

0x0000: 40c0 0000 04b0 fd00 0000 0000 0000 c225

0x0010: 06ff fe5d d403

mtu option (5), length 8 (1): 1492

0x0000: 0000 0000 05d4

route info option (24), length 8 (1): ::/0, pref=high, lifetime=1800s

0x0000: 0008 0000 0708

route info option (24), length 16 (2): 2001:980:397f:1::/64, pref=high, lifetime=1800s

0x0000: 4008 0000 0708 2001 0980 397f 0001

source link-address option (1), length 8 (1): c0:25:06:5d:d4:03

0x0000: c025 065d d403

0x0000: 3333 0000 0001 c025 065d d403 86dd 6000 33.....%.]....`.

0x0010: 0000 0070 3aff fe80 0000 0000 0000 c225 ...p:..........%

0x0020: 06ff fe5d d403 ff02 0000 0000 0000 0000 ...]............

0x0030: 0000 0000 0001 8600 8b8c ff08 0708 0000 ................

0x0040: 0000 0000 0000 0304 40c0 0000 1b5a 0000 ........@....Z..

0x0050: 0e10 0000 0000 2001 0980 397f 0001 0000 ..........9.....

0x0060: 0000 0000 0000 1903 40c0 0000 04b0 fd00 ........@.......

0x0070: 0000 0000 0000 c225 06ff fe5d d403 0501 .......%...]....

0x0080: 0000 0000 05d4 1801 0008 0000 0708 1802 ................

0x0090: 4008 0000 0708 2001 0980 397f 0001 0101 @.........9.....

0x00a0: c025 065d d403 .%.]..

Oct 3, 2015 10:38 AM in response to roenass

I don't think many Users here can help you. IPv6 is not in common use on local Networks in the US. It is starting to be used in the Internet backbone, but not locally. Most Users should have IPv6 set to "Link-local only" to allow Bonjour to use it for local service discovery.


IPv4 is used locally for actual data transfer, and only the ACTIVE network interfaces would obtain a valid IPv4 Address.


Perhaps I am not understanding your problem.

Oct 3, 2015 11:27 AM in response to Grant Bennet-Alder

Thanks, but I don't think this is a useful place to discuss the merits of IPv6.


I have native IPv6, and had it for many years now. It works on all my machines, except this one. Regardless of how one feels about IPv6, such brokenness has a cause, and I'd like to be able to diagnose.


So far, I've checked it up to the point that I verified that this host receives the router advertisements. Then, nothing...

Oct 3, 2015 12:07 PM in response to roenass

Regardless of whether you are using IPv4 or IPv6, the startup process is the same. Your Mac initially assigns itself a self-assigned IP Address for temporary identification, then broadcasts a request for somebody to please provide a "real" IPv6 Address.


In case you cannot talk to a Router, (such as a broken cable) you end up "stuck" with the self-assigned IP address showing. Yours does not appear to be getting that far.


Mac OS X has a built-in simple diagnostic function that can tell you what it thinks is working and what it thinks is not working. You should try that and see how far it gets.


The solution to many Network setup problems is to use the Assistant to set up again from scratch, specifying a new "Location" (not the default or Automatic") this allows you to walk away from any leftover or misconfigured items and start over based on your dialog with the Assistant.

Oct 3, 2015 1:52 PM in response to Grant Bennet-Alder

No, IPv6 address allocation is not like IPv4. IPv6 (in my case) uses SLAAC, IPv4 uses DHCPv4. Very different.

And IPv4 is working just fine. Same interface.


Anyway, the layer 2 connection is just fine. And my Mac is getting the router advertisements containing:


prefix info option (3), length 32 (4): 2001:980:397f:1::/64, Flags [onlink, auto], valid time 7002s, pref. time 3600s

route info option (24), length 16 (2): 2001:980:397f:1::/64, pref=high, lifetime=1800s


Reconfiguring the interface results in the same config.

Oct 6, 2015 8:43 AM in response to roenass

I had the same problem, it was driving me nuts.


In the end how I fixed the problem was by using the access setting page in the server app, and changing default network access to all networks.


I then had to use the system firewall to stealtn all unused ports.


any setting other than all networks on default network access seems to disable ipv6

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

My iMac obtains no IPv6 address

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.