Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jun 2001 14:41:46 +0900
From:      JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= <jinmei@isl.rdc.toshiba.co.jp>
To:        raviprasad20@netscape.net
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: Display of prefixes in aperticular ifnet structure.
Message-ID:  <y7vwv6faa91.wl@condor.jinmei.org>
In-Reply-To: <4EC58214.2D2DC46E.9513E96F@netscape.net>
References:  <39199B3B.03898409.9513E96F@netscape.net> <y7vpuckg5ec.wl@condor2.jinmei.org> <0BDE53AB.15B71EF0.9513E96F@netscape.net> <y7v3d9dpy8w.wl@condor2.jinmei.org> <4422252A.3BE36C03.9513E96F@netscape.net> <y7vlmmzmwl8.wl@condor2.jinmei.org> <4EC58214.2D2DC46E.9513E96F@netscape.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?y7vwv6faa91.wl>