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

This commit is contained in:
2025-07-11 18:22:16 +07:00
parent 170553612d
commit 58f1405fef
8 changed files with 38 additions and 43 deletions
+11 -11
View File
@@ -9,23 +9,23 @@
frr version 8.5.2
frr defaults traditional
hostname bgp-server
log syslog informational
log syslog info
service integrated-vtysh-config
# Настройки BGP
router bgp 65000
bgp router-id 192.168.1.100
bgp router-id 192.168.100.99
bgp log-neighbor-changes
neighbor 192.168.1.1 remote-as 65001
neighbor 192.168.1.1 description RouterOS Client
neighbor 192.168.1.1 timers 30 90
neighbor 192.168.1.1 capability graceful-restart
neighbor 192.168.1.1 soft-reconfiguration inbound
neighbor 192.168.0.254 remote-as 65001
neighbor 192.168.0.254 description RouterOS Client
neighbor 192.168.0.254 timers 30 90
neighbor 192.168.0.254 capability graceful-restart
neighbor 192.168.0.254 soft-reconfiguration inbound
!
address-family ipv4 unicast
neighbor 192.168.1.1 activate
neighbor 192.168.1.1 route-map OUTBOUND out
neighbor 192.168.1.1 route-map INBOUND in
neighbor 192.168.0.254 activate
neighbor 192.168.0.254 route-map OUTBOUND out
neighbor 192.168.0.254 route-map INBOUND in
exit-address-family
!
@@ -39,7 +39,7 @@ route-map INBOUND deny 10
# Настройки интерфейса
interface eth0
ip address 192.168.1.100/24
ip address 192.168.100.99/24
!
# Статические маршруты (будут добавлены динамически)