/usr/share/doc/HOWTO/ja-html/linux-ipv6-7.html is in doc-linux-ja-html 2006.05.25-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Linux IPv6 FAQ/HOWTO: ($BLuCm(B) RADVD Introduction</TITLE>
<LINK HREF="linux-ipv6-6.html" REL=previous>
<LINK HREF="linux-ipv6.html#toc7" REL=contents>
</HEAD>
<BODY>
$B<!$N%Z!<%8(B
<A HREF="linux-ipv6-6.html">$BA0$N%Z!<%8(B</A>
<A HREF="linux-ipv6.html#toc7">$BL\<!$X(B</A>
<HR>
<H2><A NAME="radvd"></A> <A NAME="s7">7. ($BLuCm(B) RADVD Introduction</A></H2>
<P>by Lars Fennberg <lf@elemental.net>
<P>IPv6 $B$O(B IPv4 $B$h$j$5$i$K?J$s$@<+F0@_Dj$r%5%]!<%H$7$F$$$k!#(B
$B$7$+$7$=$N$?$a$K$O!"$3$N<+F0@_Dj$O%M%C%H%o!<%/>e$N%[%9%H$GF0:n$7!"(B
$B%m!<%+%k%M%C%H%o!<%/$N%k!<%?$O%[%9%H$N<+F0@_DjMW5a$K(B
$BEz$($kF0:n$,I,MW$K$G$"$k!#(B
<P>Linux $B$G$O$3$N%W%m%0%i%`$O(B radvd (Router ADVertisement Daemon
$B!'%k!<%?DLCN%G!<%b%s(B) $B$H$h$P$l$k!#(B
$B$3$N%G!<%b%s$O%k!<%?MW@A(B(RS)$B$rJ9$-!"%k!<%?DLCN(B(RA)$B$rEz$($k!#(B
$B$J$*!"5a$a$i$l$J$$MW5a$bAw$i$l$k!#(B
<P>$B$3$l$i$N(B RA $B$K$O%[%9%H$N%$%s%?!<%U%'!<%9$N@_Dj$K;HMQ$5$l$k>pJs$r4^$s$G$$$k!#(B
$B$3$N>pJs$O!"%"%I%l%9%W%j%U%C%/%9!"%G%U%)%k%H%k!<%?$N7PO)(BMTU $B$H>pJs$,(B
$B4^$^$l$F$$$k!#(B
<P>$B$b$A$m$s!"%k!<%?<+?H$O<+F0@_Dj$G$-$J$$$?$a!"%k!<%?>pJs$O(B
$B%7%9%F%`$N4IM}?M$K$h$C$F@_Dj$5$l$J$1$l$P$J$i$J$$!#(B
$B$3$l$O!"%$%s%?!<%U%'!<%9$H7PO)$N<jF0@_Dj$H!"%k!<%?DLCN%G!<%b%s$N@_Dj$K(B
$B$h$C$F$*$3$J$o$l$k!#(B
<P>$B4JC1$J@_Dj%9%/%j%W%H$O0J2<$N$h$&$K$J$k!#(B
<P>
<BLOCKQUOTE><CODE>
<PRE>
interface eth0 {
AdvSendAdvert on;
prefix 5f15:9100:c2dd:1400:8000::0/80
{
AdvOnLink on;
AdvAutonomous on;
};
};
</PRE>
</CODE></BLOCKQUOTE>
<P>$B$3$l$O!"(Bradvd $B$,!"(Beth0 $B$G(B80$B$ND9$5$N%W%j%U%#%C%/%9(B
5f04:f900:c2dd:1400:8000::0 $B$rN.$7$F$$$k!#(B
$B%W%j%U%#%C%/%9$O(B autonomous (AdvAutonomous $B$,(Bon) $B$+$D!"(Bon-link
(AdvOnLink $B$,(B on)$B$G$k!#$=$N$[$+$N%*%W%7%g%s$O%G%U%)%k%H$NCM$G$"$k!#(B
<P>Autonomous $B$O$=$N%W%j%U%#%C%/%9$,<+F0%"%I%l%9@_Dj$K$D$+$($F$k$3$H$G!"(B
on-link $B$O$=$N%[%9%H$,!"A4$F$N$3$N%W%j%U%#%C%/%9$r;HMQ$9$k%^%7%s$,(B
RA$B$r<u?.$7$?%^%7%s$+$iE~C#2DG=$H2>Dj$G$-$k$3$H$r<($9!#(B
<P>$B$=$N%W%j%U%#%C%/%9$O!"$3$NNc$N$h$&$K%i%s%@%`$KA*$V$3$H$O$G$-$J$+$C$?!#(B
$B$=$l$O(B RFC 1897 (IPv6 $B$N%F%9%H%"%I%l%93dEv$F(B)$B$K$b$H$E$$$F7hDj$5$l$?!#(B
$B$=$N>e!"%W%j%U%#%C%/%9D9$b<+M3$KA*$Y$:!"%M%C%H%o!<%/%a%G%#%"$K$h$C$F(B
$B7hDj$5$l$k!#(B
$B%$!<%5%M%C%HMQ$K$O!"%W%j%U%#%C%/%9D9$O(B80$B$G$"$k$,!"$3$l$O(B
48bit $BD9$N%$!<%5%M%C%H%O!<%I%&%'%"%"%I%l%9$H!"(B128bit $B$N(BIPv6 $B%"%I%l%9$r(B
$B7k$S$D$1$k$b$N$@!#(B
$B>\:Y$O!"(BRFC 1971 (IPv6 Stateless Address Autoconfiguration) $B$*$h$S!"(B
RFC 1972 (A Method for the Transmission of IPv6 Packets over Ethernet Networks)
$B$r;2>H$N$3$H!#(B
<P>$B$h$j>\$7$$(B radvd $B$N@_Dj$K4X$9$k>pJs$O(B radvd $B$NG[I[$K4^$^$l$F$$$^$9!#(B
<P>$B%[%9%H>e$N%$%s%?!<%U%'!<%9$,(B UPed $B$H(BRA $B$r<u?.$7$?$H$-!"$=$N%[%9%H$O(B
$B%W%j%U%#%C%/%9$H!"%$!<%5%M%C%H%O!<%I%&%'%"%"%I%l%9$r;H$C$F!"(B
$B%"%I%l%9$N@_Dj$,$G$-$k!#(B
$B<!$K(B1$BNc$r$"$2$k!#(B
<P>
<BLOCKQUOTE><CODE>
<PRE>
Announced prefix 5f15:9100:c2dd:1400:8000:0000:0000:0000
Link-layer token 0800:0040:1726
Configured address 5f15:9100:c2dd:1400:8000:0800:0040:1726
</PRE>
</CODE></BLOCKQUOTE>
<P>$B%[%9%H$O!"%G%U%)%k%H%k!<%?$NA*Br$r(B RA $B$rD4$Y$F<B9T$G$-$k!#(B
$B$3$l$O!"(BIPv6 $B$N$_$N%[%9%H$OC1$K%$%s%?!<%U%'!<%9$K(B UP $B$r$*$3$J$&$@$1$G!"(B
$B$=$l0J30$O<+F0$G$*$3$J$o$l$k$3$H$r0UL#$9$k!#(B
<P>$B$=$N$?$a!"2f!9$,(B radvd $B$r@_Dj$7$?$H$-$O!"%$%s%?!<%U%'!<%9$N@_Dj$H!"(B
$B%k!<%?$G$N7PO)$N@_Dj$,$^$@I,MW$G$"$k!#(B
$B4JJX$K$9$k$?$a!"2f!9$O$?$@0l$D$N%$%s%?!<%U%'!<%9$,$"$j!"(B
$B%k!<%?$,%H%s%M%j%s%0$r;H$C$F!V30$N@$3&!W$XDL?.$5$l$k$3$H$K$9$k!#(B
<P>$B2<$NNc$O!"(BIPv6 $B$N%k!<%?$G$N@_Dj$N%7%'%k%9%/%j%W%H$G$"$k!#(B
$B$3$l$O!"K\Ev$K;d$N;H$C$F$$$k%k!<%?$HF1$8$b$N$G$9!#(B... :)
<P>$B8+$F$NDL$j!"%"%I%l%9$H7PO)$r<j$G2C$($F!"(BIPv6 over IPv4 $B$N%H%s%M%k$r(B
$B@_Dj$7$F$$$^$9!#(B
<P>/etc/init.d/functions $B$O!"$A$g$C$H$7$?=u$1$K$J$k4X?t$,$"$D$^$C$F$$$F!"(B
radvd $B$r(B kill $B$9$k$N$K(B "stop" $B$,I,MW$G$7$g$&!#(B
/usr/ipv6/sbin $B$O!"(BIPv6 $B$N(B net-tools $B$H!"(Bradvd $B$N?7$7$$%P!<%8%g%s$,(B
$B%$%s%9%H!<%k$5$l$F$$$^$9!#(B
$B$3$l$r(B PATH $B$N@hF,$KF~$l$F!"(BIPv6 $B4XO"%W%m%0%i%`$N0JA0$N%P!<%8%g%s$h$j(B
$B@h$K8+$D$+$k$h$&$K$7$F$$$^$9!#(B
<P>$B$3$N%9%/%j%W%H$O!"(Beth0 $B$N$h$&$JDL>o$N%$%s%?!<%U%'!<%9$G$N$b$N$G!"(B
$B$9$G$K(B IPv4 $B$J$I$G@_Dj$5$l$F$$$k$H$7$^$9!#(B
<P>
<BLOCKQUOTE><CODE>
<PRE>
#! /bin/sh
. /etc/init.d/functions
PATH=/usr/ipv6/sbin:/usr/ipv6/bin:/bin:/usr/bin:/sbin:/usr/sbin
export PATH
case "$1" in
start)
# enable forwarding
echo 1 >/proc/sys/net/ipv6/ipv6_forwarding
# get IPv6-over-IPv4 tunnels up (enables automatic tunneling to 0::0/96)
ifconfig sit0 up
# configure the local interface
ifconfig eth0 add 5f15:9100:c2dd:1400:8000:0080:ad1c:22ca/80
route -A inet6 add 5f15:9100:c2dd:1400:8000::0/80 dev eth0
# if you're on the 6bone you can setup tunnels like shown below.
# every ifconfig sit0 tunnel 0::<other-tunnel-endpoint-ip>
# creates a new sit interface. they're named sequentially (sit1,
# sit2, sit3 and so on)
# setup a tunnel to NRL
ifconfig sit0 tunnel 0::132.250.90.5
ifconfig sit1 up
route -A inet6 add 5f00::0/8 gw fe80::132.250.90.5 dev sit1
# setup a tunnel to G6
ifconfig sit0 tunnel 0::129.88.26.1
ifconfig sit2 up
route -A inet6 add 5f06:b500::/32 gw fe80::129.88.26.1 dev sit2
# start router advertisement daemon
radvd
;;
stop)
killproc radvd
ifconfig sit0 down
;;
*)
echo "Usage: /etc/init.d/ipv6 {start|stop}"
exit 1
esac
exit 0
</PRE>
</CODE></BLOCKQUOTE>
<P>
<PRE>
Last changed: Sat Mar 1 19:17:33 MET 1997
Copyright ©1997 Lars Fennberg <lf@elemental.net
</PRE>
<P>
<HR>
$B<!$N%Z!<%8(B
<A HREF="linux-ipv6-6.html">$BA0$N%Z!<%8(B</A>
<A HREF="linux-ipv6.html#toc7">$BL\<!$X(B</A>
</BODY>
</HTML>
|