Ethernet over MPLS

February 11, 2010 at 4:33 pm | Posted in MPLS | Leave a comment

Topology

R7 --- R1(PE) --- R3(P) --- R2(PE) ---- R8

Default INE SP topology need to be modified to get R2 Fa0/0 connected to R8 Fa1/2 (instead of R7 Fa1/2)

Configuration

 

R1_PE1#
!
hostname R1_PE1
!
mpls ldp router-id Loopback0
!
!
interface Loopback0
 ip address 123.1.1.1 255.255.255.255
 no clns route-cache
!
interface FastEthernet0/0
 no ip address
 duplex full
 no clns route-cache
 no shut
!
interface FastEthernet0/0.100
 encapsulation dot1Q 100
 no cdp enable
 xconnect 123.1.1.3 123 encapsulation mpls
!
!
interface Serial2/1
 ip address 13.0.0.1 255.255.255.0
 mpls ip
 no shut
!
router ospf 100
 log-adjacency-changes
 network 13.0.0.1 0.0.0.0 area 0
 network 123.1.1.1 0.0.0.0 area 0
!
ip classless
!

R3_P#
!
hostname R3_P
mpls ldp router-id Loopback0
!
!
interface Loopback0
 ip address 123.1.1.3 255.255.255.255
!
interface Serial1/2
 ip address 13.0.0.3 255.255.255.0
 mpls ip
 no shut
!
interface Serial1/3
 ip address 23.0.0.3 255.255.255.0
 mpls ip
 no shut
!
router ospf 100
 log-adjacency-changes
 network 13.0.0.3 0.0.0.0 area 0
 network 23.0.0.3 0.0.0.0 area 0
 network 123.1.1.3 0.0.0.0 area 0
!

R2_PE2#sh run

hostname R2_PE2
!
mpls ldp router-id Loopback0

!
interface Loopback0
 ip address 123.1.1.2 255.255.255.255
 no clns route-cache
!
interface FastEthernet0/0
 no ip address
 duplex full
 no shut
!
interface FastEthernet0/0.100
 encapsulation dot1Q 100
 no cdp enable
 xconnect 123.1.1.3 123 encapsulation mpls
!
interface Serial2/1
 ip address 23.0.0.2 255.255.255.0
 mpls ip
 no shut
!
router ospf 100
 log-adjacency-changes
 network 23.0.0.2 0.0.0.0 area 0
 network 123.1.1.2 0.0.0.0 area 0
!
ip classless

Verification

R7#

vlan 100
!
interface Vlan100
 ip address 100.100.100.7 255.255.255.0

interface FastEthernet1/1
 description connected to R1 Fa0/0
 switchport mode trunk
 no shut

R8#

vlan 100
!
interface Vlan100
 ip address 100.100.100.8 255.255.255.0

interface FastEthernet1/2
 description connected to R2 Fa0/0
 switchport mode trunk
 no shut

R1_PE1#sh mpls l2transport vc

Local intf     Local circuit        Dest address    VC ID      Status   
-------------  -------------------- --------------- ---------- ----------
Fa0/0.100      Eth VLAN 100         123.1.1.2       100        UP       

R7#ping 100.100.100.8

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.8, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/91/152 ms

R7#sh arp
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  100.100.100.7           -   cc06.2f08.0000  ARPA   Vlan100
Internet  100.100.100.8          43   cc07.2f10.0000  ARPA   Vlan100
Advertisements

Leave a Comment »

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.
Entries and comments feeds.

%d bloggers like this: