knorrie-config/R10/rootfs/etc/bird/bird6.conf

73 lines
1.2 KiB
Plaintext

router id 10.40.32.10;
log "/var/log/bird/bird6.log" all;
debug protocols { states, routes, filters, interfaces }
protocol kernel {
import none;
export all;
}
protocol device {
# defaults...
}
protocol ospf {
area 0 {
# BIRD ignores the IPv6 lo because it has no link local address
stubnet 2001:db8:10:6::a/128;
interface "vlan33" {
};
interface "vlan217" {
stub;
};
};
}
##############################################################################
# eBGP R3
#
table t_r3;
protocol static originate_to_r3 {
table t_r3;
import all; # originate here
route 2001:db8:10::/48 blackhole;
}
protocol bgp ebgp_r3 {
table t_r3;
neighbor 2001:db8:40:d910::1 as 64080;
local 2001:db8:40:d910::2 as 65033;
import all;
import keep filtered on;
export where source = RTS_STATIC;
}
protocol pipe p_master_to_r3 {
table master;
peer table t_r3;
import where source = RTS_BGP;
export none;
}
###
# iBGP R11
#
protocol bgp ibgp_r11 {
import none;
export where source = RTS_BGP;
local 2001:db8:10:6::a as 65033;
neighbor 2001:db8:10:6::b as 65033;
}
protocol bgp ibgp_r12 {
import none;
export where source = RTS_BGP;
local 2001:db8:10:6::a as 65033;
neighbor 2001:db8:10:6::c as 65033;
}