From owner-freebsd-net Wed Jun 13 22:44:35 2001 Delivered-To: freebsd-net@freebsd.org Received: from shuttle.wide.toshiba.co.jp (shuttle.wide.toshiba.co.jp [202.249.10.124]) by hub.freebsd.org (Postfix) with ESMTP id 936CD37B403 for ; Wed, 13 Jun 2001 22:44:25 -0700 (PDT) (envelope-from jinmei@isl.rdc.toshiba.co.jp) Received: from localhost ([3ffe:501:100f:10c1:49b8:5b1:e9c7:765d]) by shuttle.wide.toshiba.co.jp (8.9.1+3.1W/8.9.1) with ESMTP id OAA10516; Thu, 14 Jun 2001 14:44:54 +0900 (JST) Date: Thu, 14 Jun 2001 14:41:46 +0900 Message-ID: From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= To: raviprasad20@netscape.net Cc: freebsd-net@FreeBSD.ORG Subject: Re: Display of prefixes in aperticular ifnet structure. In-Reply-To: <4EC58214.2D2DC46E.9513E96F@netscape.net> References: <39199B3B.03898409.9513E96F@netscape.net> <0BDE53AB.15B71EF0.9513E96F@netscape.net> <4422252A.3BE36C03.9513E96F@netscape.net> <4EC58214.2D2DC46E.9513E96F@netscape.net> User-Agent: Wanderlust/2.5.8 (Smooth) Emacs/21.0 Mule/5.0 (SAKAKI) Organization: Research & Development Center, Toshiba Corp., Kawasaki, Japan. MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII X-Dispatcher: imput version 980905(IM100) Lines: 42 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >>>>> On Wed, 13 Jun 2001 06:57:00 -0400, >>>>> raviprasad20@netscape.net said: > 1) My system version( output of uname -a) > FReeBSD 4.2-RELEASE FreeBSD 4.2-RELEASE #19: Sat Jun 2 23:43:40 IST 2001 > root@:/usr/src/sys/compile/PFXKERNEL i386. Unfortunately, FreeBSD 4.2 (and even 4.3) is quite buggy about the IPv6 address/prefix manipulation. If possible, please use recent versions of KAME snaps (which can be available at http://www.kame.net/), or wait for the next release of FreeBSD (probably 4.4). Otherwise, you'll see many strange behaviors or even kernel panic. > 2) Iam not presenly using the prefix command. Iam entering the prefixes in the configuration file "/etc/defaults/dc.conf" as > ipv6_prefix_wb0="fec0:0010:0000:0000 fec0:0011:0000:0000". This configuration implicitly uses the prefix command. See /etc/rc.network6. > 3) Iam using the "if_prefixhead" member of the "ifnet" structure to just get the prefixes configured for the interface. If it can be got from the in6_ifaddr structure itself then kindly help me with this. As I repeatedly said, please just forget the ifprefix link. You should just follow the link from ifnet->if_addrlist. > 4) I couldn't understand ur 4th point of > "please do not use the start up script, but do operation by hand > (for diagnose the problem)." > If this means not to use the configuration file to enter the prefixes > then sorry iam using it. So, for diagnosing the problem, please do not use the configuration script (i.e. /etc/defaults/rc.conf, etc) for now. Just boot the machine without the script, login to the machine as root, then type # ifconfig ne0 inet6 fec0:0010::1234 prefixlen 64 alias etc. JINMEI, Tatuya Communication Platform Lab. Corporate R&D Center, Toshiba Corp. jinmei@isl.rdc.toshiba.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message