From owner-IPv6-jp@jp.freebsd.org  Mon Oct 30 17:46:11 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id RAA46521;
	Mon, 30 Oct 2000 17:46:11 +0900 (JST)
	(envelope-from owner-IPv6-jp@jp.FreeBSD.org)
Received: from mail2.noc.ntt.co.jp (mail2.noc.ntt.co.jp [210.163.32.54])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id RAA46516
	for <IPv6-jp@jp.freebsd.org>; Mon, 30 Oct 2000 17:46:10 +0900 (JST)
	(envelope-from hiroyasu.kawashima@esc.chugoku.west.ntt.co.jp)
From: hiroyasu.kawashima@esc.chugoku.west.ntt.co.jp
Received: from mail2.noc.west.ntt.co.jp (mail2.noc.west.ntt.co.jp) by mail2.noc.ntt.co.jp (8.9.3/NOC-MAIL2) id RAA16022; Mon, 30 Oct 2000 17:46:59 +0900 (JST)
Received: from peace.chugoku.west.ntt.co.jp by mail2.noc.west.ntt.co.jp (8.9.3/3.7W)
	id RAA25316; Mon, 30 Oct 2000 17:47:03 +0900 (JST)
Received: from desc002.esc.chugoku.west.ntt.co.jp (peace [10.12.175.81])
	by peace.chugoku.west.ntt.co.jp (8.9.3+3.2W/3.7W/000804) with ESMTP id RAA18228;
	Mon, 30 Oct 2000 17:43:36 +0900 (JST)
To: users@jp.ipv6.org, IPv6-jp@jp.freebsd.org
X-Mailer: Lotus Notes Release 5.0.2c 16 February 2000
Message-ID: <OF6E113865.893675FF-ON49256988.002BEA91@esc.chugoku.west.ntt.co.jp>
Date: Mon, 30 Oct 2000 17:46:26 +0900
X-MIMETrack: Serialize by Router on DESC002/SRV/CHUGISOU(Release 5.0.2c|16 February 2000) at
 2000/10/30 05:46:26 PM
MIME-Version: 1.0
Content-type: text/plain; charset=iso-2022-jp
Reply-To: IPv6-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: IPv6-jp 922
Subject: [IPv6-jp 922] rtsol
Errors-To: owner-IPv6-jp@jp.freebsd.org
Sender: owner-IPv6-jp@jp.freebsd.org
X-Originator: hiroyasu.kawashima@esc.chugoku.west.ntt.co.jp

$B@nEg90Lw!w$_$+$+$H?=$7$^$9!#(B
$B#M#L=iEj9F$G$9!#59$7$/$*4j$$$7$^$9!#(B

#FreeBSD&IPv6$B=i?4<T$G$9$N$GE*30$l$J(B
#$B$3$H$r8@$C$F$$$?$i?=$7Lu$4$6$$$^$;$s!#(B


