Created
December 17, 2012 01:38
-
-
Save pklaus/4315175 to your computer and use it in GitHub Desktop.
A configuration file for the bird routing daemon being set up to work with OSPFv3 (the IPv6 variant).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log syslog all; | |
router id 0.0.0.159; | |
# Turn on global debugging of all protocols | |
debug protocols all; | |
# Define a route filter... | |
# filter test_filter { | |
# if net ~ 10.0.0.0/16 then accept; | |
# else reject; | |
# } | |
# This pseudo-protocol performs synchronization between BIRD's routing | |
# tables and the kernel. You can run multiple instances of the kernel | |
# protocol and synchronize different kernel tables with different BIRD tables. | |
protocol kernel { | |
learn; # Learn all alien routes from the kernel | |
# persist; # Don't remove routes on bird shutdown | |
scan time 10; # Scan kernel routing table every 20 seconds | |
# import none; # Default is import all | |
export all; # Default is export none | |
} | |
# This pseudo-protocol watches all interface up/down events. | |
protocol device { | |
scan time 8; # Scan interfaces every 10 seconds | |
} | |
# Static routes (again, there can be multiple instances, so that you | |
# can disable/enable various groups of static routes on the fly). | |
protocol static { | |
# export all; # Default is export none | |
# route 0.0.0.0/0 via 62.168.0.13; | |
# route 192.168.0.0/16 reject; | |
} | |
## router advertisements | |
#protocol radv { | |
# interface "br-lan"; | |
#} | |
protocol ospf { | |
import all; | |
export all; | |
# export where source = RTS_STATIC; | |
area 0.0.0.0 { | |
#networks { | |
# 2001:fb17:04dd:0f::/64; | |
#}; | |
interface "ipv6net" { | |
#cost 10; | |
#hello 10; | |
#retransmit 7; | |
#wait 120; | |
#poll 40; | |
dead 40; | |
#type broadcast; | |
}; | |
interface "br-lan" { | |
dead 40; | |
}; | |
}; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment