This repository has been archived on 2024-04-29. You can view files and clone it, but cannot push or open issues or pull requests.
vyos-config/config-parts/protocols.sh

29 lines
1.4 KiB
Bash
Raw Normal View History

2023-03-29 13:30:45 -05:00
#!/bin/vbash
# BGP configuration
2023-12-15 12:17:47 -06:00
## k8s workers
2023-05-26 09:00:33 -05:00
set protocols bgp neighbor 10.1.1.41 address-family ipv4-unicast
set protocols bgp neighbor 10.1.1.41 description 'nenya'
set protocols bgp neighbor 10.1.1.41 remote-as '64512'
set protocols bgp neighbor 10.1.1.42 address-family ipv4-unicast
set protocols bgp neighbor 10.1.1.42 description 'vilya'
set protocols bgp neighbor 10.1.1.42 remote-as '64512'
set protocols bgp neighbor 10.1.1.43 address-family ipv4-unicast
2023-12-15 12:17:47 -06:00
set protocols bgp neighbor 10.1.1.43 description 'gollum'
2023-05-26 09:00:33 -05:00
set protocols bgp neighbor 10.1.1.43 remote-as '64512'
set protocols bgp neighbor 10.1.1.44 address-family ipv4-unicast
2023-12-15 12:17:47 -06:00
set protocols bgp neighbor 10.1.1.44 description 'thror'
set protocols bgp neighbor 10.1.1.44 remote-as '64512'
2023-12-15 12:17:47 -06:00
## k8s masters
2023-06-14 09:41:05 -05:00
set protocols bgp neighbor 10.1.1.61 address-family ipv4-unicast
set protocols bgp neighbor 10.1.1.61 description 'galadriel'
set protocols bgp neighbor 10.1.1.61 remote-as '64512'
set protocols bgp neighbor 10.1.1.62 address-family ipv4-unicast
2023-12-15 12:17:47 -06:00
set protocols bgp neighbor 10.1.1.62 description 'thrain'
2023-06-14 09:41:05 -05:00
set protocols bgp neighbor 10.1.1.62 remote-as '64512'
set protocols bgp neighbor 10.1.1.63 address-family ipv4-unicast
set protocols bgp neighbor 10.1.1.63 description 'cirdan'
set protocols bgp neighbor 10.1.1.63 remote-as '64512'
2023-03-29 13:30:45 -05:00
set protocols bgp parameters router-id '10.1.0.1'
set protocols bgp system-as '64512'