From owner-freebsd-net@FreeBSD.ORG Fri Mar 18 15:27:15 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 DC8F61065673 for ; Fri, 18 Mar 2011 15:27:15 +0000 (UTC) (envelope-from ck-lists@cksoft.de) Received: from mx1.cksoft.de (mx1.cksoft.de [IPv6:2001:4068:10::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6CA138FC12 for ; Fri, 18 Mar 2011 15:27:15 +0000 (UTC) Received: from m.cksoft.de (m.cksoft.de [192.168.64.204]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.cksoft.de (Postfix) with ESMTP id 2F5722F1516; Fri, 18 Mar 2011 16:27:13 +0100 (CET) Received: from amavis.ahti.cksoft.de (amavis.ahti.cksoft.de [192.168.64.201]) by m.cksoft.de (Postfix) with ESMTP id E958DED007; Fri, 18 Mar 2011 16:27:12 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from m.cksoft.de ([192.168.64.204]) by amavis.ahti.cksoft.de (amavis.ahti.cksoft.de [192.168.64.201]) (amavisd-new, port 10024) with ESMTP id Q+bTmBotxRHF; Fri, 18 Mar 2011 16:27:10 +0100 (CET) Received: from tapio.cksoft.de (tapio.cksoft.de [192.168.64.37]) by m.cksoft.de (Postfix) with ESMTP id 93244ECF78; Fri, 18 Mar 2011 16:27:10 +0100 (CET) Received: by tapio.cksoft.de (Postfix, from userid 1000) id 8B458B8F2; Fri, 18 Mar 2011 16:27:10 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by tapio.cksoft.de (Postfix) with ESMTP id 872D6B8F1; Fri, 18 Mar 2011 16:27:10 +0100 (CET) Date: Fri, 18 Mar 2011 16:27:10 +0100 (CET) From: Christian Kratzer X-X-Sender: ck@tapio.cksoft.de To: "Eugene M. Zheganin" In-Reply-To: <4D8370AB.1070000@zhegan.in> Message-ID: References: <4D8370AB.1070000@zhegan.in> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-Spammer-Kill-Ratio: 75% MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-net@freebsd.org Subject: Re: ipv6, stateful config and non-default prefixlen X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Christian Kratzer 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:27:15 -0000 Hi, On Fri, 18 Mar 2011, Eugene M. Zheganin wrote: > 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. why not just use /64 prefixes ? You have 16 bits in your /48 to each ipv4 /24 network to an ipv6 /64 network. Don't fight the system. Greetings Christian > > 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. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > -- Christian Kratzer CK Software GmbH Email: ck@cksoft.de Wildberger Weg 24/2 Phone: +49 7032 893 997 - 0 D-71126 Gaeufelden Fax: +49 7032 893 997 - 9 HRB 245288, Amtsgericht Stuttgart Web: http://www.cksoft.de/ Geschaeftsfuehrer: Christian Kratzer