Update BGP configuration across multiple files to reflect new IP addresses. Changed router ID and neighbor IP in docker-compose.yml, Dockerfile, frr.conf, and related documentation. Adjusted subnet in network settings and prefixes in data files for consistency. Enhanced scripts to utilize updated environment variables.
Build and Push Docker Image / build (push) Successful in 8m1s
Build and Push Docker Image / build (push) Successful in 8m1s
This commit is contained in:
@@ -16,8 +16,8 @@ def generate_frr_config():
|
||||
|
||||
# Получение настроек из переменных окружения
|
||||
local_as = get_env_var('BGP_LOCAL_AS', '65000')
|
||||
router_id = get_env_var('BGP_ROUTER_ID', '192.168.1.100')
|
||||
neighbor_ip = get_env_var('BGP_NEIGHBOR_IP', '192.168.1.1')
|
||||
router_id = get_env_var('BGP_ROUTER_ID', '192.168.100.99')
|
||||
neighbor_ip = get_env_var('BGP_NEIGHBOR_IP', '192.168.0.254')
|
||||
neighbor_as = get_env_var('BGP_NEIGHBOR_AS', '65001')
|
||||
hold_time = get_env_var('BGP_HOLD_TIME', '90')
|
||||
keepalive = get_env_var('BGP_KEEPALIVE', '30')
|
||||
|
||||
@@ -50,7 +50,7 @@ if (-not (Test-Path $prefixesFile)) {
|
||||
@"
|
||||
# Default prefixes file
|
||||
# Add your prefixes here, one per line
|
||||
192.168.1.0/24
|
||||
192.168.100.0/24
|
||||
10.0.0.0/8
|
||||
172.16.0.0/12
|
||||
"@ | Out-File -FilePath $prefixesFile -Encoding UTF8
|
||||
|
||||
Reference in New Issue
Block a user