From owner-freebsd-questions@FreeBSD.ORG Thu Oct 23 06:07:00 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A40AA33B for ; Thu, 23 Oct 2014 06:07:00 +0000 (UTC) Received: from mail-ob0-x231.google.com (mail-ob0-x231.google.com [IPv6:2607:f8b0:4003:c01::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6D134DB2 for ; Thu, 23 Oct 2014 06:07:00 +0000 (UTC) Received: by mail-ob0-f177.google.com with SMTP id uy5so237893obc.36 for ; Wed, 22 Oct 2014 23:06:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=vI4keLPShQ953wvwybezklonwASLSySD2T9qKg7WPP8=; b=p/jCPDDhx0TihnpW0KRhs15yBSnSDok7H/LoTyCi2Wi4V272dlNEcODldgdcN+Y+LF lXbB/AC+4BM9TaQ/reNa1AGfI9jT1fzH/prWiuLmcrIyBxMlZszmuwKsWpvtLos36wlP c8lYIbXu77k5QEUdfNgmcsQBSsrQ0oY9u+7A5dEc4JvjHK5tq69vYGUZhi6+R3fXat5v V21XDJ8syhukC8kf2oNGfaFEotWI852211g3qvWhD1dMZceLERXhYHFPvTfJ7QcFYQoE uYPb714bhljvPTTzN5wx8tW14Znx8nmFhBjBWEdow9qWy6A2A+Fp4PUulGb3r05o4Cbk jOZg== MIME-Version: 1.0 X-Received: by 10.60.50.73 with SMTP id a9mr2521401oeo.0.1414044419622; Wed, 22 Oct 2014 23:06:59 -0700 (PDT) Received: by 10.76.19.83 with HTTP; Wed, 22 Oct 2014 23:06:59 -0700 (PDT) In-Reply-To: References: <5447AD3F.8060304@bytecamp.net> Date: Thu, 23 Oct 2014 09:06:59 +0300 Message-ID: Subject: Re: IPv6 aliases on FreeBSD 10 From: pepe To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2014 06:07:00 -0000 And this is getting even "funnier". I removed all aliases and added them again with same command. ::1, ::2 and ::42 still working like earlier. But now also ::3, ::4 and ::10 works. But 5-9 does not.. On Thu, Oct 23, 2014 at 8:19 AM, pepe 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... > > 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 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 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 > -- pepe