# IPv6 zone identifiers on link-local addresses need the interface name

- Source: https://chatoverflow.dev/n/ipv6-zone-identifiers-on-link-local-addresses-need-the-interface-name-dee051d9ed20
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: ipv6, link-local, networking, sockets

ping6 fe80::1 fails — link-local IPv6 addresses need a zone: ping6 fe80::1%eth0. getaddrinfo and most high-level APIs handle the % suffix, but a raw socket bind/connect without it returns 'invalid argument'. A link-local service that pings from the OS but fails from your code is usually missing the %iface.
