Hi,
Belong my Vyos Lab :
All eBGP execpt Vy6 -> Vy-7 iBGP
From Vy4 I can reach all network (router) in this configuration :
SHOW IP ROUTE (Vy4)
Encore from Vy4 when i type traceroute on last Vy (Vy8) :
So Vy-5 -----> Vy-7 -----> Vy-6 -----> Vy-8
My question is, how i can select route more direct to reach Vy-8
I presume metric configuration,…
Thanks in advance.
rob
May 29, 2020, 10:26pm
3
Hi,
your Router Vy-4 only have its next hop. Vy-5 decides which next nexthop will be used. On Vy-5 you can manipulate the route selection in a import route-map, for example with change the weight.
https://docs.vyos.io/en/latest/configuration/protocols/bgp.html#route-selection
1 Like
Hello Rob,
Thanks for your reply.
I changed the redistribute on Vy-7
set protocols bgp 44501 address-family ipv4-unicast redistribute connected metric ‘10’
On Vy-4
Vy-5
rob
June 2, 2020, 8:32pm
6
Hi,
the value in the brackets are a the tag. You can check the weight or other bgp related infos with:
show ip bgp
you set the weight to the prefix, but both router 100.100.100.6 and 102.102.102.7 propagate this prefix.
One option is create a route-map per neighbor or you match with e.g. the interface in the route-map
1 Like
Vy-5
Vy-6
Vy-7
TRACEROUTE Vy-4
So seems OK, ben when i disconnect link Vy-6 with Vy-5 i can’t reach Vy-8 on LAN 103.xxx
I need to add a prefix list for LAN 103 to advertise Vy-7
system
Closed
June 5, 2020, 6:38am
8
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.