IPv6 aliases on FreeBSD 10

pepe plaine at gmail.com
Thu Oct 23 05:19:09 UTC 2014


prefix 128 didn't work either. only first real address is working. none of
the aliases work with 48, 64 or 128...
our network is 2001:14b8:1801::/48 so that prefixlen 48 is right for ::1
address isn't it? and well, it works so
I think it is right...

And now it got even funnier. I added many aliases like this (copypaste from
ifconfig output so ipv4 addresses are there too):

        inet6 2001:14b8:1801:c001::2 prefixlen 48
        inet6 2001:14b8:1801:c001::3 prefixlen 48
        inet6 2001:14b8:1801:c001::42 prefixlen 48
        inet 62.165.159.203 netmask 0xffffffff broadcast 62.165.159.203
        inet6 2001:14b8:1801:c001::4 prefixlen 48
        inet6 2001:14b8:1801:c001::5 prefixlen 48
        inet6 2001:14b8:1801:c001::6 prefixlen 48
        inet6 2001:14b8:1801:c001::7 prefixlen 48
        inet6 2001:14b8:1801:c001::8 prefixlen 48
        inet6 2001:14b8:1801:c001::9 prefixlen 48
        inet6 2001:14b8:1801:c001::10 prefixlen 48
        inet 62.165.159.204 netmask 0xffffffff broadcast 62.165.159.204
        inet 62.165.159.205 netmask 0xffffffff broadcast 62.165.159.205
        inet6 2001:14b8:1801:c001::1 prefixlen 48
        inet 62.165.159.206 netmask 0xffffffff broadcast 62.165.159.206

::1 is "real" address and rest are aliases. All added with same command
like this:
ifconfig em0 inet6 2001:14b8:1801:c001::9/48 alias

But the funny part is. Couple of addresses do work and rest don't. ::1, ::2
and ::42 works. They can be used to connect irc and
they work fine as ping6 source. Rest behave like I said in first post.


On Wed, Oct 22, 2014 at 7:42 PM, pepe <plaine at gmail.com> wrote:

> prefix 128 didn't work either. only first real address is working. none of
> the aliases work with 48, 64 or 128...
> our network is 2001:14b8:1801::/48 so that prefixlen 48 is right for ::1
> address isn't it? and well, it works so
> I think it is right...
>
> On Wed, Oct 22, 2014 at 4:12 PM, Robert Schulze <rs at bytecamp.net> wrote:
>
>> Hi,
>>
>> Am 22.10.2014 10:22, schrieb pepe:
>>
>>> Hello
>>>
>>> I have little problem with IPv6 aliases. Not working at all. Default IPv6
>>> address works fine. When I try to connect (or ping or traceroute or
>>> anything) withn alias address it just timeouts. Ifconfig output for IPv6
>>> is:
>>>
>>> inet6 2001:14b8:1801:c001::1 prefixlen 48
>>> inet6 2001:14b8:1801:c001::42 prefixlen 64
>>> inet6 2001:14b8:1801:c001::2 prefixlen 64
>>>
>>
>> try using a prefixlen of 128 on the alias addresses.
>>
>> with kind regards,
>> Robert Schulze
>>
>
>
>
> --
> pepe
>



-- 
pepe


More information about the freebsd-questions mailing list