cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1468
Views
0
Helpful
1
Replies

Pseudowire With Multiple Input VLANs

ben.wiechman
Level 4
Level 4

We have a customer with multiple sites they want to hand off to us at two handoff points. At each handoff point we are to be provided with multiple vlans (5-8), one for each of their sites. Each vlan will have a specific prefix associated with it, with us providing their L3 gateway interface on an ASR 9k. 

 

We've been trying to come up with a way to handle each of the two handoffs within a single pw, but are struggling to come up with a way to ensure that the downstream traffic is classified in the appropriate vlan when we hand it back off to the customer. 

 

Would something like this work? 

 

 
Handoff interface at site1
int xxxx.x l2transport
encapsulation dot1q 210-217
rewrite ingress tag push dot1q OUTER_TAG sym
 
 
PE
(trunk interfaces to border router)
int yyyy.210 l2transport 
encapsulation dot1q 210
rewrite integress tag push dot1q OUTER_TAG sym
 
int yyyy.211 l2transport 
encapsulation dot1q 211
rewrite integress tag push dot1q OUTER_TAG sym
 
etc
 
l2vpn
bg
bd
  neighbor... pw-id blah
    backup neigh ... pw-id blah2
 
  int yyyy.210
  int yyyy.211
  int yyyy.212
 
And then on the Border build the L3 interfaces on each of those subinterfaces, add to IGP, etc? 
int zzzz1.210 
  encapsulation dot1q 210
  rewrite ingress tag pop 1 sym
  ipv4 address 1.1.1.1 255.255.255.0
  etc. 
 
 
1 Reply 1

sreenivasgajula
Level 1
Level 1

This is interesting. So, your customer has VLAN's 210-217 and you have to have a gateway for each VLAN.

I'd rather do it this way:

Hand-off to customer:

int yyyy.210 l2transport 
encapsulation dot1q 210
rewrite integress tag pop 1 symmetric
 
int yyyy.211 l2transport 
encapsulation dot1q 211
rewrite integress tag pop 1 symmetric
 Build l2vpn xconnect's to the border router.
l2vpn
 xconnect group
 int yyyy.210 l2transport 
neighbor ipv4 A.B.C.D pw-id XYZ
 
On the border router:
Create BVI's with gateway IP addresses associated with each VLAN.
interface BVI 210
ipv4 address x.y.z.z/xx
 
Create a bridge-domain for each VLAN;
bridge group XYZ
 bridge-domain XYZ
  neighbor ipv4 [hand-off router] pw-id XYZ
  "add another PW for other hand-off sites if needed"
routed interface BVI 210
 
Add all the BVI's to an IGP
router ospf 1
area 0
interface BVI 210
interface BVI 211
....etc
 
Are these routers dedicated for this customer? Reason being all the routes would be in the global routing table....
Let me know if this makes sense.