MPLS Layer 2 VPN Deployment between Remote Customer Site (Huawei Routers)

 


Lets consider a basic example of layer 2 VPN deployment  for customers that want to connect remote site that are in the same subnet.

Let's divide it into 2 parts:

1- Setting up a basic ISP environment.

  • Enabling an IGP (OSPF/ISIS)
  • Enabling MPLS
  • Enabling MPLS LDP / L2VPN
  • Setting up LDP remote Peering 

2- Connecting the customer side with the ISP


Let's start by setting up the ISP environment.

Configurations of Router (R5, R6, R7, R8):

Assign a loopback ip, example R5 has 5.5.5.5.

For Interface IPs the scheme is as follows: 

The first two octets are constant : 10.1.

3rd Octet is the connecting Routers ascending order,e.g. (R5-R7) : 10.1.57.

4th Octet is the Router Number itself, e.g. (R5): 10.1.57.5 

So this would be the interface IP on Router 5 - Gig 0/0/2

Run OSPF on each ISP router:

 





Run MPLS and MPLS LDP / L2VPN on all the routers.
An example from Router 8 is given.



Now enable MPLS LDP remote peering on both PEs and give the same VC-ID on both sides




Now on the customer side they just need to input the IPs, and all of the connectivity is taken care of.

We can ping from R1 to R3.

If we see the Wireshark trace of the above ping on the customer side, it looks like the sites are connected to a switch.

And if we see the capture inside the ISP, it gets switched through MPLS.


 

Please do comment with your feedback about the article, what can bettered? which aspect do you find interesting?
What topics do you want me to explore in depth?
I'm planning on doing some IGP/MPLS troubleshooting.
If you want the lab files, do mention in the comments, and share your mail. 

Share your thoughts, thanks for the read.

Comments

Popular posts from this blog

Denial of Service : Ping of Death [Kali Linux]

GRE over IPSEC Tunnel

OSPF Special Areas