Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 2008 16:43:25 -0500
From:      Steve Bertrand <steve@ibctech.ca>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: IPv6 routing help?
Message-ID:  <494AC3FD.8040402@ibctech.ca>
In-Reply-To: <giedif$bd0$1@ger.gmane.org>
References:  <giedif$bd0$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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

...but when communicating to a global unique, you do not:

#ping6 2607:f118::b6

PING6(56=40+8+8 bytes) 2607:f118::b6 --> 2607:f118::b6
16 bytes from 2607:f118::b6, icmp_seq=0 hlim=64 time=0.234 ms
^C

Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?494AC3FD.8040402>