quagga не прописывает маршруты

Vladimir Smagin 21h на blindage.org
Вс Янв 29 05:27:29 UTC 2012


Под убунтой 10.04 столкнулся с проблемой, когда маршруты пришли, но они 
не прописываются вообще никак. Пытаюсь завернуть местный ipv6 траффик не 
через сеть HE, а через городского провайдера, чтобы местные юзеры ходили 
на сервер быстрее. Конфиг выглядит вполне здоровым и другие админы это 
подтверждают. Не было ли у кого-нибудь подобных проблем под убунтой?

В первые минуты после рестарта зебра показывает, что маршруты пришли, но 
их не видно по ip -6 r

AS64667> show ipv6 route
Codes: K - kernel route, C - connected, S - static, R - RIPng, O - OSPFv3,
        I - ISIS, B - BGP, * - FIB route.

K>* ::/0 is directly connected, he-ipv6
C>* ::1/128 is directly connected, lo
C>* 2001:470:1f08:10be::/64 is directly connected, he-ipv6
C * 2001:470:1f09:10be::/64 is directly connected, he-ipv6
C>* 2001:470:1f09:10be::/64 is directly connected, eth0
B   2001:470:1f14:179a::/64 [20/0] via 2a00:9700:2::c0ff:e:14 inactive, 
00:00:03
B   2001:470:d3f1::/48 [20/0] via 2a00:9700:2::c0ff:e:14 inactive, 00:00:03
B   2001:470:d6e0::/48 [20/0] via 2a00:9700:2::c0ff:e:14 inactive, 00:00:03
B   2a00:e78:8000::/46 [20/0] via 2a00:9700:2::c0ff:e:14 inactive, 00:00:03
B   2a00:1b48:1001:1100::/56 [20/0] via 2a00:9700:2::c0ff:e:14 inactive, 
00:00:03
B   2a00:9700:1::/48 [20/0] via 2a00:9700:2::c0ff:e:14 inactive, 00:00:03
B   2a00:9700:2::/48 [20/0] via 2a00:9700:2::c0ff:e:14 inactive, 00:00:03
K>* 2a00:9700:2::c0ff:e:14/128 is directly connected, antero
C>* 2a00:9700:2::c0ff:e:15/128 is directly connected, antero
B   2a01:210::/32 [20/0] via 2a00:9700:2::c0ff:e:14 inactive, 00:00:03
B   2a01:5c80::/32 [20/0] via 2a00:9700:2::c0ff:e:14 inactive, 00:00:03
B   2a02:2560::/32 [20/0] via 2a00:9700:2::c0ff:e:14 inactive, 00:00:03
B   2a03:3100::/32 [20/0] via 2a00:9700:2::c0ff:e:14 inactive, 00:00:03
C>* fe80::/64 is directly connected, eth0
C>* fe80::5bd3:b90a/128 is directly connected, he-ipv6

А через несколько минут они бесследно пропадают

AS64667> show ipv6 route
Codes: K - kernel route, C - connected, S - static, R - RIPng, O - OSPFv3,
        I - ISIS, B - BGP, * - FIB route.

K>* ::/0 is directly connected, he-ipv6
C>* ::1/128 is directly connected, lo
C>* 2001:470:1f08:10be::/64 is directly connected, he-ipv6
C * 2001:470:1f09:10be::/64 is directly connected, he-ipv6
C>* 2001:470:1f09:10be::/64 is directly connected, eth0
K>* 2a00:9700:2::c0ff:e:14/128 is directly connected, antero
C>* 2a00:9700:2::c0ff:e:15/128 is directly connected, antero
C>* fe80::/64 is directly connected, eth0
C>* fe80::5bd3:b90a/128 is directly connected, he-ipv6

конфиг bgp:
hostname AS64667
password 123456
enable password 123456
log file /var/log/quagga/bgp.log
!
router bgp 64667
  bgp router-id 91.211.185.10
  bgp log-neighbor-changes
  neighbor 2a00:9700:2::c0ff:e:14 remote-as 48818
  neighbor 2a00:9700:2::c0ff:e:14 soft-reconfiguration inbound
  no neighbor 2a00:9700:2::c0ff:e:14 activate
!
  address-family ipv6
  network 2001:470:1f09:10be::/64
  neighbor 2a00:9700:2::c0ff:e:14 activate
  neighbor 2a00:9700:2::c0ff:e:14 route-map RPSISS-in in
  neighbor 2a00:9700:2::c0ff:e:14 route-map RPSISS-out out
  exit-address-family
!
ipv6 prefix-list upstream-out seq 10 permit 2001:470:1f09:10be::/64
!
route-map RPSISS-in permit 100
  set local-preference 700
!
route-map RPSISS-out permit 100
  match ipv6 address prefix-list upstream-out
!
line vty
!

конфиг зебры

hostname AS64667
password 123456
enable password 123456
log file /var/log/quagga/zebra.log
!
interface antero
  ipv6 nd suppress-ra
!
interface eth0
  ipv6 nd suppress-ra
!
interface gre0
  ipv6 nd suppress-ra
!
interface he-ipv6
  ipv6 nd suppress-ra
!
interface lo
!
interface sit0
  ipv6 nd suppress-ra
!
ip forwarding
ipv6 forwarding
!
!
line vty
  exec-timeout 0 0
!



Подробная информация о списке рассылки ubuntu-ru