Quagga OSPFv3은 IPv6 경로를 업데이트하지 않습니다.

Quagga OSPFv3은 IPv6 경로를 업데이트하지 않습니다.

참고: 이 내용을 슈퍼유저에 게시했지만 이 방법이 더 적합할 것 같아서 여기에 다시 게시합니다.

저는 OSPFv3을 사용하여 OpenVPN(tun 모드)을 실행하는 두 OpenWrt 라우터 사이에 적절한 IPv6 경로를 생성하도록 Quagga를 구성하려고 합니다. 경로를 수동으로 구성하면 작동하기 때문에 터널이 제대로 작동하고 있다는 것을 알고 있습니다.

두 라우터 모두 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

감사합니다!

관련 정보