Добрый день...
делаю тест. quagga версии 0.99.21
AS64512 <- AS65000 <-> AS65001
на AS65001 получился такой конфиг
65001# sh ru
hostname zebra-as65001
log file /var/log/quagga/zebra.log
log monitor informational
hostname AS65001
log file /var/log/quagga/bgpd.log
bgp config-type cisco
!
debug zebra events
debug zebra packet
debug zebra kernel
debug bgp updates
!
password 123
enable password 123
!
interface de0
ipv6 nd suppress-ra
!
interface ipfw0
ipv6 nd suppress-ra
!
interface lo0
!
router bgp 65001
no synchronization
bgp router-id 192.168.192.42
network 192.168.1.0
redistribute static route-map blackhole-out
neighbor 192.168.192.41 remote-as 65000
neighbor 192.168.192.41 description BHPROBE
neighbor 192.168.192.41 interface de0
neighbor 192.168.192.41 ebgp-multihop 8
neighbor 192.168.192.41 update-source 192.168.192.41
neighbor 192.168.192.41 send-community both
neighbor 192.168.192.41 soft-reconfiguration inbound
neighbor 192.168.192.41 filter-list 1 in
no auto-summary
!
ip route 192.168.1.100/32 Null0
!
ip prefix-list blackhole-list seq 1 permit 192.168.1.100/32
!
ip as-path access-list 1 deny .*
!
route-map blackhole-out permit 10
description BHPROBE
match ip address prefix-list blackhole-list
set community 65001:666 additive
set ip next-hop 127.0.0.1
set local-preference 10
!
ip forwarding
!
line vty
exec-timeout 0 0
!
end
на AS65000 уходит для 192.168.1.100/32 маршрут 192.168.192.41
65001# sh ip bgp neighbors 192.168.192.41 adv
BGP table version is 0, local router ID is 192.168.192.42
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
*> 192.168.1.0 192.168.192.42 0 32768 i
*> 192.168.1.100/32 192.168.192.42 0 10 32768 ?
Total number of prefixes 2
65001#
на AS65000 соответсвенно получаю
65000# sh ip bgp neighbors 192.168.192.42 routes
BGP table version is 0, local router ID is 192.168.192.41
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
*> 192.168.1.0 192.168.192.42 0 0 65001 i
*> 192.168.1.100/32 192.168.192.42 0 0 65001 ?
Total number of prefixes 2
65000#
что не так... где руки выпрямить?
в доку, не отсылайте, еще больше путаница возникает..