Tuesday 5 February 2013

AToM_Interworking(Ethernet to Frame-Relay)

 
 
 
Ethernet         - R1>R4
Frame-Relay - R3>R5
 
Configuration
 
R1
 
pseudowire-class R4R5
 encapsulation mpls
 interworking ip
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet1/0
 ip address 192.168.12.1 255.255.255.0
 speed auto
 duplex auto
 mpls ip
!
interface FastEthernet1/1
 no ip address
 speed auto
 duplex auto
 no keepalive
 xconnect 3.3.3.3 1435 pw-class R4R5
!
router ospf 1
 log-adjacency-changes
 network 1.1.1.1 0.0.0.0 area 0
 network 192.168.12.1 0.0.0.0 area 0

R2
 
interface FastEthernet0/0
 ip address 192.168.12.2 255.255.255.0
 speed 100
 full-duplex
 mpls ip
!
interface FastEthernet0/1
 ip address 192.168.23.2 255.255.255.0
 speed 100
 full-duplex
 mpls ip
!
router ospf 1
 log-adjacency-changes
 network 192.168.12.2 0.0.0.0 area 0
 network 192.168.23.2 0.0.0.0 area 0

R3
 
frame-relay switching
!
pseudowire-class R4R5
 encapsulation mpls
 interworking ip
!
interface Loopback0
 ip address 3.3.3.3 255.255.255.255
!
interface POS1/0
 mtu 1500
 no ip address
 encapsulation frame-relay
  frame-relay intf-type dce
!
interface FastEthernet2/0
 ip address 192.168.23.3 255.255.255.0
 speed auto
 duplex auto
 mpls ip
!
router ospf 1
 log-adjacency-changes
 network 3.3.3.3 0.0.0.0 area 0
 network 192.168.23.3 0.0.0.0 area 0
!
connect FR POS1/0 45 l2transport
 xconnect 1.1.1.1 1435 pw-class R4R5

R4
 
interface Loopback0
 ip address 4.4.4.4 255.255.255.255
!
interface FastEthernet0/0
 ip address 192.168.45.4 255.255.255.0
 ip ospf network point-to-point
!
router ospf 1
 log-adjacency-changes
 network 4.4.4.4 0.0.0.0 area 0
 network 192.168.45.4 0.0.0.0 area 0

R5
 
interface Loopback0
 ip address 5.5.5.5 255.255.255.255
!
interface POS1/0
 mtu 1500
 ip address 192.168.45.5 255.255.255.0
 encapsulation frame-relay
 ip ospf network point-to-point
 frame-relay map ip 192.168.45.4 45 broadcast
!
router ospf 1
 log-adjacency-changes
 network 5.5.5.5 0.0.0.0 area 0
 network 192.168.45.5 0.0.0.0 area 0
 
Verification
 
R1#show mpls l2transport vc
Local intf     Local circuit              Dest address    VC ID      Status
-------------  -------------------------- --------------- ---------- ----------
Fa1/1          Ethernet                   3.3.3.3         1435       UP
R4#ping 192.168.45.5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.45.5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 48/86/144 ms



No comments:

Post a Comment