63 lines
1.1 KiB
Plaintext
63 lines
1.1 KiB
Plaintext
router id 10.40.217.3;
|
|
|
|
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:40::3/128;
|
|
interface "vlan216" {
|
|
};
|
|
interface "vlan217" {
|
|
stub;
|
|
};
|
|
};
|
|
}
|
|
##############################################################################
|
|
# eBGP R10
|
|
#
|
|
|
|
table t_r10;
|
|
|
|
protocol static originate_to_r10 {
|
|
table t_r10;
|
|
import all; # originate here
|
|
route 2001:db8:40::/48 blackhole;
|
|
}
|
|
|
|
protocol bgp ebgp_r10 {
|
|
table t_r10;
|
|
local 2001:db8:40:d910::1 as 64080;
|
|
neighbor 2001:db8:40:d910::2 as 65033;
|
|
import all;
|
|
import keep filtered on;
|
|
export where source = RTS_STATIC;
|
|
}
|
|
|
|
protocol pipe p_master_to_r10 {
|
|
table master;
|
|
peer table t_r10;
|
|
import where source = RTS_BGP;
|
|
export none;
|
|
}
|
|
|
|
#
|
|
# iBGP
|
|
#
|
|
protocol bgp ibgp_r1 {
|
|
import none;
|
|
export where source = RTS_BGP;
|
|
local 2001:db8:40::3 as 64080;
|
|
neighbor 2001:db8:40::1 as 64080;
|
|
}
|