Конфиги quagga (номера AS и IP вымышленные, только для примера):
- Код: Выделить всё
gw ~ # cat /etc/quagga/bgpd.conf
hostname AS123456
password zebra
enable password zebra
log file /var/log/bgpd.log
router bgp 123456
bgp router-id 81.26.168.226
bgp log-neighbor-changes
no synchronization
network 48.151.0.0/22
neighbor 81.26.168.225 remote-as 31233
neighbor 81.26.168.225 description UPLINK_MEGAFON
gw1 ~ # cat /etc/quagga/bgpd.conf
hostname AS123456
password zebra
enable password zebra
log file /var/log/bgpd.log
router bgp 123456
bgp router-id 173.45.248.98
bgp log-neighbor-changes
no synchronization
network 48.151.4.0/23
neighbor 173.45.248.97 remote-as 45975
neighbor 173.45.248.97 description UPLINK_ROSTELEKOM
Всем спасибо за советы и помощь