HOWTO: use Quagga to network IPv6 via OSPFv6
Shadow Hawkins on Thursday, 20 September 2007 00:29:10
These are example zebra & ospf6d files for use with Quagga 0.98.6 or later. If you're setting up a tinc VPN or other tunnel-based provisioning, you will need to make sure Quagga is (re)started after the VPN/tunnel software is connected, or it will never detect other member routers.
For these example files, I am using a 2001:db8:1::/48 allocation, with the #0 /64 subnet used for interconnects and #1 & #2 as user subnets.
*** Extra route command for master router only (which is assumed to be at 2001:db8:1::1)
ipv6 route 2000::/3 2001:db8:1::1
*** Example zebra.conf
password whatever
ipv6 forwarding
ipv6 route 2001:db8:1:2::/64 br0
interface br0
link-detect
no ipv6 nd suppress-ra
ipv6 nd ra-interval 10
ipv6 address 2001:db8:1:2::ffff/64
ipv6 nd prefix 2001:db8:1:2::/64
interface vpn6
link-detect
ipv6 address 2001:db8:1::/64
interface lo
link-detect
*** Example ospf6d.conf
password whatever
!
!adapter setup
!
interface br0
interface vpn6
!
!router setup
!
router ospf6
router-id 0.0.0.2
redistribute static
redistribute connected
area 0.0.0.2 range 2001:db8:1:2::/64
interface br0 area 0.0.0.2
interface vpn6 area 0.0.0.0
Posting is only allowed when you are logged in. |