tweet:2021:0530_01
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
tweet:2021:0530_01 [2021/05/30 16:53] – seirios | tweet:2021:0530_01 [2021/06/24 10:16] (現在) – seirios | ||
---|---|---|---|
行 21: | 行 21: | ||
ifconfig gif0 mtu 1500 # 記述ミス。追記 | ifconfig gif0 mtu 1500 # 記述ミス。追記 | ||
ifconfig gif0 tunnel inet 10.0.0.1 10.0.0.2 | ifconfig gif0 tunnel inet 10.0.0.1 10.0.0.2 | ||
- | ifconfig gif0 inet 172.16.0.1/ | + | ifconfig gif0 inet 172.16.0.1/ |
route add -net 172.16.1.0/ | route add -net 172.16.1.0/ | ||
ifconfig bridge0 create | ifconfig bridge0 create | ||
ifconfig bridge0 mtu 1500 # 記述ミス。追記 | ifconfig bridge0 mtu 1500 # 記述ミス。追記 | ||
- | ifconfig bridge0 addm gif0 -stf gif0 | + | ifconfig bridge0 addm gif0 -stp gif0 |
</ | </ | ||
行 34: | 行 34: | ||
ifconfig gif0 mtu 1500 # 記述ミス。追記 | ifconfig gif0 mtu 1500 # 記述ミス。追記 | ||
ifconfig gif0 tunnel inet 10.0.0.2 10.0.0.1 | ifconfig gif0 tunnel inet 10.0.0.2 10.0.0.1 | ||
- | ifconfig gif0 inet 172.16.1.1/ | + | ifconfig gif0 inet 172.16.1.1/ |
route add -net 172.16.0.0/ | route add -net 172.16.0.0/ | ||
ifconfig bridge0 create | ifconfig bridge0 create | ||
ifconfig bridge0 mtu 1500 # 記述ミス。追記 | ifconfig bridge0 mtu 1500 # 記述ミス。追記 | ||
- | ifconfig bridge0 addm gif0 -stf gif0 | + | ifconfig bridge0 addm gif0 -stp gif0 |
</ | </ | ||
行 47: | 行 47: | ||
この問題は、IP AddressをIPv4からIPv6に置き換えても変わらなかった | この問題は、IP AddressをIPv4からIPv6に置き換えても変わらなかった | ||
+ | <WRAP box> | ||
**追記(記載忘れ。20210530)** | **追記(記載忘れ。20210530)** | ||
* いくつかのWeb Pageに、sysctlでkernelパラメータをいじるという記事があるので、実行したが変化なし | * いくつかのWeb Pageに、sysctlでkernelパラメータをいじるという記事があるので、実行したが変化なし | ||
行 58: | 行 59: | ||
ifconfig bridge0 addm em1 -stf em1 | ifconfig bridge0 addm em1 -stf em1 | ||
</ | </ | ||
- | ** 追記、ここまで ** | + | </ |
問題を切り分けようと、bridge I/ | 問題を切り分けようと、bridge I/ | ||
行 69: | 行 70: | ||
- bridge0にgif0が所属している時(addmした時)は、protocol number 97(EtherIP/ | - bridge0にgif0が所属している時(addmした時)は、protocol number 97(EtherIP/ | ||
+ | <WRAP box> | ||
** 追記(20210530) ** | ** 追記(20210530) ** | ||
+ | |||
以前、佐藤先生から、中を解析するには、Protocol number=97を追いかけるしかない、というお話をいただいている。 | 以前、佐藤先生から、中を解析するには、Protocol number=97を追いかけるしかない、というお話をいただいている。 | ||
問題は、同一のFreeBSD同士でのgif+bridgeを用いたEtherIP通信が、IPv4でもIPv6でも失敗するところ。なお、NECのIX2000シリーズのEtherIPと繋ごうとしてもつなげないので、流石にFreeBSD側のBUGと考えるしかないが、問題はそのBUGが bridge(if_bridge.c) にあるのか gif(if_gif.c)にあるのかわからない... | 問題は、同一のFreeBSD同士でのgif+bridgeを用いたEtherIP通信が、IPv4でもIPv6でも失敗するところ。なお、NECのIX2000シリーズのEtherIPと繋ごうとしてもつなげないので、流石にFreeBSD側のBUGと考えるしかないが、問題はそのBUGが bridge(if_bridge.c) にあるのか gif(if_gif.c)にあるのかわからない... | ||
- | ** 追記、ここまで ** | + | </ |
なお、いくつか試験するにあたって、 | なお、いくつか試験するにあたって、 |
tweet/2021/0530_01.1622361185.txt.gz · 最終更新: 2021/05/30 16:53 by seirios