Jumat, 16 November 2012

Lab 105. MPLS VPN - PE CE Static Routing

Objective :
  • Mempelajari konfigurasi membuat Jaringan MPLS VPN dengan menggunakan Static Routing Pada koneksi Router PE dan CE
Topologi Lab
Konfigurasi PE1

!
ip vrf bca.kiri
 rd 65000:2
 route-target export 65000:2
 route-target import 65000:2
!
ip vrf bri.kiri
 rd 65000:1
 route-target export 65000:1
 route-target import 65000:1
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet1/0
 description ###Link to P Router###
 ip address 12.12.12.1 255.255.255.0
 duplex auto
 speed auto
 mpls ip
!
interface FastEthernet1/1
 description ###Link to BCA###
 ip vrf forwarding bca.kiri
 ip address 10.10.10.1 255.255.255.252
 duplex auto
 speed auto
!
interface FastEthernet2/0
 description ###Link to BRI###
 ip vrf forwarding bri.kiri
 ip address 10.10.10.1 255.255.255.252
 duplex auto
 speed auto
!
router ospf 1
 log-adjacency-changes
 network 1.1.1.1 0.0.0.0 area 0
 network 12.12.12.1 0.0.0.0 area 0
!
router bgp 65000
 no synchronization
 bgp log-neighbor-changes
 neighbor 3.3.3.3 remote-as 65000
 neighbor 3.3.3.3 update-source Loopback0
 no auto-summary
 !
 address-family vpnv4
  neighbor 3.3.3.3 activate
  neighbor 3.3.3.3 send-community extended
 exit-address-family
!

Konfigurasi P Router 

 !
interface Loopback0
 ip address 2.2.2.2 255.255.255.255
!
interface FastEthernet1/0
 description ###Link to PE1 Router###
 ip address 12.12.12.2 255.255.255.0
 duplex auto
 speed auto
 mpls ip
!
interface FastEthernet1/1
 description ###Link to PE2 Router###
 ip address 23.23.23.2 255.255.255.0
 duplex auto
 speed auto
 mpls ip
!
router ospf 1
 log-adjacency-changes
 network 2.2.2.2 0.0.0.0 area 0
 network 12.12.12.2 0.0.0.0 area 0
 network 23.23.23.2 0.0.0.0 area 0
!

Konfigurasi PE2

!
ip vrf bca.kanan
 rd 65000:2
 route-target export 65000:2
 route-target import 65000:2
!
ip vrf bri.kanan
 rd 65000:1
 route-target export 65000:1
 route-target import 65000:1
!
interface Loopback0
 ip address 3.3.3.3 255.255.255.255
!
interface FastEthernet1/0
 description ###Link to P Router###
 ip address 23.23.23.3 255.255.255.0
 duplex auto
 speed auto
 mpls ip
 !
interface FastEthernet1/1
 description ###Link to BRI###
 ip vrf forwarding bri.kanan
 ip address 10.10.10.5 255.255.255.252
 duplex auto
 speed auto
 !
interface FastEthernet2/0
 description ###Link to BCA###
 ip vrf forwarding bca.kanan
 ip address 10.10.10.5 255.255.255.252
 duplex auto
 speed auto
!
router ospf 1
 log-adjacency-changes
 network 3.3.3.3 0.0.0.0 area 0
 network 23.23.23.3 0.0.0.0 area 0
!
router bgp 65000
 no synchronization
 bgp log-neighbor-changes
 neighbor 1.1.1.1 remote-as 65000
 neighbor 1.1.1.1 update-source Loopback0
 no auto-summary
 !
 address-family vpnv4
  neighbor 1.1.1.1 activate
  neighbor 1.1.1.1 send-community extended
 exit-address-family
!

Konfigurasi CE1_BRI

!
interface Loopback1
 ip address 11.11.11.11 255.255.255.255
!
interface FastEthernet1/0
 description ###Link to MPLS###
 ip address 10.10.10.2 255.255.255.252
 duplex auto
 speed auto
 !
ip route 0.0.0.0 0.0.0.0 10.10.10.1
!
Konfigurasi CE2_BRI

 !
interface Loopback1
 ip address 22.22.22.22 255.255.255.255
!
interface FastEthernet1/0
 description ###Link to MPLS###
 ip address 10.10.10.6 255.255.255.252
 duplex auto
 speed auto
 !
ip route 0.0.0.0 0.0.0.0 10.10.10.5
!



1. Konfigurasi Static Routing (bri.kiri dan bri.kanan)

Router PE1 

Router PE2

2. Konfigurasi IP Address Router CE

Router CE1_BRI
Router CE2_BRI

Verifikasi Lab

Periksa routing tabelnya
Lakukan test ping dan traceroute

1 komentar:

  1. om, itu konfigurasi di CE1_BCA dan CE2_BCA untuk static routingya sama seperti CE1_BRI & CE2 _BRI atau beda ya?

    BalasHapus