-->

Masalah terkadang membuat kita tumbuh. untuk explore tentang solusi

Recents in Beach

Motivasi Menulis

External Border Gateway Protocol (EBGP Peering Physical Interface) On Mikrotik

We have learned  EBGP Loopback On Mikrotik

  Peering EBGP  when there are two or more routers that have different AS Number. The following topology which we will use. First, configure the IP address on R1 and R2 based topology above




[admin@MikroTik] > system identity set name=R1
[admin@R1] > interface bridge add name=lo0
[admin@R1] > ip address
[admin@R1] /ip address>add address=22.22.22.1/24 interface=ether1
[admin@R1] /ip address> add address=192.168.0.1/24 interface=lo0

and

[admin@MikroTik] > system identity set name=R2
[admin@R2] > interface bridge add name=lo0
[admin@R2] > ip address
[admin@R2] /ip address> add address=22.22.22.2/24 interface=ether1
[admin@R2] /ip address> add address=192.168.1.1/24 interface=lo0

Next, We Peering BGP configuration on R1 and R2
[admin@R1] > routing bgp [admin@R1] /routing bgp> instance set 0 as=100 [admin@R1] /routing bgp> peer add remote-address=22.22.22.2 remote-as=200 [admin@R1] /routing bgp> network add network=192.168.0.0/24

and

[admin@R2] > routing bgp [admin@R2] /routing bgp> instance set 0 as=200 [admin@R2] /routing bgp> peer add remote-address=22.22.22.1 remote-as=100 [admin@R2] /routing bgp> network add network=192.168.1.0/24


For testing we look at the routing table on R1, R1 sure to recognize the 192.168.1.0/24 network through BGP.

[admin@R1] /routing bgp> /ip route print Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit # DST-ADDRESS PREF-SRC GATEWAY DISTANCE 0 ADC 22.22.22.1/24 22.22.22.1 ether1 0 1 ADC 192.168.0.0/24 192.168.0.1 lo0 0 2 ADb 192.168.2.0/24 22.22.22.2 20
Labels: JARINGAN KOMPUTER, MIKROTIK

Thanks for reading External Border Gateway Protocol (EBGP Peering Physical Interface) On Mikrotik. Please share...!

0 Komentar untuk "External Border Gateway Protocol (EBGP Peering Physical Interface) On Mikrotik"

Back To Top