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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.