bgp setup

This commit is contained in:
mii8080
2022-07-18 11:12:22 +00:00
committed by GitHub
parent 7cad820918
commit 436883a0ca
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,16 @@
apiVersion: v1
kind: ConfigMap
metadata:
namespace: metallb-system
name: config
data:
config: |
peers:
- peer-address: 192.168.1.1
peer-asn: 64512
my-asn: 64512
address-pools:
- name: default
protocol: bgp
addresses:
- 10.0.0.0/24

View File

@ -0,0 +1,8 @@
apiVersion: projectcalico.org/v3
kind: BGPPeer
metadata:
creationTimestamp: null
name: bgppeer-rtx830
spec:
asNumber: 64512
peerIP: 192.168.1.1