-->

Masalah terkadang membuat kita tumbuh. untuk explore tentang solusi

Recents in Beach

Motivasi Menulis

EBGP Peering (Loopback Interface) On Mikrotik

We learn EBGP peering using a loopback interface on the proxy. For
the same reason IBGP peering using a loopback interface that we

discussed earlier. That is because the loopback interface will never be down as long as at least one active interface on the router.
For The First First, we configure the IP address on both routers according to the topology.











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




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


Before configuring EBGP peering using a loopback interface, we must introduce IP Loopback R1 to R2, and vice versa. We can use static routing or dynamic routing (OSPF).



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



we need to configure the multihop on R1. This is because the IP Address Loopback R2 is not considered to be directly connected By R1, as well as the R2. For testing, we look at the routing table on R1
[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 12.12.12.0/24 12.12.12.1 ether1 0
1 ADC 192.168.1.0/24 192.168.1.1 lo0 0
2 A S 192.168.2.0/24 12.12.12.2 1
3 Db 192.168.2.0/24 192.168.2.1 20

Labels: JARINGAN KOMPUTER, MIKROTIK

Thanks for reading EBGP Peering (Loopback Interface) On Mikrotik. Please share...!

0 Komentar untuk "EBGP Peering (Loopback Interface) On Mikrotik"

Back To Top