configure pve frr to use bgp with router and kube workers
This commit is contained in:
@@ -28,3 +28,28 @@ router openfabric 1
|
||||
lsp-gen-interval 5
|
||||
exit
|
||||
!
|
||||
!
|
||||
router bgp {{ bgp.as }}
|
||||
bgp router-id {{ bgp_router_id }}
|
||||
|
||||
bgp default ipv4-unicast
|
||||
bgp default ipv6-unicast
|
||||
|
||||
neighbor k6-infra peer-group
|
||||
neighbor k6-infra remote-as {{ bgp.as }}
|
||||
neighbor k6-infra password {{ bgp_password }}
|
||||
neighbor k6-infra update-source {{ bgp.interface }}
|
||||
|
||||
{% for peer in bgp.peers %}
|
||||
neighbor {{ peer }} peer-group k6-infra
|
||||
{% endfor %}
|
||||
|
||||
{% for peer in bgp.peers_ipv6 %}
|
||||
neighbor {{ peer }} peer-group k6-infra
|
||||
{% endfor %}
|
||||
!
|
||||
address-family ipv6 unicast
|
||||
neighbor k6-infra activate
|
||||
redistribute openfabric
|
||||
exit-address-family
|
||||
!
|
||||
|
Reference in New Issue
Block a user