Доброго времени суток!
Сделал тестовый стенд, состоящий из 2х bgp-роутеров на quagga. Столкнулся с проблемой анонсирования подсетей:
!
router bgp 65000
bgp router-id 10.43.42.2
bgp log-neighbor-changes
redistribute connected
redistribute static
neighbor br1_v6 peer-group
neighbor br1_v6 remote-as 65000
neighbor br1_v6 weight 500
neighbor br1_v6 next-hop-self
neighbor br1_v6 soft-reconfiguration inbound
neighbor br1_v6 allowas-in
neighbor 3ffe:680:1::d peer-group br1_v6
!
address-family ipv6
network 3ffe:680:1::30/126
network 3ffe:680:1::40/126
network 3ffe:680:1::50/126
redistribute connected
redistribute static
neighbor 3ffe:680:1::d activate
neighbor 3ffe:680:1::d next-hop-self
neighbor 3ffe:680:1::d soft-reconfiguration inbound
neighbor 3ffe:680:1::d nexthop-local unchanged
neighbor 3ffe:680:1::d allowas-in
neighbor 3ffe:680:1::d route-map BR1-in in
neighbor 3ffe:680:1::d route-map BR1-out out
exit-address-family
!
router ospf
!
ipv6 prefix-list DEFAULT6 seq 5 permit ::/0
ipv6 prefix-list OWN_PREFIX-V6 seq 5 permit 3ffe:680::/32 le 128
!
route-map BR1-in permit 10
description Allow Default Route
match ipv6 address prefix-list DEFAULT6
!
route-map BR1-in permit 20
description Allow Own ipv6 prefixes
match ipv6 address prefix-list OWN_PREFIX-V6
!
route-map BR1-out permit 10
description Anonce own prefixes
match ipv6 address prefix-list OWN_PREFIX-V6
!
ip forwarding
ipv6 forwarding
!
line vty
!
end
# sh ipv6 route
Codes: K - kernel route, C - connected, S - static, R - RIPng,
O - OSPFv6, I - IS-IS, B - BGP, A - Babel,
> - selected route, * - FIB route
K>* ::/0 via 3ffe:680:1::d, eth0.15
C>* ::1/128 is directly connected, lo
C>* 3ffe:680:1::c/126 is directly connected, eth0.15
C>* 3ffe:680:1::30/126 is directly connected, eth0.4050
C>* 3ffe:680:1::40/126 is directly connected, eth0.4051
C>* 3ffe:680:1::50/126 is directly connected, eth0.4052
C * fe80::/64 is directly connected, eth0.4052
C * fe80::/64 is directly connected, eth0.4051
C * fe80::/64 is directly connected, eth0.4050
C * fe80::/64 is directly connected, eth0.15
C>* fe80::/64 is directly connected, eth0
# sh ipv6 bgp neighbors 3ffe:680:1::d advertised-routes
BGP table version is 0, local router ID is 10.43.42.2
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 3ffe:680:1::30/126
3ffe:680:1::e 0 100 32768 i
*> 3ffe:680:1::40/126
3ffe:680:1::e 0 100 32768 i
*> 3ffe:680:1::50/126
3ffe:680:1::e 0 100 32768 i
Total number of prefixes 3
Если же конфиг из конфига убрать строки:
network 3ffe:680:1::30/126
network 3ffe:680:1::40/126
network 3ffe:680:1::50/126
То анонсы пропадают. Подскажите, в чем ошибка?