proxmox: only advertise local routes

Of course.
This commit is contained in:
Timotej Lazar 2024-04-03 15:48:16 +02:00
parent 14439048fa
commit 2095494531
2 changed files with 9 additions and 1 deletions

View file

@ -20,17 +20,25 @@ router bgp {{ asn.asn }}
address-family ipv4 unicast address-family ipv4 unicast
redistribute connected route-map loopback redistribute connected route-map loopback
neighbor fabric activate neighbor fabric activate
neighbor fabric route-map local out
exit-address-family exit-address-family
address-family ipv6 unicast address-family ipv6 unicast
redistribute connected route-map loopback redistribute connected route-map loopback
neighbor fabric activate neighbor fabric activate
neighbor fabric route-map local out
exit-address-family exit-address-family
address-family l2vpn evpn address-family l2vpn evpn
neighbor fabric activate neighbor fabric activate
neighbor fabric route-map local out
advertise-all-vni advertise-all-vni
exit-address-family exit-address-family
bgp as-path access-list local permit ^$
route-map loopback permit 1 route-map loopback permit 1
match interface lo match interface lo
route-map local permit 1
match as-path local

View file

@ -3,7 +3,7 @@
- debian - debian
- ceph - ceph
- hosts: proxmox-rc-* - hosts: pve-rc-*, pve-lab-*
roles: roles:
- proxmox - proxmox