$B0J2<$NN,?^$K<($9$h$&$J9=@.$K$*$$$F!"(B
IPv6$B$GDL?.$r9T$*$&$H$7$F$$$^$9!#(B

  ----------          ----------
  |        |   IPv6   |        |
  | Client |----------| Router |-------$BJL$N(Bv6NW
  |        |tx0    ed0|        |tx0
  ----------          ----------
  FreeBSD4.1          FreeBSD4.1


Client,Router$B6&$K(BFreeBSD4.1R$B$G$9!#(B
Router$B$G(Brtadvd$B$rF0$+$7$F$*$$$F!"(BClient$BB&$+$i!"(B
rtsol$B$r$?$?$$$F!"(Bv6$B$N%"%I%l%9$r<hF@$7$h$&$H(B
$B$7$?$N$G$9$,!"$&$^$/<hF@$9$k$3$H$,$G$-$^$;$s!#(B
rtsol$B$r<B9T$7$F$b$J$K$b%a%C%;!<%8$OI=<($5$l$^$;$s!#(B

Client$B$G$O!"(B
$B!!(Bnet.inet6.ip6.accept_rtadv: 1
$B$H$J$C$F$$$^$9!#(B
$B@_Dj$,0c$C$F$k!"$"$k$$$OB-$j$J$$$H$$$&(B
$B$b$N$,$"$j$^$7$?$i$*65$(4j$$$^$;$s$G$7$g$&$+!#(B

$B$H$F$D$b$J$/=iJbE*$J<ALd$+$b$7$l$^$;$s$,!"(B
$B59$7$/$*4j$$$7$^$9!#(B


$B$R$H$D5?Ld$G$9$,!"(B
Router$B$G!"(B

$B!!(B#rtadvd ed0

$B$H$?$?$/$H!"(B

$B!!(B<getconfig> advertised link mtu must be between
$B!!(Bliast MTU and Physical link MTU

$B$H%a%C%;!<%8$,I=<($5$l$^$9$,!"4X78$O$J$$$N$G$7$g$&$+!#(B


$B0J2<$K!"3F%^%7%s$N@_DjFbMF$rE:IU$7$F$*$-$^$9!#(B


-----Router-------

router# cat rc.conf
# This file now contains just the overrides from /etc/defaults/rc.conf
# please make all changes to this file.

# -- sysinstall generated deltas -- #
ifconfig_tx0="inet 10.54.102.83  netmask 255.255.255.0"
hostname="router"
linux_enable="YES"
moused_enable="YES"
ipv6_enable="YES"
keymap="jp.106"
usbd_enable="YES"
# -- sysinstall generated deltas -- #
ifconfig_ed0="inet 192.168.1.1  netmask 255.255.255.0"
ipv6_enable="YES"
defaultrouter="192.168.1.1"
defaultrouter="10.54.102.83"
hostname="router"

# router
gateway_enable="YES"
router_enable="YES"
router="routed"
router_flags="-q"
mrouterd_enable="YES"
mrouterd_flags=""
forward_sourceroute="YES"
accept_sourceroute="YES"

# IPv6 router
ipv6_network_interfaces="AUTO"
ipv6_gateway_enable="YES"
ipv6_router_enable="YES"
ipv6_router="/usr/sbin/route6d"
ipv6_router_flags=""
ipv6_prefix_tx0="3ffe:501:ffff:0100"
ipv6_prefix_ed0="3ffe:501:ffff:0200"
#ipv6_default_interface="tx0"
ipv6_default_interface="ed0"
prefixcmd_enable="YES"
rtadvd_enable="YES"
rtadvd_interfaces="tx0 ed0"
mroute6d_enable="YES"
mroute6d_program="pim6dd"
mroute6d_flags=""
gif_interfaces="YES"


router# ifconfig
tx0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 10.54.102.83 netmask 0xffffff00 broadcast 10.54.102.255
        inet6 fe80::2e0:29ff:fe0c:259d%tx0 prefixlen 64 scopeid 0x1
        inet6 3ffe:501:ffff:100:2e0:29ff:fe0c:259d prefixlen 64
        inet6 3ffe:501:ffff:100:: prefixlen 64 anycast
        ether 00:e0:29:0c:25:9d
        media: autoselect (10baseT/UTP) status: active
        supported media: autoselect 100baseTX <full-duplex,hw-loopback>
100baseT
X <flag1,hw-loopback> 100baseTX <hw-loopback> 10baseT/UTP
<flag1,hw-loopback> 10
baseT/UTP <full-duplex,hw-loopback> 10baseT/UTP <hw-loopback> 100baseTX
<full-du
plex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP
ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
        inet6 fe80::240:26ff:fe80:22e8%ed0 prefixlen 64 scopeid 0x2
        inet6 3ffe:501:ffff:200:240:26ff:fe80:22e8 prefixlen 64
        inet6 3ffe:501:ffff:200:: prefixlen 64 anycast
        ether 00:40:26:80:22:e8
lp0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
gif0: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1280
        inet6 fe80::2e0:29ff:fe0c:259d%gif0 --> :: prefixlen 64 scopeid 0x7
gif1: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1280
        inet6 fe80::2e0:29ff:fe0c:259d%gif1 --> :: prefixlen 64 scopeid 0x8
gif2: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1280
        inet6 fe80::2e0:29ff:fe0c:259d%gif2 --> :: prefixlen 64 scopeid 0x9
gif3: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1280
        inet6 fe80::2e0:29ff:fe0c:259d%gif3 --> :: prefixlen 64 scopeid 0xa
faith0: flags=8041<UP,RUNNING,MULTICAST> mtu 1500
        inet6 fe80::2e0:29ff:fe0c:259d%faith0 prefixlen 64 scopeid 0xb


router#sysclt -a $B$NH4?h(B
net.inet6.ip6.forwarding: 1
net.inet6.ip6.redirect: 1
net.inet6.ip6.hlim: 64
net.inet6.ip6.maxfragpackets: 200
net.inet6.ip6.accept_rtadv: 0
net.inet6.ip6.keepfaith: 0
net.inet6.ip6.log_interval: 5
net.inet6.ip6.hdrnestlimit: 50
net.inet6.ip6.dad_count: 1
net.inet6.ip6.auto_flowlabel: 1
net.inet6.ip6.defmcasthlim: 1
net.inet6.ip6.gifhlim: 30
net.inet6.ip6.kame_version: 20000701/FreeBSD-current
net.inet6.ip6.use_deprecated: 1
net.inet6.ip6.rr_prune: 5
net.inet6.ip6.mapped_addr: 1
net.inet6.ip6.rtexpire: 3600
net.inet6.ip6.rtminexpire: 10
net.inet6.ip6.rtmaxcache: 128


-----Client---------

client# cat rc.conf
# This file now contains just the overrides from /etc/defaults/rc.conf
# please make all changes to this file.

# -- sysinstall generated deltas -- #
ifconfig_tx0="inet 192.168.1.2  netmask 255.255.255.0"
hostname="client"
linux_enable="YES"
moused_enable="YES"
ipv6_enable="YES"
gateway_enable="YES"
defaultrouter="192.168.1.1"
keymap="jp.106"
usbd_enable="YES"

ipv6_network_interfaces="AUTO"
ipv6_default_interface="tx0"


client# ifconfig
tx0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
        inet6 fe80::2e0:29ff:fe15:c9dd%tx0 prefixlen 64 scopeid 0x1
        ether 00:e0:29:15:c9:dd
        media: autoselect (10baseT/UTP) status: active
        supported media: autoselect 100baseTX <full-duplex,hw-loopback>
100baseT
X <flag1,hw-loopback> 100baseTX <hw-loopback> 10baseT/UTP
<flag1,hw-loopback> 10
baseT/UTP <full-duplex,hw-loopback> 10baseT/UTP <hw-loopback> 100baseTX
<full-du
plex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
faith0: flags=8000<MULTICAST> mtu 1500


client#sysctl -a $B$NH4?h(B
net.inet6.ip6.forwarding: 0
net.inet6.ip6.redirect: 1
net.inet6.ip6.hlim: 64
net.inet6.ip6.maxfragpackets: 200
net.inet6.ip6.accept_rtadv: 1
net.inet6.ip6.keepfaith: 0
net.inet6.ip6.log_interval: 5
net.inet6.ip6.hdrnestlimit: 50
net.inet6.ip6.dad_count: 1
net.inet6.ip6.auto_flowlabel: 1
net.inet6.ip6.defmcasthlim: 1
net.inet6.ip6.gifhlim: 30
net.inet6.ip6.kame_version: 20000701/FreeBSD-current
net.inet6.ip6.use_deprecated: 1
net.inet6.ip6.rr_prune: 5
net.inet6.ip6.mapped_addr: 1
net.inet6.ip6.rtexpire: 3600
net.inet6.ip6.rtminexpire: 10
net.inet6.ip6.rtmaxcache: 128



