Senin, 12 November 2018

BGP Lab 04. Konfigurasi eBGP Peering ( Loopback-Multihop )

Hasil gambar untuk mikrotik
Assalamualaikum.wr.wb
Kesempatan kali ini saya akan memposting cara konfigurasi eBGP Peering ( Loopback-Multihop ). Langsung aja cara konfignya

Konfigurasi pada R1 :

system identity set name=R1
# interface bridge add name=loopback1
# interface bridge add name=loopback2
# routing bgp instance set default as=100 router-id=1.1.1.1
# ip address add address=1.1.1.1 interface=loopback1
# ip address add address=10.10.12.1/30 interface=ether2
# ip address add address=11.11.11.11  interface=loopback2
# ip route add distance=1 dst-address=22.22.22.22/32 gateway=10.10.12.2
# routing bgp network add network=1.1.1.1/32
# routing bgp peer add multihop=yes name=peer1 remote-address=22.22.22.22 remote-as=200 update-source=loopback2
*maaf ya itu ada yang typo set name nya R1 bukan R2


Verifikasi :

[admin@R1] > routing bgp peer print detail


- BGP Peer Advertisements

[admin@R1] > routing bgp advertisements print



- BGP Routing Table

[admin@R1] > ip route pr


- BGP Connectivity

[admin@R1] > ping 2.2.2.2 src-address=1.1.1.1
[admin@R1] > ping 22.22.22.22 src-address=11.11.11.11




Konfigurasi pada R2 :

#system identity set name=R2
#interface bridge add name=loopback1 dan add name=loopback2
#routing bgp instance set default as=200 router-id=2.2.2.2
#ip address add address=2.2.2.2 interface=loopback1
#ip address add address=10.10.12.1 interface=ether1
#ip address add address=22.22.22.22 interface=loopback2


Verifikasi 

[admin@R2] > routing bgp peer print detail 


BGP advertisement 

[admin@R2] > routing bgp advertisements print 


Tabel routing

[admin@R2] > ip route print 



Konekfikasi antar BGP 

[admin@R2] > ping 1.1.1.1 src-address=2.2.2.2



Sekian tutorial dari saya, semoga bermanfaat.

Wassalamualaikum.wr.wb.

Tidak ada komentar:

Posting Komentar