Configure MPLS L2 VPN (VPLS) between two branches !!!

Configuration MPLS L2 VPN (VPLS) between two branches !!!





Your tasks are:

1- R2(f0/0) not assign IP   R5(f0/1) no assign IP.
2- Apply routing protocol RIP v2 on R1 & R6 .
3- Apply OSPF on R2-R3-R4-R5, but R2 (23.0.0.0 & 2.2.2.2) no route with 16.0.0.0  and  R6 the same.
4- Company has two branches (16.0.0.1  -   16.0.0.6)
5- MPLS not need know network of customers into PE & P,  so customer network not need route   into core.


R1:

en
conf t
interface f0/0
no shutdown
ip address 16.0.0.1 255.0.0.0

interface loopback 0
ip address 1.1.1.1 255.255.255.255

router rip
network 16.0.0.0  
network 1.0.0.0   
version 2
no auto-summary
end

wr me

---------------
R2:

en
conf t
mpls ip
interface f0/1
no shutdown
ip address 23.0.0.3 255.0.0.0
mpls ip

interface loopback 0
ip address 2.2.2.2 255.255.255.255

router ospf 1
network 23.0.0.0  0.255.255.255 area 0
network 2.0.0.0   0.255.255.255  area 0
end

wr me

--------------------
R3:

en
conf t
mpls ip
interface f0/0
no shutdown
ip address 23.0.0.3 255.0.0.0
mpls ip

interface f0/0
no shutdown
ip address 34.0.0.3 255.0.0.0
mpls ip

interface loopback 0
ip address 3.3.3.3 255.255.255.255

router ospf 1
network 23.0.0.0  0.255.255.255 area 0
network 34.0.0.0  0.255.255.255 area 0
network 3.0.0.0   0.255.255.255  area 0
end

wr me

------------------
R4:

en
conf t
mpls ip
interface f0/1
no shutdown
ip address 45.0.0.5 255.0.0.0
mpls ip

interface f0/0
no shutdown
ip address 34.0.0.4 255.0.0.0
mpls ip

interface loopback 0
ip address 4.4.4.4 255.255.255.255

router ospf 1
network 45.0.0.0  0.255.255.255 area 0
network 34.0.0.0  0.255.255.255 area 0
network 4.0.0.0   0.255.255.255  area 0
end

wr me

-----------------
R5:

en
conf t
mpls ip
interface f0/0
no shutdown
ip address 45.0.0.3 255.0.0.0
mpls ip

interface loopback 0
ip address 5.5.5.5 255.255.255.255

router ospf 1
network 45.0.0.0  0.255.255.255 area 0
network 5.0.0.0   0.255.255.255  area 0
end

wr me

--------------------
R6:

en
conf t
interface f0/0
no shutdown
ip address 16.0.0.6 255.0.0.0

interface loopback 0
ip address 6.6.6.6 255.255.255.255

router rip
network 16.0.0.0  
network 6.0.0.0   
version 2
no auto-summary
end

wr me

-------------------------------------------
Test IP MPLS and routing protocol: 



-----------------------
Configure R2 with MPLS-L2:

pseudowire-class   R1_L2-R6_L2
  encapsulation mpls

interface f0/0

  xconnect 5.5.5.5  1 pw-class R1_L2-R6_L2

--------------------------------------
Configure R5 with MPLS-L2:

pseudowire-class   R6-R1BRIDGE
  encapsulation mpls

interface f0/1
  xconnect 2.2.2.2  1 pw-class R6-R1BRIDGE

---------------------------------------------
Test MPLS-L2:

More Secure with MPLS L2 VPN:



----------------------------------------------------------------------------------------------------------
Good Luck https://www.linkedin.com/in/ahmedms/



Comments

Popular posts from this blog

Kubernetes 104: Create a 2-node k3s cluster with k3sup

DevNet 103: Network Automation Using Python

How to configure OSPF on Palo Alto Networks Firewall?