Kamis, 22 Desember 2011

Tutorial BGP dan MPLS

1. Konsep Subnetting
2. Penghitungan Subnetting
3. Subnetting pada IP Address Class A
4. Subnetting pada IP Address Class B
5. Subnetting pada IP Address Class C
6. Pengertian BGP
7. Pengertian MPLS
8. Tutorial BGP dan MPLS


KONFIGURASI IP ADDRESS
PE_1    : 192.168.1.1/24 -> e1/0
PE_2    : 192.168.3.2/24 -> e1/0
LSR_1 : 192.168.1.2/24 -> e1/0
            : 192.168.2.1 /24-> e1/1
LSR_2 : 192.168.2.2 /24-> e1/0
            : 192.168.3.1/24 -> e1/1

Command Line : contoh PE_1
router (config)# interface ethernet 1/0
router (config-if)# ip address  192.168.1.1 255.255.255.0
router (config-if# no shutdown


KONFIGURASI IP INTERFACE LOOPBACK
LSR_1 : 192.168.100.2/32
LSR_2 : 192.168.100.3/32
PE_1 : 192.168.100.1/32
PE_2 : 192.168.100.4/32

Command Line : contoh PE_1
router (config)# interface loopback 0
router (config-if)# ip address  192.168.100.1 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_1
# router ospf 100
# network 192.168.2.0 0.0.0.255 area 100 -> core
# network 192.168.3.0 0.0.0.255 area 100 -> PE_2
# network 192.168.100.2 0.0.0.0 area 100 -> loopback core
CEK ROUTING
Periksa router
# show ip route

Mencoba Ping dari PE_1 Ke LSR_1
# ping 192.168.1.2

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/0 -> connect ke LSR_1
# ip address 192.168.1.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 192.168.3.2 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 192.168.1.2 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 192.168.2.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 192.168.2.2 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 192.168.3.1 255.255.255.0
# mpls ip

Cek Status MPLS
# show mpls ldp neighbor

Tidak ada komentar:

Posting Komentar