Hello,
The length of an AS_CONFED_SEQUENCE is considered 0 (RFC 5065, 5.3 3)).
I think in your case, the tie break could be the router ID.
On 2024-11-05 15:38, Yakimus // Netassist NOC wrote:
Hello!
I have an example of working BGP confederation, where, as I supose, the route
is chosen not in the best way
Could someone explain why the first route looks better than the second one?
Both are IGP, both have equal preference, but the second one have shorter
as_path
BIRD 2.0.12 ready.
Table master4:
194.145.125.0/24 unicast [LVI_v4 2024-11-03] * (100) [AS39063i]
via xx.xxx.132.22 on eth0.776
Type: BGP univ
BGP.origin: IGP
BGP.as_path: (43426 211288 29390) 39063
BGP.next_hop: xx.xxx.132.22
BGP.local_pref: 100
unicast [DEAS_v4 2024-11-03] (100) [AS39063i]
via xx.xxx.132.19 on eth0.776
Type: BGP univ
BGP.origin: IGP
BGP.as_path: (29390) 39063
BGP.next_hop: xx.xxx.132.19
BGP.local_pref: 100
--
NETassist