
注: これは SuperUser に投稿しましたが、こちらの方が適切だと思ったので再投稿します。
Quagga を設定して、OSPFv3 を使用して、OpenVPN (tun モード) を実行している 2 つの OpenWrt ルーター間に適切な IPv6 ルートを作成しようとしています。ルートを手動で設定すると機能するため、トンネルは正常に動作していることがわかります。
両方のルータは tun0 インターフェイスにリンクローカル アドレスを持っており、ルータ間の OSPFv3 パケットは実際に確認できますが、ルートはルーティング テーブルに設定されていません。また、OSPFv2 は機能しているので、これはおそらく権限の問題ではないことも指摘しておきます。
両方のルータからの ospf6d.conf ファイルを添付しますので、設定ミスの可能性に関するご意見をいただければ幸いです。
OpenVPN サーバー側:
hostname gateway
password *********
enable password *********
log file /tmp/zebra-ospf6d.log
!
!
!
interface default
ipv6 ospf6 passive
!
interface br-lan
ipv6 ospf6 passive
!
interface eth0
ipv6 ospf6 passive
!
interface eth0.1
ipv6 ospf6 passive
!
interface lo
ipv6 ospf6 passive
!
interface pppoe-wan
ipv6 ospf6 passive
!
interface tun0
no ipv6 ospf6 passive
!
interface wlan0
ipv6 ospf6 passive
!
interface tun1
ipv6 ospf6 passive
!
interface tun2
ipv6 ospf6 passive
!
router ospf6
router-id 192.168.92.2
redistribute kernel
interface br-lan area 0.0.0.0
interface tun0 area 0.0.0.0
interface tun1 area 0.0.0.0
interface tun2 area 0.0.0.0
area 0.0.0.0 range 2000::/3
area 0.0.0.0 range fc00::/7
!
line vty
!
end
OpenVPN クライアント側:
hostname gateway
password *********
enable password *********
log file /tmp/zebra-ospf6d.log
!
!
!
interface default
ipv6 ospf6 passive
!
interface br-lan
ipv6 ospf6 passive
!
interface eth0
ipv6 ospf6 passive
!
interface eth0.1
ipv6 ospf6 passive
!
interface lo
ipv6 ospf6 passive
!
interface pppoe-wan
ipv6 ospf6 passive
!
interface tun0
no ipv6 ospf6 passive
!
interface tun1
ipv6 ospf6 passive
!
interface wlan0
ipv6 ospf6 passive
!
interface wlan1
ipv6 ospf6 passive
!
router ospf6
router-id 192.168.92.1
redistribute kernel
interface br-lan area 0.0.0.0
interface tun0 area 0.0.0.0
interface tun1 area 0.0.0.0
area 0.0.0.0 range 2000::/3
area 0.0.0.0 range fc00::/7
!
line vty
!
end
ありがとう!