routing-lab/as23/conf/bgpd.conf

35 lines
514 B
Text
Raw Normal View History

2023-12-10 02:52:44 +01:00
AS 23
socket "/run/bgpd.sock.23"
prefix-set mynetworks {
fd00:d0ca:23:1::/64
}
network prefix-set mynetworks
neighbor fd00:d0ca:2342:1::42 {
remote-as 42
descr "as42_1"
multihop 10
}
#neighbor fd00:d0ca:2342:2::42 {
# remote-as 42
# descr "as42_2"
# multihop 20
#}
neighbor fd00:d0ca:2313:1::1337 {
remote-as 1337
descr "as1337_1"
multihop 10
}
#allow to ebgp prefix-set mynetworks
allow to ebgp
allow from ebgp
# restricted bgpd socket for bgplgd
socket "/run/bgpd/bgpd.rsock" restricted