From owner-freebsd-net@FreeBSD.ORG Fri Mar 18 15:21:22 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B02D1065676 for ; Fri, 18 Mar 2011 15:21:22 +0000 (UTC) (envelope-from eugene@zhegan.in) Received: from elf.hq.norma.perm.ru (mail.norman-vivat.ru [89.250.210.68]) by mx1.freebsd.org (Postfix) with ESMTP id CEA288FC15 for ; Fri, 18 Mar 2011 15:21:21 +0000 (UTC) Received: from bsdrookie.norma.com. (bsdrookie.hq.norma.perm.ru [192.168.7.246]) by elf.hq.norma.perm.ru (8.14.3/8.14.3) with ESMTP id p2IEmBVg061424 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 18 Mar 2011 19:48:11 +0500 (YEKT) (envelope-from eugene@zhegan.in) Message-ID: <4D8370AB.1070000@zhegan.in> Date: Fri, 18 Mar 2011 19:48:11 +0500 From: "Eugene M. Zheganin" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.8) Gecko/20100917 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (elf.hq.norma.perm.ru [192.168.3.10]); Fri, 18 Mar 2011 19:48:11 +0500 (YEKT) X-Callback: Sender verified by milter-callback 1.5.14 at elf.hq.norma.perm.ru. X-Callback-Status: relay [192.168.7.246] found in white list. X-Callback-Envelope-From: eugene@zhegan.in X-Spam-Status: No hits=-2.9 bayes=0.0000 testhits ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on elf.hq.norma.perm.ru Subject: ipv6, stateful config and non-default prefixlen X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2011 15:21:22 -0000 Hi. I'm trying to get a working freebsd workstation with an ipv6 network where addresses are received from DHCP. ATM my IPv6 setup copies the IPv4 layout with vlans and /24 masks, so I'm using /120 prefixes. Is that even possible ? As the Handbook lacks any information about such setup, I decided to ask for help here. Currently I'm having problems with prefixes. I'm using the net/isc-dhcp41-client port (as the dhclient from the base system is unable to work with DHCPv6). I have a working rtadvd on a router, and a working DHCPv6 setup. But my client FreeBSD still gets 64 prefix length, with or without running rtsold. Since DHCPv6 doesn't advertise any routing information at all (including the prefix information), and its only function is to provide the client with an address, I assume that the prefix information has to be received from the router advertisements. I am currently looking at the wireshark dump, and it appears that my workstation is receiving such advertisements. However it doesn't affect the 64 prefix displayed in ifconfig, and all operation involving the nodes outside the actual link are simply not working. Also I want to say that other operating systems on the same link are working properly (for example they can exchange with nodes in other networks). Thanks.