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