Tuesday, November 28, 2017

Different router id in vrf not working in BGP..what am I missing?

Hi Guys,

I am trying to setup L3VPN in my network. The requirement is that i have multiple ospf process with different router ids.

While my BGP runs with router id 100.1.1.1, i have a OSPF core of Segment routing that runs with router id 100.1.1.12. I want the L3VPN traffic to use the SR path.

I am trying to specify router id under vrf as 100.1.1.12 so that remote PE sees that routes are coming from neighbor 100.1.1.12 instead of 100.1.1.1 and then uses OSPF path for 100.1.1.12 to route traffic in SR core. But it doesn't seem to work as VPNv4 routes are being learnt by 100.1.1.1 instead.

What I am doing wrong? Does VPNv4 routes always use global router id instead of vrf? Is there any other solution to this?

RP/0/RP0/CPU0:R101-PE1#sh run router bgp 4134 vrf SR_1 router bgp 4134 vrf SR_1 rd 4134:4067 bgp router-id 100.1.1.12 label mode per-vrf address-family ipv4 unicast label mode per-vrf redistribute connected ! address-family ipv6 unicast label mode per-vrf redistribute connected ! ! ! RP/0/RP0/CPU0:R101-PE1#show bgp vpnv4 unicast vrf SR_1 BGP router identifier 100.1.1.1, local AS number 4134 BGP generic scan interval 60 secs Non-stop routing is enabled BGP table state: Active Table ID: 0x0 RD version: 0 BGP main routing table version 127898 BGP NSR Initial initsync version 1216 (Reached) BGP NSR/ISSU Sync-Group versions 0/0 BGP scan interval 60 secs Status codes: s suppressed, d damped, h history, * valid, > best i - internal, r RIB-failure, S stale, N Nexthop-discard Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 4134:4067 (default for vrf SR_1) *> 103.1.67.40/30 0.0.0.0 0 32768 ? *>i103.2.67.44/30 100.2.1.1 0 100 0 ? * i 100.2.1.1 0 100 0 ? Processed 2 prefixes, 3 paths 


No comments:

Post a Comment