ipv6 host part

Neo-Vortex root at Neo-Vortex.net
Fri Apr 29 01:32:55 PDT 2005



On Fri, 29 Apr 2005, JINMEI Tatuya / [ISO-2022-JP] =BF=C0=CC=C0=C3=A3=BA=C8=
 wrote:

> >>>>> On Fri, 29 Apr 2005 17:04:22 +1000 (EST),
> >>>>> Neo-Vortex <root at Neo-Vortex.net> said:
>
> >> - assuming the prefix is "P/64", do the followings:
> >> # ifconfig IFNAME inet6 P::1 prefixlen 64 alias autoconf
> >> # ifconfig IFNAME inet6 P::2 prefixlen 64 alias autoconf
> >> # ifconfig IFNAME inet6 P::3 prefixlen 64 alias autoconf
>
> > IIRC, the first address within the prefix should have a prefixlen of 64=
,
> > (providing the prefixlen is actually 64) but others on the same prefix
> > should have 128.
>
> I don't remember any such restriction.  What is your source (e.g.,
> RFC) of this information?

     alias   Establish an additional network address for this interface.  T=
his
             is sometimes useful when changing network numbers, and one wis=
hes
             to accept packets addressed to the old interface.  If the addr=
ess
             is on the same subnet as the first network address for this
             interface, a non-conflicting netmask must be given.  Usually
             0xffffffff is most appropriate.

That is for IPv4 taken from ifconfig(8), one would assume for IPv6 it is
the same and i use it like that without issues (although i have not tried
it the other way)


More information about the freebsd-net mailing list