(OK) Sample IPv6 Quagga config
http://www.thuannguyen.net/sample-ipv6-quagga-config.html
July 12, 2016
The following config is derived from a working config on a OpenWRT Linux router. The original setup has two separate networks: one with a public IPv6 range; the other network based on a unique local address. The VPN network is subnet 0, the public network 1, and the private network 2. For OSPF to work correctly, protocol 89 must be accessible (usually is).
ospf6d.conf
password whatever
!
!adapter setup
!
interface br0
ipv6 ospf6 cost 1
ipv6 ospf6 hello-interval 10
ipv6 ospf6 dead-interval 40
ipv6 ospf6 retransmit-interval 5
ipv6 ospf6 priority 1
ipv6 ospf6 transmit-delay 1
ipv6 ospf6 instance-id 1
!
interface vpn0
ipv6 ospf6 cost 1
ipv6 ospf6 hello-interval 10
ipv6 ospf6 dead-interval 40
ipv6 ospf6 retransmit-interval 5
ipv6 ospf6 priority 2
ipv6 ospf6 transmit-delay
ipv6 ospf6 instance-id 2
!
!router setup
!
router ospf6
router-id 0.0.0.1
redistribute static
redistribute connected
area 0.0.0.1 range 2001:db8:beef:1::/64
area 0.0.0.1 range 2001:db8:beef:2::/64
interface br0 area 0.0.0.1
interface vpn0 area 0.0.0.0
zebra.conf
hostname www.thuannguyen.net
password whatever
!
interface br0
link-detect
no ipv6 nd suppress-ra
ipv6 nd ra-interval 10
ipv6 address 2001:db8:beef:1::ffff/64
ipv6 address 2001:db8:beef:2::ffff/64
ipv6 nd prefix 2001:db8:beef:1::/64
ipv6 nd prefix 2001:db8:beef:2::/64
!
interface vpn0
link-detect
ipv6 address 2001:db8:beef:0::1/64
ipv6 address 2001:db8:beef:0::2/64
!
interface lo
link-detect
!
ipv6 forwarding
ipv6 route 2001:db8:beef:1::/64 br0
ipv6 route 2001:db8:beef:2::/64 br0
分类:
051_quagga
, 999_OK
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通