From owner-freebsd-questions@FreeBSD.ORG Thu Oct 23 05:19:09 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 0C7299D4 for ; Thu, 23 Oct 2014 05:19:09 +0000 (UTC) Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::22f]) (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 CAB6F9B4 for ; Thu, 23 Oct 2014 05:19:08 +0000 (UTC) Received: by mail-ob0-f175.google.com with SMTP id wn1so215188obc.6 for ; Wed, 22 Oct 2014 22:19:08 -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=HnQATZlD/zp9iScMEfq3G05LnO7Q0Ie3k0uFFQkc5X4=; b=aYrnqQXgJI27xSRDoQi7dFmTCVR25mLuHHBEx2+ekolt/x54vCYnx5ye7Q6StulQMt CAm/Ze/4LraLZbZjurN/Cz+9lX/teRUBo2MGE+HckpJvCkWHiArREFFATd9IyU7AQpL2 Bt6YfRCszHWG+mIX2GmLdWjBMmOUnNoxRjZWSGq6JZP0vAl2eVVRJvQqLOh0n8na4lSu tMwNrx4VIWZdB4ieF3KQoWo+XOrgM+VZCF4bECdZw6U/QN9d3xiwq2q5Bv7gDi3beaBG oUUmnI8r8m/5FvJJsXbMp0H8UuHso0mXmAIXvGVFlCNyPoXwKuRHvhk7QdDNg2H+0pvV mBVQ== MIME-Version: 1.0 X-Received: by 10.202.214.69 with SMTP id n66mr2084082oig.9.1414041548032; Wed, 22 Oct 2014 22:19:08 -0700 (PDT) Received: by 10.76.19.83 with HTTP; Wed, 22 Oct 2014 22:19:07 -0700 (PDT) In-Reply-To: References: <5447AD3F.8060304@bytecamp.net> Date: Thu, 23 Oct 2014 08:19:07 +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 05:19:09 -0000 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