Konfigurasi Routing eBGP pada Mikrotik GNS3

Posted on

Kembali lagi gan di Materi Routing, kali ini Routing Eksternal Border Gateway Protocol(eBGP). Langsung aja kita konfigurasi seperti topologi di atas gan, jangan lupa siapkan topologi seperti di atas terlebih dahulu.

Pertama Setting Ip address ,Gateway dan DNS pada PC 1 & PC 2.

Loading...
Baca Juga

PC 1 :

ip 200.100.10.2/30 200.100.10.1
ip dns 8.8.8.8 8.8.4.4
show ip

PC 2 :

ip 200.100.20.2/30 200.100.20.1
ip dns 8.8.8.8 8.8.4.4
show ip

Jika sudah, Kita konfigurasi Routernya gan

R-1 :

ip address add address=10.10.10.1/30 interface=ether2
ip address add address=200.100.10.1/30 interface=ether4
ip dns servers=8.8.8.8,8.8.4.4

R-2 :

ip address add address=55.55.55.2/24 interface=ether1
ip address add address=10.10.10.2/30 interface=ether2
ip address add address=20.20.20.1/30 interface=ether3
ip dns servers=8.8.8.8,8.8.4.4
ip firewall nat add chain=srcnat out-interface=ether1 action=masquerade
ip route add gateway=55.55.55.1

R-3 :

ip address add address=20.20.20.2/30 interface=ether3
ip address add address=200.100.20.1/30 interface=ether4
ip dns servers=8.8.8.8,8.8.4.4

Jika sudah memasukan Ip address dan DNS pada Router sekarang kita Routing eBGPnya gan.

R-1 :

routing bgp instance set numbers=0 as=100
routing bgp peer add remote-address=10.10.10.2 remote-as=200
routing bgp network add network=10.10.10.0/30
routing bgp network add network=200.100.10.0/30

R-2 :

Fungsi default-originate=always adalah Untuk menyebarkan gateway, agar R1 dan R2 dapat koneksi ke internet.

routing bgp instance set numbers=0 as=200
routing bgp peer add remote-address=10.10.10.1 remote-as=100 default-originate=always
routing bgp peer add remote-address=20.20.20.2 remote-as=300 default-originate=always
routing bgp network add network=10.10.10.0/30
routing bgp network add network=20.20.20.0/30


R-3 :

Loading...
routing bgp instance set numbers=0 as=300
routing bgp peer add remote-address=20.20.20.1 remote-as=200
routing bgp network add network=20.20.20.0/30
routing bgp network add network=200.100.20.0/30

Oke gan sekarang Kita cek IP Route R1,R2 dan R3.

R1 :

R2 :

R3 :

Oke benar ya gan, Sekarang kita coba tes ping dan Tracert dari PC1 ke PC2.

PC 1 :

PC 2 :

Oke sekian tutorial eBGP dari saya gan.

Semoga Bermanfaat

Loading...

Leave a Reply

Your email address will not be published. Required fields are marked *