Senin, 10 Februari 2014

Lab 20. eBGP - Loopback - eBGP Multihop


Jika tadi kita menggunakan interface physical sebagai neighbor peers eBGP, maka sekarang kita akan mencoba untuk menggunakan IP Loopbacknya 

Kita gunakan saja konfigurasi yang sebelumnya kawan


Agar loopback bisa di ping maka kita akan menggunakan IGPatau juga bisa static route




R2(config)#router rip
R2(config-router)#net 23.0.0.0

R3(config)#router rip
R3(config-router)#network 23.0.0.0
R3(config-router)#network 3.0.0.0


Kemudian kita konfigurasi BGP nya 

R2(config-router)#router bgp 12
R2(config-router)#no neighbor 23.23.23.23 remote-as 3
R2(config-router)#neighbor 3.3.3.3 remote-as 3
R2(config-router)#neighbor 3.3.3.3 update-source lo0
R2(config-router)#neighbor 3.3.3.3 ebgp-multihop

R3(config)#router bgp 3
R3(config-router)#no neighbor 23.23.23.2 remote-as 12
R3(config-router)#neighbor 2.2.2.2 remote-as 12
R3(config-router)#neighbor 2.2.2.2 update-source lo0
R3(config-router)#neighbor 2.2.2.2 ebgp-multihop


Kemudian advertise Loopback 1 R3

R3(config)#int lo1
R3(config-if)#ip add 33.33.33.33 255.255.255.255

R3(config)#router bgp 3
R3(config-router)#network 33.33.33.33 mask 255.255.255.255


Kemudian kita akan mncoba untuk mengeceknya dengan

R3(config)#do sh ip bgp sum

R3(config)#do sh ip bgp sum
BGP router identifier 3.3.3.3, local AS number 3
BGP table version is 8, main routing table version 8
3 network entries using 384 bytes of memory
3 path entries using 156 bytes of memory
3/3 BGP path/bestpath attribute entries using 372 bytes of memory
1 BGP AS-PATH entries using 24 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 936 total bytes of memory
BGP activity 5/2 prefixes, 5/2 paths, scan interval 60 secs

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
2.2.2.2         4           12       6       8        8    0    0 00:02:55        2

 
Dan coba ping 2.2.2.2

R3(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 = 40/53/76 ms



Hehe, sekarang ente tinggal mencoba - coba lagi

:D

0 komentar:

Posting Komentar

 
;