Date: Thu, 23 Oct 2014 08:19:07 +0300 From: pepe <plaine@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: IPv6 aliases on FreeBSD 10 Message-ID: <CANNwXrZ75XtVv84adpum-DU_kf=KjuJfnFpuhZucXJhqBT3K%2Bw@mail.gmail.com> In-Reply-To: <CANNwXra7nhsH4m52-SX2PqBwHLP1NoqtZmGx-MF4B8VE8HJFTQ@mail.gmail.com> References: <CANNwXrYNw3bdnXDLdEVDhfWBxn2wu1Joyd3WpobweHDjUzFfgQ@mail.gmail.com> <5447AD3F.8060304@bytecamp.net> <CANNwXra7nhsH4m52-SX2PqBwHLP1NoqtZmGx-MF4B8VE8HJFTQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANNwXrZ75XtVv84adpum-DU_kf=KjuJfnFpuhZucXJhqBT3K%2Bw>