Konfigurasi IP Address
PE 1 : 202.10.5.1/24 e1/1
PE 2 : 202.10.10.1/24 e1/0
LSR 1 : 202.10.5.2/24 e1/0
: 192.168.2.1/24 e1/1
LSR 2 : 192.168.2.2/24 e1/0
: 202.10.10.2/24 e1/1
Command Line : PE 1
router (config)# interface ethernet 1/1
router (config-if)# ip address 202.10.5.1 255.255.255.0
router (config-if)# no shutdown
Command Line : PE 2
router (config)# interface ethernet 1/0
router (config-if)# ip address 202.10.10.1 255.255.255.0
router (config-if)# no shutdown
Command Line : LSR 1
router (config)# interface ethernet 1/0
router (config-if)# ip address 202.10.5.2 255.255.255.0
router (config-if)# no shutdown
router (config)# interface ethernet 1/1
router (config-if)# ip address 192.168.2.1 255.255.255.0
router (config-if)# no shutdown
Command Line : LSR 2
router (config)# interface ethernet 1/1
router (config-if)# ip address 202.10.10.2 255.255.255.0
router (config-if)# no shutdown
router (config)# interface ethernet 1/0
router (config-if)# ip address 192.168.2.2 255.255.255.0
router (config-if)# no shutdown
Konfigurasi IP Interface Loopback
PE_1 : 192.168.100.1/32
PE_2 : 192.168.100.4/32
LSR_1 : 192.168.100.2/32
LSR_2 : 192.168.100.3/32
Command Line : contoh PE 1
router (config)# interface loopback 0
router (config-if)# ip address 192.168.100.1 255.255.255.255
Command Line : contoh PE 2
router (config)# interface loopback 0
router (config-if)# ip address 192.168.100.4 255.255.255.255
Command Line : contoh LSR 1
router (config)# interface loopback 0
router (config-if)# ip address 192.168.100.2 255.255.255.255
Command Line : contoh LSR 2
router (config)# interface loopback 0
router (config-if)# ip address 192.168.100.3 255.255.255.255
SETTING ROUTING DYNAMIC
PE 1
#router ospf 100
#network 192.168.1.0 0.0.0.255 area 100 core
#network 192.168.100.1 0.0.0.0 area 100 loopback PE1
PE 2
# router ospf 100
# network 192.168.3.0 0.0.0.255 area 100 core
# network 192.168.100.4 0.0.0.0 area 100 loopback PE2
LSR 1
# router ospf 100
# network 192.168.1.0 0.0.0.255 area 100 PE_1
# network 192.168.2.0 0.0.0.255 area 100 core
# network 192.168.100.2 0.0.0.0 area 100 loopback core
LSR 2
# router ospf 100
# network 192.168.3.0 0.0.0.255 area 100 PE_2
# network 192.168.2.0 0.0.0.255 area 100 core
# network 192.168.100.2 0.0.0.0 area 100 loopback core
Periksa router
# show ip route
Test Ping dari PE 1 Ke LSR 1
# ping 202.10.5.1
Aktifkan BGP
PE 1
# router bgp 100
# no synchronization
# neighbor 192.168.100.3 remote-as 100
# neighbor 192.168.100.3 update-source Loopback0
# no auto-summary
PE 2
# router bgp 100
# no synchronization
# neighbor 192.168.100.1 remote-as 100
# neighbor 192.168.100.1 update-source Loopback0
# no auto-summary
Cek Status BGP
# show ip bgp neighbors atau
# show ip bgp summary
statusnya harus Active
Aktifkan MPLS
PE 1
# ip cef
# mpls label protocol ldp
# mpls ldp router-id loopback0 force
# interface Ethernet 1/1 connect ke LSR 1
# ip address 202.10.5.1 255.255.255.0
# mpls ip
PE 2
# ip cef
# mpls label protocol ldp
# mpls ldp router-id loopback0 force
# interface Ethernet 1/0 connect ke LSR 2
# ip address 202.10.10.1 255.255.255.0
# mpls ip
LSR_ 1
# ip cef
# mpls label protocol ldp
# mpls ldp router-id loopback0 force
# interface Ethernet 1/0 connect ke PE 1
# ip address 202.10.5.1 255.255.255.0
# mpls ip
# exit
# ip cef
# mpls label protocol ldp
# mpls ldp router-id loopback0 force
# interface Ethernet 1/1 connect ke LSR 2
# ip address 172.16.5.1 255.255.255.0
# mpls ip
LSR_2
# ip cef
# mpls label protocol ldp
# mpls ldp router-id loopback0 force
# interface Ethernet 1/0 connect ke LSR 1
# ip address 202.10.10.1 255.255.255.0
# mpls ip
# exit
# ip cef
# mpls label protocol ldp
# mpls ldp router-id loopback0 force
# interface Ethernet 1/1 connect ke PE 2
# ip address 172.16.10.1 255.255.255.0
# mpls ip
Cek Status MPLS
# show mpls ldp neighbor
Semoga bermanfaat..............trims
Tidak ada komentar:
Posting Komentar