Evil_TTL> show | s

MPLS VPN L2 Point to Point

Category:Cisco Systems -> Routing and Switching

Also known as Ethernet over MPLS (EoMPLS). Main difference from VPLS is in its nature of being point to point only.

MPLS-VPN-L2-PtP.JPG

PE1

interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 xconnect 4.4.4.4 10 encapsulation mpls
!
interface 
FastEthernet1/0
 ip address 192.168.5.1 255.255.255.252
 duplex auto
 speed auto
 mpls ip
!
router ospf 1
 router
-id 10.10.10.10
 log
-adjacency-changes
 network 10.10.10.10 0.0.0.0 area 0
 network 192.168.5.0 0.0.0.255 area 0
 network 192.168.7.0 0.0.0.255 area 0

PE1
#
*Mar  1 00:12:10.279: %OSPF-5-ADJCHGProcess 1Nbr 8.8.8.8 on FastEthernet1/0 from LOADING to FULLLoading Done
*Mar  1 00:12:21.455: %LDP-5-NBRCHGLDP Neighbor 8.8.8.8:(1is UP
*Mar  1 00:12:34.835: %LDP-5-NBRCHGLDP Neighbor 4.4.4.4:(2is UP 

PE2

interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
 xconnect 10.10.10.10 10 encapsulation mpls
!
interface 
FastEthernet0/1
 ip address 192.168.4.2 255.255.255.252
 duplex auto
 speed auto
 mpls ip
!
router ospf 1
 router
-id 4.4.4.4
 log
-adjacency-changes
 network 4.4.4.4 0.0.0.0 area 0
 network 192.168.4.0 0.0.0.3 area 0
 network 192.168.7.0 0.0.0.3 area 0

PE2
#
*Mar  1 00:03:16.135: %OSPF-5-ADJCHGProcess 1Nbr 8.8.8.8 on FastEthernet0/1 from LOADING to FULLLoading Done
*Mar  1 00:03:25.343: %LDP-5-NBRCHGLDP Neighbor 8.8.8.8:(1is UP
*Mar  1 00:03:39.639: %LDP-5-NBRCHGLDP Neighbor 10.10.10.10:(2is UP 

P1

interface Loopback0
 ip address 8.8.8.8 255.255.255.0
 ip ospf 1 area 0
!
interface 
FastEthernet0/0
 ip address 192.168.5.2 255.255.255.252
 ip ospf 1 area 0
 duplex auto
 speed auto
 mpls ip
!
interface 
FastEthernet0/1
 ip address 192.168.4.1 255.255.255.252
 ip ospf 1 area 0
 duplex auto
 speed auto
 mpls ip 

CE1_R1

CE1_R1#sh run int fa0/1

 
ip address 192.168.2.1 255.255.255.252
 duplex auto
 speed auto
end

CE1_R1
#ping 192.168.2.2

Type escape sequence to abort.
Sending 5100-byte ICMP Echos to 192.168.2.2timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max 76/82/88 ms
CE1_R1
#trace
CE1_R1#traceroute 192.168.2.2

Type escape sequence to abort.
Tracing the route to 192.168.2.2

  1 192.168.2.2 76 msec 
*  92 msec
CE1_R1

CE1_R2

CE1_R2#sh run int fa0/1

interface FastEthernet0/1
 ip address 192.168.2.2 255.255.255.252
 duplex auto
 speed auto
end 

Also see MPLS VPN L3

Alternate approach: File:MPLSL2.pdf

Reminder network topology concept for future. The point of the concept is to use P2P links to create a star topology with the equipment that doesn’t have VPLS functionality. I didn’t check if it works at all but why not give it a try:
EoMPLS-10.jpg

 

By privilege15