cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
927
Views
0
Helpful
3
Replies

VRF-Lite - Implications of using Loopback not in VRF as the Router-Id

vdadlaney
Level 1
Level 1

Hi, I have multiple vrf's configured on a device and than a shared vrf. The shared VRF is used to form a ipv4 iBGP session between a redundant horizontal switch and an eBGP session with a downstream switch across a firewall. All the interfaces on this switch will be SVIs and they are in a VRF. I have a Loopback 0 interface configured however I haven't made that part of a VRF and its part of the Global RT. I have a Loopback 1 which I have in the shared VRF which is used for the iBGP peering.

1. Is there any downside to using loopback 0 as the BGP Router-ID even though the other devices cannot reach Loopback 0 since its not being advertised?

2. Since Loopback0 is in the Global RT and the rest of the environment is only reachable via the Shared VRF is there any way to advertise this loopback in the shared VRF? I tried creating a VRF static route with a 'Global' keyword however am not sure what I should specify for the return traffic or what kind of route I should enter in the Global RT. Thx for your help.

3 Replies 3

Reza Sharifi
Hall of Fame
Hall of Fame

Hi Reza,

Thanks for the reply. I had read that post however I was more interested in the question which relates to using the loopback0 which is not a part of the VRF as a router-id in BGP even though its not advertised anywhere. What would be the impact of doing this. thx

Hi,

You can use the Loopback IP address as a BGP router-id even if you dont advertise it at all.

In MPLS VPN, you can assign per-VRF BGP router-id meaning different router-IDs for each VRF under IPv4 Address-family.

http://www.cisco.com/en/US/docs/ios/12_2sr/12_2sra/feature/guide/srbgprid.html

However, I am not sure what advantage you will get by using different a IP address to form peer and a different router-id.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: