IPv6 routing help?

Ivan Voras ivoras at freebsd.org
Thu Dec 18 13:55:28 PST 2008


Steve Bertrand wrote:
> Ivan Voras wrote:
> 
>> The last line correctly lists the link-local ipv6 address of the router.
>> This looks ok, except attempts to actually use ping6 on this address fail:
>>
>> # ping6 fe80::250:8bff:feeb:8401
>> connect: Invalid argument
> 
> Oh, and I've found in the past that FreeBSD requires you to add the
> interface name with a % sign after the v6 address when trying to
> communicate via link-local:
> 
> #ping6 fe80::1%lo0
> 
> PING6(56=40+8+8 bytes) fe80::1%lo0 --> fe80::1%lo0
> 16 bytes from fe80::1%lo0, icmp_seq=0 hlim=64 time=0.224 ms
> 16 bytes from fe80::1%lo0, icmp_seq=1 hlim=64 time=0.131 ms
> ^C

Thanks, it looks like Linux wants it also. Pinging
fe80::250:8bff:feeb:8401%eth0 works as expected.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20081218/29984e49/signature.pgp


More information about the freebsd-net mailing list