iBGP Peering – Loopback
👉https://insinyurbocah2109.blogspot.com/2020/10/belajar-bgp-ibgp-peering-konfigurasi.html
Di materi sebelumnya juga saya sudah membahas pengertian BGP dan teori2 seputar BGP, sehingga temen - temen lebih mudah untuk mengenal BGP..
*Oke materi kali ini, yang sesuai ada di judul, yaitu kita akan membahas tentang iBGP Peering - Loopback...
*langsung aja ke konfigurasinya geyss
TOPOLOGI =
Kita akan melakukan Peer dengan IP Loopback. Pastikan IP Loopbacknya harus bisa diping terlebih dahulu. Hapus konfigurasi sebelumnya, sebelum dilanjutkan ke konfigurasi berikutnya.
R1 & R2
R1-TKJB(config)#no router bgp 12
R2-TKJB(config)#no router bgp 12
Disini kita akan menggunakan IGP ( EIGRP, OSPF, RIP ) atau static route agar si loopbacknya bisa diping..... dan sekarang saya akan mencontohkannya menggunakan EIGRP
R1
R1-TKJB(config)#rout
R1-TKJB(config)#router ei
R1-TKJB(config)#router eigrp 10
R1-TKJB(config-router)#net 1.1.1.1 0.0.0.0
R1-TKJB(config-router)#net 12.12.12.1 0.0.0.0
R1-TKJB(config-router)#no auto-su
R1-TKJB(config-router)#no auto-summary
R2
R2-TKJB(config)#router ei 10
R2-TKJB(config-router)#net 2.2.2.2 0.0.0.0
R2-TKJB(config-router)#net 12.12.12.2 0.0.0.0
R2-TKJB(config-router)#no auto-
R2-TKJB(config-router)#no auto-summary
Sekarang coba test ping dulu.....
R1
R1-TKJB(config)#do ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 14/22/27 ms
R2
R2-TKJB(config)#do ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/20/24 ms
Nahh kalo udah kita lanjut ke konfigurasi BGP Peernya... disini kita harus menambahkan update-source loopback 0, jika tidak ditambahkan, maka yang digunakan updatenya adalah ip interface physical nanti bpg adjencencynya bisa akan bermasalah......
R1
R1-TKJB(config)#rout
R1-TKJB(config)#router bgp 12
R1-TKJB(config-router)#neigh
R1-TKJB(config-router)#neighbor 2.2.2.2 remot
R1-TKJB(config-router)#neighbor 2.2.2.2 remote-as 12
R1-TKJB(config-router)#neighbor 2.2.2.2 update-source lo 0
R1-TKJB(config-router)#exit
R1-TKJB(config)#
R2
R2-TKJB(config)#rou
R2-TKJB(config)#router bgp 12
R2-TKJB(config-router)#neigh 1.1.1.1 remote-as 12
R2-TKJB(config-router)#neigh 1.1.1.1 update-source lo 0
R2-TKJB(config-router)#exit
R2-TKJB(config)#
Pastiin BGP adjency nya sudah UP.....
R1
R1-TKJKB(config)#do sh ip bgp sum
BGP router identifier 1.1.1.1, local AS number 12
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
2.2.2.2 4 12 4 4 1 0 0 00:00:18 0
Cek juga di tabel routing!!!!!....
R1
R1-TKJB(config)#do sh ip route bgp
Codes: L - local, C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
22.0.0.0/32 is subnetted, 1 subnets
B 22.22.22.22 [200/0] via 2.2.2.2, 00:09:39
R2
R2-TKJB(config)#do sh ip route bgp
Codes: L - local, C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
11.0.0.0/32 is subnetted, 1 subnets
B 11.11.11.11 [200/0] via 1.1.1.1, 00:40:46
TERIMAKASIH
WASSALAMU'ALAIKUM WR.WB
0 comments:
Post a Comment