hns - 日記自動生成システム - Version 2.19.9

先月 2001年06月 来月
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
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2001年06月01日(金) 旧暦 [n年日記]

#1 [IPv6] FreeBSD 4 の場合という説明

があるのを発見。

しかも、きのうの日記を見て、kernel の stf つまり:

#pseudo-device  stf 1  # 6to4 IPv6 over IPv4 encapsulation
の設定は不要というお手紙を下さった方がいらっしゃいました。
で、実はきのう余り寝ていないので、この辺で.と思ったけれど、

tunnel の機械の方で、/etc.rc.inet6:

makoto@nazuha ■22:56:08/010601(~)> cat /etc/rc.inet6 
/sbin/sysctl  -w net.inet6.ip6.forwarding=1
/sbin/sysctl  -w net.inet6.ip6.accept_rtadv=0
#/usr/sbin/prefix gm0 2001:218a:463:0001::
/sbin/ifconfig gm0 inet6 2001:218a:463:0001:: anycast

ifconfig gif0 create
ifconfig gif0 tunnel 210.145.40.126 210.OOO.CCC.NNN
/sbin/route add -inet6 default -ifp gif0
makoto@nazuha ■22:56:23/010601(~)> 
いうのを作って、/etc.rc.conf に次のように書いておくと、
if [ -r /etc/inet6.rc]; then
        . /etc/inet6.rc
fi

ping6 -I gif0 ff02::1 は出来る:

makoto@nazuha ■22:59:02/010601(~)> ping6 -I gif0 ff02::1
PING6(56=40+8+8 bytes) fe80::20a:27ff:feb6:8546%gif0 --> ff02::1
16 bytes from fe80::20a:27ff:feb6:8546%gif0, icmp_seq=0 hlim=64 time=0.369 ms
16 bytes from fe80::20a:27ff:feb6:8546%gif0, icmp_seq=1 hlim=64 time=0.159 ms
^C
--- ff02::1 ping6 statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/std-dev = 0.159/0.264/0.369/0.105 ms

makoto@nazuha ■22:59:05/010601(~)> 

ping6, traceroute6 to 2001:218:0:100 は出来ない。:

route add -inet6 default :: -ifp gif0
の後に、
root@nazuha  23:01:41/010601(/home/makoto)# ping6 2001:218:0:1000::1
PING6(56=40+8+8 bytes) 2001:218:463::1:101:17e --> 2001:218:0:1000::1
^C
--- 2001:218:0:1000::1 ping6 statistics ---
4 packets transmitted, 0 packets received, 100% packet loss

root@nazuha  23:01:47/010601(/home/makoto)# traceroute !$
traceroute 2001:218:0:1000::1
traceroute: unknown host 2001:218:0:1000::1
root@nazuha  23:01:51/010601(/home/makoto)# traceroute6 2001:218:0:1000::1
traceroute6 to 2001:218:0:1000::1 (2001:218:0:1000::1) 
   from 2001:218:463::1:101:17e, 30 hops max, 12 byte packets
 1  * *^C
root@nazuha  23:02:06/010601(/home/makoto)# 
IPv6 address の読み方(解釈)が分っていないのが一番の問題そう。

netstat -r だけは調べておこう:

続きは明日にしよう (23:07) 寝ようと思ったが、 netstat -r だけは調べておこう



最近の日記
2024年05月08日
comparison on ./buildsh tools
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)