CCNP - iBGP Peering - Loopback
iBGP Peering Loopback
Pada lab ini kita akan peer dengan loopback, sebelum itu pastikan loopbacknya harus sudah ter-routing dan bisa ping dengan router yang lain dulu, bisa dengan RIP, EIGRP, atau OSPF
Kita buat IP nya dulu
R1(config)#int g2/0
R1(config-if)#no sh
R1(config-if)#ip ad 12.12.12.1 255.255.255.252
R1(config-if)#int lo0
R1(config-if)#ip ad 1.1.1.1 255.255.255.255
R2(config)#int g2/0
R2(config-if)#no sh
R2(config-if)#ip ad 12.12.12.2 255.255.255.252
R2(config-if)#int lo0
R2(config-if)#ip ad 2.2.2.2 255.255.255.255
Disini saya mau pakai EIGRP saja, langsung saja masukan network nya kedalam EIGRP
R1(config)#router eigrp 10
R1(config-router)#network 12.12.12.1 0.0.0.3
R1(config-router)#network 1.1.1.1 0.0.0.0
R1(config-router)#no auto-summary
R2(config)#router eigrp 10
R2(config-router)#network 12.12.12.2 0.0.0.3
R2(config-router)#network 2.2.2.2 0.0.0.0
R2(config-router)#no auto-summary
Kita cek ping dulu
R1(config-router)#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 = 16/23/36 ms
R1(config-router)#
Setalah itu kita peering iBGP nya
R1(config)#router bgp 12
R1(config-router)#neighbor 2.2.2.2 remote-as 12
R1(config-router)#neighbor 2.2.2.2 update-source loopback0
R2(config)#router bgp 12
R2(config-router)#neighbor 1.1.1.1 remote-as 12
R2(config-router)#neighbor 1.1.1.1 update-source loopback 0
Coba kita lihat di BGP nya
R1(config)#do sh ip bgp summary
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 10 10 1 0 0 00:06:01 0
R1(config)#
Pastikan pada bagian "State/PfxRcd" nya bernilai 0
Setelah itu, kita buat loopback lagi dan advertise ke BGP nya
R1(config)#int lo11
R1(config-if)#ip ad 11.11.11.11 255.255.255.255
R1(config-if)#router bgp 12
R1(config-router)#network 11.11.11.11 mask 255.255.255.255
R1(config-router)#
R1(config-router)#do sh ip bgp summary
BGP router identifier 1.1.1.1, local AS number 12
BGP table version is 2, main routing table version 2
1 network entries using 144 bytes of memory
1 path entries using 80 bytes of memory
1/1 BGP path/bestpath attribute entries using 136 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 360 total bytes of memory
BGP activity 1/0 prefixes, 1/0 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
2.2.2.2 4 12 16 17 2 0 0 00:11:24 0
R1(config-router)#
R2(config)#int lo22
R2(config-if)#ip ad 22.22.22.22 255.255.255.255
R2(config-if)#router bgp 12
R2(config-router)#net 22.22.22.22 mask 255.255.255.255
R2(config-router)#
R2(config-router)#do sh ip bgp summary
BGP router identifier 2.2.2.2, local AS number 12
BGP table version is 3, main routing table version 3
2 network entries using 288 bytes of memory
2 path entries using 160 bytes of memory
2/2 BGP path/bestpath attribute entries using 272 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 720 total bytes of memory
BGP activity 2/0 prefixes, 2/0 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
1.1.1.1 4 12 23 22 3 0 0 00:16:28 1
R2(config-router)#
Sebelumnya pada bagian State/PfxRcd sudah muncul nilai 0, saat ini sudah berganti muncul nilai 1, yang artinya kita menerima 1 route yang diadvertise BGP oleh router lain.
Setalah ini beloh langsung cek ping
R1(config)#do ping 22.22.22.22
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 22.22.22.22, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/20/24 ms
R1(config)#
Komentar
Posting Komentar