How to ping6 a link local address on OSX

ipv6wifi

On linux I see all connected IPv6 addresses to my wlan adapter with

ping6 ff02::1%wlan0 | head

but how can I achieve this on OSX?

Best Answer

On OSX the wifi device has another name, usually "en1", so this works on OSX:

ping6 ff02::1%en1 | head

you find out the name with

ifconfig

and look for a device that has an IP in a line precieding "inet" with an IP that is within your network