
HINWEIS: Ich habe dies auf SuperUser gepostet, poste es aber hier noch einmal, weil ich denke, dass es besser geeignet sein könnte.
Ich versuche, Quagga so zu konfigurieren, dass es OSPFv3 verwendet, um ordnungsgemäße IPv6-Routen zwischen zwei OpenWrt-Routern mit OpenVPN (Tun-Modus) zu erstellen. Ich weiß, dass der Tunnel ordnungsgemäß funktioniert, weil er funktioniert, wenn ich die Routen manuell konfiguriere.
Beide Router haben eine Link-Local-Adresse auf der Tun0-Schnittstelle, und ich kann tatsächlich OSPFv3-Pakete zwischen den Routern sehen, aber die Routen werden nicht in der Routing-Tabelle eingerichtet. Ich möchte auch darauf hinweisen, dass OSPFv2 funktioniert, also handelt es sich hier wahrscheinlich nicht um ein Berechtigungsproblem.
Ich füge die ospf6d.conf-Dateien von beiden Routern an und würde mich über alle Hinweise zu möglichen Fehlkonfigurationen freuen.
OpenVPN-Serverseite:
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-Clientseite:
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
Danke schön!