вот прикинул конфиг:
- Код: Выделить всё
network 1.1.1.0 mask 255.255.255.0
neighbor 77.222.х.х remote-as 21219
neighbor 77.222.х.х description BGP-PEER-1
neighbor 77.222.х.х send-community
neighbor 77.222.х.х version 4
neighbor 77.222.х.х soft-reconfiguration inbound
neighbor 77.222.х.х route-map map-AS21219-in in
neighbor 77.222.х.х route-map map-AS21219-out out
neighbor 93.178.y.y remote-as 12883
neighbor 93.178.y.y description BGP-PEER-4
neighbor 93.178.y.y send-community
neighbor 93.178.y.y version 4
neighbor 93.178.y.y soft-reconfiguration inbound
neighbor 93.178.y.y route-map map-AS12883-in in
neighbor 93.178.y.y route-map map-AS12883-out out
ip as-path access-list 1 permit _6451[2-9]_
ip as-path access-list 1 permit _645[2-9][0-9]_
ip as-path access-list 1 permit _64[6-9][0-9][0-9]_
ip as-path access-list 1 permit _65[0-9][0-9][0-9]_
ip prefix-list bogons description bogus nets
ip prefix-list bogons seq 15 permit 0.0.0.0/8 le 32
ip prefix-list bogons seq 20 permit 127.0.0.0/8 le 32
ip prefix-list bogons seq 25 permit 192.0.2.0/24 le 32
ip prefix-list bogons seq 30 permit 10.0.0.0/8 le 32
ip prefix-list bogons seq 35 permit 172.16.0.0/12 le 32
ip prefix-list bogons seq 40 permit 192.168.0.0/16 le 32
ip prefix-list bogons seq 45 permit 169.254.0.0/16 le 32
ip prefix-list bogons seq 50 permit 192.42.172.0/24 le 32
ip prefix-list bogons seq 55 permit 198.18.0.0/15 le 32
ip prefix-list bogons seq 60 permit 192.88.99.0/24 le 32
ip prefix-list bogons seq 65 permit 224.0.0.0/4 le 32
ip prefix-list bogons seq 70 permit 240.0.0.0/4 le 32
route-map map-AS21219-in deny 100
description -- filter private ASs
match as-path 1
route-map map-AS21219-in deny 110
description -- -- filter bogons, default
match ip address prefix-list bogons default
route-map map-AS21219-in permit 200
set local-preference 100
route-map map-AS12883-in deny 100
description -- filter private ASs
match as-path 1
route-map map-AS12883-in deny 110
description -- -- filter bogons, default
match ip address prefix-list bogons default
route-map map-AS12883-in permit 200
set local-preference 90
ставлю меньший лок-преф , но все маршруты идут через 2го аплинка, почему?