cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
713
Views
0
Helpful
2
Replies

MPLS with 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

2 Replies 2

alexander.muhin
Level 1
Level 1

Hi Narayan,

It's not a problem.

Here is an example (PE1):

!

interface FastEthernet0/0

no ip address

no shutdown

!

interface FastEthernet0/0.1

description VRF EFS

encapsulation dot1Q 2

ip vrf forwarding EFS

ip address 144.12.16.1 255.255.255.0

no ip redirects

no ip proxy-arp

no shutdown

!

interface FastEthernet0/0.2

description VRF VoIP

encapsulation dot1Q 3

ip vrf forwarding VoIP

ip address 172.16.2.1 255.255.255.0

no ip redirects

no ip proxy-arp

no shutdown

!

Regads,

Alexander

Thanks Alexander,

I had tried this on Dynamips simulation but it failed as soon as i created a 2nd subinterface. Will try it once again

I do not have lab equipments to try this out and hence wanted to confirm before i decide on this

Narayan

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: