Link to home
Start Free TrialLog in
Avatar of bominthu
bominthuFlag for Myanmar

asked on

Vlan ID in vrf network

Hi Experts

I have VRF setup in one of my customers Cisco network and I need to create new Vlan in existing VRF Network.

If I create a new Vlan associated to existing VRF, can Vlan ID be the same in one router from another? Or Vlan ID has to be different between routers?
Avatar of atlas_shuddered
atlas_shuddered
Flag of United States of America image

It can be the same.  The VRF is a logical/virtual boundary between routing/interface instances.  You just can't create duplicate VLAN IDs inside a given VRF.
Avatar of bominthu

ASKER

Sorry I a bit confuse. You mentioned "it can be the same".

Could you please elaborate more on "You just can't create duplicate VLAN IDs inside a given VRF." ?

My setup is I got same VRF across the routers and I get to a situation where I need to create a Vlan in one of the routers.
The new Vlan ID I'm going to create on one of the routers suppose to be the same as existing Vlan IDs in the other router or it needs to be different?
In my test I created same or different Vlan ID in the other router (but different subnet) , it still works. So I'm a bit confuse, whether I supposed to create same Vlan ID or different Vlan ID in the router I need to create Vlan?

Thanks
You can create vlan 100 inside two different VRF's.  ex.  VRF Customer A and VRF Customer B can both contain a VLAN 100

You cannot create two vlan 100's inside the same VRF.  ex VRF Customer A cannot contain VLAN 100 and VLAN 100

VRF's are locally significant to each router so if you create the same VRF on two distinct routers the rules apply to each router individually, not to the routers in a group.  Ex. - you can build VLAN 100 in VRF Customer A on both Router 1 and Router 2.  

The question about creating the same subnet on two different routers is the same as it would be without VRFs.  You would have to NAT the traffic on both routers in order to affect communications between.  You cannot have two routers sharing the same subnet be in the same routing path and be aware of each others routes.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.