routing-lab/as42/conf/bgpd.conf

35 lines
514 B
Text
Raw Normal View History

2023-12-10 02:52:44 +01:00
AS 42
socket "/run/bgpd.sock.42"
prefix-set mynetworks {
fd00:d0ca:42:1::/64
}
network prefix-set mynetworks
neighbor fd00:d0ca:2342:1::23 {
remote-as 23
descr "as23_1"
multihop 20
}
#neighbor fd00:d0ca:2342:2::23 {
# remote-as 23
# descr "as23_2"
# multihop 10
#}
neighbor fd00:d0ca:4213: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