proxmox: only advertise local routes
Of course.
This commit is contained in:
parent
14439048fa
commit
2095494531
2 changed files with 9 additions and 1 deletions
|
@ -20,17 +20,25 @@ router bgp {{ asn.asn }}
|
|||
address-family ipv4 unicast
|
||||
redistribute connected route-map loopback
|
||||
neighbor fabric activate
|
||||
neighbor fabric route-map local out
|
||||
exit-address-family
|
||||
|
||||
address-family ipv6 unicast
|
||||
redistribute connected route-map loopback
|
||||
neighbor fabric activate
|
||||
neighbor fabric route-map local out
|
||||
exit-address-family
|
||||
|
||||
address-family l2vpn evpn
|
||||
neighbor fabric activate
|
||||
neighbor fabric route-map local out
|
||||
advertise-all-vni
|
||||
exit-address-family
|
||||
|
||||
bgp as-path access-list local permit ^$
|
||||
|
||||
route-map loopback permit 1
|
||||
match interface lo
|
||||
|
||||
route-map local permit 1
|
||||
match as-path local
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
- debian
|
||||
- ceph
|
||||
|
||||
- hosts: proxmox-rc-*
|
||||
- hosts: pve-rc-*, pve-lab-*
|
||||
roles:
|
||||
- proxmox
|
||||
|
||||
|
|
Loading…
Reference in a new issue