Jump to content
Калькуляторы

не задаётся bgp_next_hop

Вот имеем конфиг:

protocol bgp main from templ_65302 {
       neighbor fd00:10:1::1 as 65301;
#       source address fd00::1;
#       table main_routers;
       export filter { bgp_next_hop=fd00:10:1::8; accept; };
}

 

Но на удалённом роутере:

 

BIRD 1.4.5 ready.
2001:470:c3de:104::/64 via fd00:10:1::6 on eth1 [ipip0 12:20:24] * (100) [AS65302i]
Type: BGP unicast univ
BGP.origin: IGP
BGP.as_path: 65302
BGP.next_hop: fd00:10:1::6 fe80::b8a7:90ff:fea4:5854
BGP.local_pref: 100

 

Как видим next hop в ipv6 bgp не меняется. Хотя если прописать next hop из другой сети, то он изменяется нормально. В IPv4 данный параметр работает нормально.

Что я делаю не так?

Edited by ne-vlezay80

Share this post


Link to post
Share on other sites

Покажите шаблон этого пира. Случаем, там не у Вас чего-нибудь вроде next-hop self или next-hop keep? Так же покажите конфиг пира с удалённого роутера. Там тоже есть опции типа gateway, которые влияют на непосредственную калькуляцию адреса следующего хопа.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now