Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Mar 2021 16:38:10 +0900
From:      Masahiro Tanaka <tanaka@airnet.ne.jp>
To:        freebsd-users-jp@freebsd.org
Subject:   [FreeBSD-users-jp 96704] Re:  =?iso-2022-jp?b?GyRCIVYbKEJ2NhskQiVXJWklORsoQiAbJEI4R0RqGyhC?= =?iso-2022-jp?b?SVAbJEIlNSE8JVMlOSFXJEckThsoQklQSVAbJEIlSCVzJU0layROGyhC?= =?iso-2022-jp?b?GyRCQF9EaiROO0VKfRsoQg==?=
Message-ID:  <20210306163805.B6C7.428D5A63@airnet.ne.jp>
In-Reply-To: <20210305.235106.1002415398090318509.take@kasaneiro.jp>
References:  <CABTq=ps=sfdNWQrmqiL_vYCfx0XKTm_rOyfsDi%2BrG98he9jeLA@mail.gmail.com> <20210305.235106.1002415398090318509.take@kasaneiro.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
$B$3$s$K$A$O!#EDCf$H?=$7$^$9!#(B

JPNE v6$B%W%i%9$O!"(BMAP-E $BBP1~$,I,MW$J$?$a!">.LnMM$4;XE&$N$H$*$jFq$7$$$H(B
$B;W$$$^$9!#(B

$BBP$7$F!"(Bv6$B%W%i%98GDj(BIP $B$O!"Lc$C$?(B v4$B%"%I%l%9$r%=!<%9$K$J$k$h$&$K$7$F(B
$B%H%s%M%k$KF~$l$k$@$1$G$$$$$N$G!"(Bgif$B%H%s%M%k$H(BNAT$B$GBP1~$G$-$k$H;W$$$^$9!#(B
($B$d$d$3$7$$$N$G$9$,(B v6$B%W%i%9$H(B v6$B%W%i%98GDj(BIP $B$OJLJ*$G$9(B)

> $B!|(BISP$B$+$i$b$i$C$F$$$k>pJs!#(B
> 
> 1. IPv6$B%W%l%U%#%C%/%9(B		:  aaaa : bbbb :cccc : dddd : eeee : ffff : gggg : hhhh / 56
> 2. IPv4$B%"%I%l%9(B		   	:  192. 168. 100. 119 / 32
> 3. $B%$%s%?!<%U%'!<%9(BID	   	:  iiiii : jjjjj : kkkk : llll
> 4. Border Relay $B%"%I%l%9(B   	:  mmmm : nnnn : oooo : pp :: 65

$B<j85$K$"$C$?4D6-(B(FreeBSD 10)$B$G(B natd $B$,;H$($J$+$C$?$N$G(B
$B4JC1$J3NG'$N$_$H$J$j$^$9$,0J2<$N$h$&$KDL?.3NG'$,<h$l$^$7$?!#(B

# ifconfig xn0 inet6 <$B4{$KIU$$$F$$$k(BIPv6$B%"%I%l%9(B> delete
# ifconfig xn0 inet6 fe80::iiii:jjjj:kkkk:llll prefixlen 64
# rtsol xn0

$B$3$l$G(B xn0 $B%$%s%?%U%'%$%9$K(B
 inet6 fe80::iiii:jjjj:kkkk:llll prefixlen 64 scopeid 0x2
 inet6 aaaa:bbbb:cccc:dddd:iiii:jjjj:kkkk:llll prefixlen 64 autoconf
$B$N$h$&$J%"%I%l%9$,IU$/$H;W$$$^$9!#(B

$BB3$1$F(B JPNE $B$N%H%s%M%k=*C<%k!<%?$"$F$K(B IPIP $B%H%s%M%k$rD%$j$^$9!#(B
# ifconfig gif0 create inet6 tunnel aaaa:bbbb:cccc:dddd:iiii:jjjj:kkkk:llll mmmm:nnnn:oooo:pp::65
# ifconfig gif0 up

$B$"$H$O!"308~$1$N%Q%1%C%H$r(B ISP $B$+$i$b$i$C$F$$$k(B IPv4$B%"%I%l%9(B
$B$K(B NAT $B$7$F!"%H%s%M%k$KF~$l$F$d$l$PDL?.$G$-$k$O$:$G$9!#(B


$B<j85$G(B natd $B$,F0$+$;$k4D6-$,$J$+$C$?$N$G!"$H$j$"$($:!"(B
$B0J2<$N$h$&$KL5M}LpM}%=!<%9(BIP$B%"%I%l%9$r(BISP$BJ'$$=P$7%"%I%l%9$K$7$F(B
$B;n$7$F$_$^$7$?!#(B

# route del -inet default
# route add -inet default -interface gif0
# ifconfig xn0 inet 192.168.100.119 netmask 255.255.255.255 alias
# ping -S 192.168.100.119 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 192.168.100.119: 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=117 time=9.402 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=9.667 ms
^C
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 9.402/9.534/9.667/0.132 ms


$B>e5-$O$"$/$^$G(B v6$B%W%i%98GDj(BIP $B$N;EMM$K$"$o$;$FL5M}LpM}(B
$B@_Dj$r$7$F$_$?$b$N$G!"@5$7$$@_DjJ}K!$H$O0[$J$k$H;W$$$^$9!#(B

$B$^$?!"(Bnatd $B$N@_Dj$d!":F5/F08e$N@_Dj$NJ];}J}K!$J$I$O!"$I$J$?$+(B
$B>\$7$$J}$K%U%)%m!<$$$?$@$1$l$P$"$j$,$?$$$G$9!#(B

$B$h$m$7$/$*4j$$CW$7$^$9!#(B

-- Masahiro Tanaka
e-mail: tanaka@airnet.ne.jp




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210306163805.B6C7.428D5A63>