Jumat, 18 November 2016

konfigurasi dan verifikasi bgp


1. KONFIGURASI DASAR SETIAP ROUTER
§  Konfigurasi dasar2 routing dengan IOS CLI,seperti hostname,  passwords, dan interface addresses. Jangan konfigurasi routingnya.
§  Konfigurasi host PC meliputi :IP address dan subnet mask pada jaringan lokal di belakang CR router dengan default gateway 192.168.1.1
§  Konfigurasi loopback interface dengan sebuah IP address untuk router  ISP1 dan ISP2, seperti ditunjukkan pada diagram topologi di atas.  Loopback interface adalah interface virtual yang mensimulasikan jaringan nyata untuk tujuan pengujian. Konfigurasi Loopback Interface pada router ISP1.
ISP1>ENABLE
ISP1(CONFIG)#INTERFACE LOOPBACK0
ISP1(CONFIG-IF)#IP ADDRESS 192.168.100.1 255.255.255.0
ISP1#CONFIGURE TERMINAL
§  Konfigurasi Loopback Interface pada router ISP2
ISP2>ENABLE
ISP2#CONFIGURE TERMINAL
ISP2(CONFIG)#INTERFACE LOOPBACK0
ISP2(CONFIG-IF)#IP ADDRESS 192.168.200.1 255.255.255.0
2.  KONFIGURASI  DEFAULT DAN STATIC ROUTES
§  Pada router CR, konfigurasi default route sehingga user akan memiliki akses ke ISP1:
CR(CONFIG)#IP ROUTE 0.0.0.0 0.0.0.0 10.10.10.2
§  Pada router ISP1 , konfigurasi  static route untuk meneruskan  paket menuju jaringan customer/CR:
ISP1(CONFIG)#IP ROUTE 192.168.1.0 255.255.255.0 10.10.10.1
§  Tes koneksi dengan perintah ping dari host ke ISP1 yaitu ke alamat 10.10.10.2
3.  KONFIGURASI BGP PADA KEDUA ROUTER ISP
§  Konfigurasi BGP pada router ISP1
ISP1(CONFIG-ROUTER)#NEIGHBOR 172.16.1.2 REMOTE-AS 200
ISP1(CONFIG-ROUTER)#NETWORK 192.168.1.0
ISP1(CONFIG-ROUTER)#NETWORK 192.168.100.0
ISP1(CONFIG-ROUTER)#END
ISP1#COPY RUNNING-CONFIG STARTUP-CONFIG
§  Konfigurasi BGP pada router ISP2
ISP2(CONFIG)#ROUTER BGP 200
ISP2(CONFIG-ROUTER)#NEIGHBOR 172.16.1.1 REMOTE-AS 100
ISP2(CONFIG-ROUTER)#NETWORK 192.168.200.0
ISP2(CONFIG-ROUTER)#END
ISP2#COPY RUNNING-CONFIG STARTUP-CONFIG
4.  VERIFIKASI TABEL ROUTING
ISP2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, Serial0/0
C 192.168.200.0/24 is directly connected, Loopback0
B 192.168.1.0/24 [20/0] via 172.16.1.1, 00:40:38
B 192.168.100.0/24 [20/0] via 172.16.1.1, 00:40:38

ISP1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, Serial0/1
B 192.168.200.0/24 [20/0] via 172.16.1.2, 00:33:45
10.0.0.0/24 is subnetted, 1 subnets
C 10.10.10.0 is directly connected, Serial0/0
S 192.168.1.0/24 [1/0] via 10.10.10.1
C 192.168.100.0/24 is directly connected, Loopback0
CR#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is 10.10.10.2 to network 0.0.0.0
10.0.0.0/24 is subnetted, 1 subnets
C 10.10.10.0 is directly connected, Serial0/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 10.10.10.2
5.  VERIFIKASI KONEKSI
§  Ping dari  host PC pada  CR Ethernet network ke  Loopback Interface pada ISP2.
§  Ping dari router ISP2 ke host PC pada Ethernet network CR router.

6.  MELIHAT INFORMASIBGP PADA ROUTER  ISP

ISP1#show ip bgp
BGP table version is 4, local router ID is 192.168.100.1
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 192.168.1.0 10.10.10.1 0 32768 i
*> 192.168.100.0 0.0.0.0 0 32768 i
*> 192.168.200.0 172.16.1.2 0 0 200 i

ISP2#show ip bgp
BGP table version is 4, local router ID is 192.168.200.1
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 192.168.1.0 172.16.1.1 0 0 100 i
*> 192.168.100.0 172.16.1.1 0 0 100 i
*> 192.168.200.0 0.0.0.0 0 32768 i


Related Posts

konfigurasi dan verifikasi bgp
4/ 5
Oleh