Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GoBGP not generating Path-ID automatically for vpnv4 routes even after enabling add-path send capability #2819

Open
AnanthNantha opened this issue Jun 19, 2024 · 0 comments

Comments

@AnanthNantha
Copy link

I have enabled add-path send capability for my BGP peer. I am adding two vpnv4 routes.

[user@test]# gobgp global rib -a vpnv4 add 22.22.22.22/32 label 100 rd 55:1 origin igp aspath 7777,8888 nexthop 111.0.0.1 rt 55:1
[user@test]# gobgp global rib -a vpnv4
Network Labels Next Hop AS_PATH Age Attrs
*> 55:1:22.22.22.22/32 [100] 111.0.0.1 7777 8888 00:00:05 [{Origin: i} {Extcomms: [55:1]}]

Then I am adding an another route with same prefix, but different AS-path and nexthop.
[user@test]# gobgp global rib -a vpnv4 add 22.22.22.22/32 label 100 rd 55:1 origin igp aspath 1,2 nexthop 112.0.0.2 rt 55:1
[user@test]# gobgp global rib -a vpnv4
Network Labels Next Hop AS_PATH Age Attrs
*> 55:1:22.22.22.22/32 [100] 112.0.0.2 1 2 00:00:04 [{Origin: i} {Extcomms: [55:1]}]

While adding the second route, it is overwriting the previous route.

I tried adding identifier option. But looks like it is available/working only for ipv4 address family. It is not working for vpnv4. But anyway irrespective of the identifier, gobgp should generate PATH-ID itself right? I mean I don't remember configuring any path-identifier manually in Junos devices.

Please let me know if I am missing something here.

@AnanthNantha AnanthNantha changed the title GoBGP not generating Path-ID automatically for vpnv4 routes evem after enabling add-path send capability GoBGP not generating Path-ID automatically for vpnv4 routes even after enabling add-path send capability Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant