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

BGP route distinguisher not working #15964

Open
2 tasks done
ChinmayaAgarwal opened this issue May 8, 2024 · 1 comment
Open
2 tasks done

BGP route distinguisher not working #15964

ChinmayaAgarwal opened this issue May 8, 2024 · 1 comment
Labels
triage Needs further investigation

Comments

@ChinmayaAgarwal
Copy link

Description

I have two VRFs vrf1 and dummy_vrf1, and i want to import routes learned in each vrf to the other one. But when I try the below config, I see the learned routes in their respective VRFs but not imported to other one. Also, I don't see rd and rt config being applied anywhere in the vtysh cli.

Version

FRRouting 8.0.1

How to reproduce

I have below config for the same:-

router bgp 65001 vrf dummy_vrf_1
 bgp router-id 192.168.251.124
 no bgp network import-check
 neighbor 24.2.1.102 remote-as 65001
 neighbor 2001:24:2:1::102 remote-as 65001
 !
 address-family ipv4 unicast
  neighbor 24.2.1.102 soft-reconfiguration inbound
  rd vpn export 65001:100
  rt vpn import 65001:100 65001:200
  rt vpn export 65001:100
  export vpn
  import vpn
 exit-address-family
 !
 address-family ipv6 unicast
  neighbor 2001:24:2:1::102 activate
  neighbor 2001:24:2:1::102 soft-reconfiguration inbound
 exit-address-family
!
router bgp 65001 vrf vrf_1
 bgp router-id 192.168.251.124
 no bgp network import-check
 neighbor 37.2.1.102 remote-as 65001
 neighbor 2001:37:2:1::102 remote-as 65001
 !
 address-family ipv4 unicast
  network 24.1.1.0/24
  network 48.1.1.0/24
  redistribute kernel
  neighbor 37.2.1.102 soft-reconfiguration inbound
  rd vpn export 65001:200
  rt vpn import 65001:200 65001:100
  rt vpn export 65001:200
  export vpn
  import vpn
 exit-address-family
 !
 address-family ipv6 unicast
  network 2001:24:1:1::/64
  network 2001:48:1:1::/64
  neighbor 2001:37:2:1::102 activate
  neighbor 2001:37:2:1::102 soft-reconfiguration inbound
 exit-address-family
!

Expected behavior

vtysh cli does not show any route distinguisher config:-

j3chysr01stg06# show bgp vrf er_vrf_1 ipv4 vpn
No BGP prefixes displayed, 0 exist
j3chysr01stg06#

Actual behavior

Ideally I should be seeing routes learned in vrf1 being imported to dummy_vrf1 and vice versa.

Additional context

No response

Checklist

  • I have searched the open issues for this bug.
  • I have not included sensitive information in this report.
@ChinmayaAgarwal ChinmayaAgarwal added the triage Needs further investigation label May 8, 2024
@ton31337
Copy link
Member

ton31337 commented May 8, 2024

Before spending the time digging if this is a real issue or not, could you verify if it's still the problem on the latest versions (9.1, 10.0, or even master)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Needs further investigation
Projects
None yet
Development

No branches or pull requests

2 participants