cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2169
Views
6
Helpful
4
Replies

VRF forwarding on subinterfaces

royalblues
Level 10
Level 10

Is it possible to run the VRF's over subinterfaces.

I want a PE which will be connected to a L2 switch on a dotq trunk and will have two subinterfaces corresponding to 2 customers to forward the traffic out the proper sub interfaces.

The switch is a pure L2 switch and is not possible to run VRF lite on it.

The setup works perfectly when both the customers are terminated on different LAN interface.

Is there any special configuration required to make this work with subinterfaces?

Narayan

4 Replies 4

Michael Odom
Level 4
Level 4

There shouldn't be anything special, just run the ip vrf forwarding command on the sub-interface.

I have this configuration in my network using 3700 and 3800 routers, and Cat6K/Sup720, with no issues.

Hi Narayan,

I agree with Michael, there shouldn't be anything special, we have this setup in production using 7204VXR (NPE-300 and NPE-G1) and Cat6K/Sup2 with no problem, try to investigate your IOS feature set.

regards,

Mohammed.

Thanks for the inputs.

I had tried this setup on dynamips and the moment i added the the 2nd subinterface, it broke everything.

Mohammed / Michael, are you sure you are not running VRF lite on the CAT6K cos the switch i ahev shown in the diagram is a 2950 L2 switch

Narayan

Dear Narayan,

You shouldn't need VRF lite on the switch (it should be a pure layer 2 switch), this setup is up an running in our in production network without any problems, kindly check your PE IOS most probably it is the problem.

CE(neither VRF nor VLAN aware) --> L2 switch (with VLAN per customer and dot1q trunking with the PE) --> PE (dot1q subinterface per customer with the ip vrf forwarding command under it).

HTH,

Mohammed.

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: