первый раз столкнулся с bgp, но необходимо в короткое время решить вопрос
аплинк 1, подается только route default
как не кручу не хочет работать анонсируемая сетьQuagga 0.99.21 ().
root@bgp:/ # cat /usr/local/etc/quagga/zebra.conf
hostname bgp
password 1234
enable password 1234
log file /var/log/zebra.log
!
interface re0
ip address 192.168.1.1/30
!
interface em0
ip address 90.9.32.173/29
!
interface lo0
!
ip route 10.0.0.0/8 Null0 254
ip route 172.16.0.0/12 Null0 254
#ip route 192.168.0.0/16 Null0 254
#ip route 185.27.80.0/22 Null0 254
ip route 185.27.80.0/22 192.168.1.2
!
ip forwarding
!
!
line vty
exec-timeout 0 0
!
root@bgp:/ # cat /usr/local/etc/quagga/bgpd.conf
hostname AS63681
password 1234
enable password 1234
log file /var/log/bgpd.log
router bgp 63681
bgp router-id 90.9.32.173
bgp log-neighbor-changes
no synchronization
network 185.27.80.0/22
neighbor 90.9.32.169 remote-as 87332
show ip bgp
BGP table version is 0, local router ID is 90.9.32.173
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 0.0.0.0 90.9.32.169 0 8732 i
*> 185.27.80.0/22 0.0.0.0 0 32768 i
Total number of prefixes 2
sh ip bgp neighbors 90.9.32.169 advertised-routes
BGP table version is 0, local router ID is 90.9.32.173
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 185.27.80.0/22 90.9.32.173 0 32768 i
Total number of prefixes 1
netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 90.9.32.169 UGS 1 74785 em0
10.0.0.0/8 127.0.0.1 U1B 0 0 lo0
90.9.32.168/29 link#1 U 0 12205 em0
90.9.32.173 link#1 UHS 0 0 lo0
127.0.0.1 link#8 UH 0 28905 lo0
172.16.0.0/12 127.0.0.1 U1B 0 0 lo0
185.27.80.0/22 192.168.1.2 UG1 0 5 re0
192.168.1.0/30 link#2 U 0 905 re0
192.168.1.1 link#2 UHS 0 1 lo0