routing-lab/lab001-openbgpd-ebgp/as1337/conf/bgpd.conf

33 lines
613 B
Text

AS 1337
# The prefix originated by this router
prefix-set mynetworks {
fd00:d0ca:1337:1::/64
}
# Actually announce the prefix
network prefix-set mynetworks
# Peering with the AS23 router
neighbor fd00:d0ca:2313:1::23 {
remote-as 23
descr "as23_1"
multihop 10
}
# Peering with the AS1337 router
neighbor fd00:d0ca:4213:1::42 {
remote-as 42
descr "as42_1"
multihop 10
}
# No route filtering, accept and advertise everything
allow to ebgp
allow from ebgp
# control socket used by bgpctl
socket "/run/bgpd/bgpd.sock.0"
# restricted bgpd socket for bgplgd
socket "/run/bgpd/bgpd.rsock" restricted