BGP VPN4 problem on v6 & v7

This topic how to produce the problem.

this the topology made with GNS3 lab.
topology-PE-CE.jpeg.jpg
CE advertise it’s loopback ip 192.168.0.100 to PE1 & PE2 with diffrent path length, hope that short bgp_path will be choosen as we can see in PE3

try this steps:

  1. After CE rebooted everything looks fine. from PE3 we can see 192.168.0.100 with shorted path has been selected.
  2. After that try to disable peer PE-1 from CE, then we can see from PE3 that 192.168.0.100 with longest path has been selected
    3.Then try to enable again peer PE-1 from CE, then the problem happen, from PE3 we can still see 192.168.0.100 with longest path keep selected.
    4.To make sure now you can disable peer PE-2 from CE, now from PE3 we can see 192.168.0.100 with shorted path has been selected.
    5.Then try to enable peer PE-2 again from CE and from PE3 we can see 192.168.0.100 with shorted path still selected.

Problem happen exactly i explain at point 3 after prefix with longest path selected it wont come back to shorted path until we remove prefix with longest path from routing table.

I already try to replace PE with cisco or vyos problem point 3 did not happen. (see attachment for vyos configuration)

soon after peer PE-1 has been enabled, then we can see that prefix with shorted path selected.

i also found another problem, sometimes after disable peer from CE then enable it, sometime bgp stuck cannot established, until i have to enable/disable BGP on PE’s

hope everything clear maris, i already report this issues years.

please check and test this topology in yours labs.

thx
vyos-PE-1.txt (3.95 KB)
vyos-PE-2.txt (3.87 KB)
PE2-v7.rsc (3.27 KB)
PE3-v6.rsc (1.88 KB)
RR-1-v6.rsc (1.49 KB)
PE1-v7.rsc (3.43 KB)
PE2-v6.rsc (2.16 KB)
PE1-v6.rsc (2.23 KB)
CE-CUST01-v6.rsc (1.76 KB)

routes on PE received from CE and ones imported from vpnv4 are treated as routes from different instances, so bgp best path selection is not applied here.
v7 was initially made to work similarly to v6 until a proper solution is developed. This feature is currently being worked on, so you might see it already in one of the upcoming betas.

Bgp v7 now i dont think initialy the same v6.
Just fix it soon
For me, all the CCR2xxx we have bought are use less untill this bgp issue all solved and stable.

Check v7.9beta4

*) bgp - improved BGP VPN selection;

has RR been fixed?

yes

by using VRF?

@mrz

Is it possible to write changelog as below to omit unnecessary questions

*) bgp - improved BGP VPN selection;
rr - fixed
bfd - not fixed
report [abc-def-ghi] fixed
report [abc-def-jkl] fixed

I have tested,
path selection in v7 vpn4 as i describe above now works

i appreciate


thank’s maris