routing-lab/as1337/conf/bgpd.conf
2023-12-10 02:52:44 +01:00

29 lines
452 B
Text

AS 1337
socket "/run/bgpd.sock.1337"
prefix-set mynetworks {
fd00:d0ca:1337:1::/64
}
network prefix-set mynetworks
neighbor fd00:d0ca:2313:1::23 {
remote-as 23
descr "as23_1"
multihop 10
announce IPv6 unicast
}
neighbor fd00:d0ca:4213:1::42 {
remote-as 42
descr "as42_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