(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



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值