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
|
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
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
- debian
|
- debian
|
||||||
- ceph
|
- ceph
|
||||||
|
|
||||||
- hosts: proxmox-rc-*
|
- hosts: pve-rc-*, pve-lab-*
|
||||||
roles:
|
roles:
|
||||||
- proxmox
|
- proxmox
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue