-->

Masalah terkadang membuat kita tumbuh. untuk explore tentang solusi

Recents in Beach

Motivasi Menulis

Border Gateway Protocol ( Route Reflector ) On Mikrotik

Border Gateway Protocol ( Route Reflector ) On Mikrotik

Almost same with Border Gateway Protocol ( BGP Backdoor )  then we have to configure Full Mesh Peering. It certainly would be a problem if we have 100 IBGP router, full mesh peering network would be very burdensome.

To overcome these problems, we can configure the route reflector, so that each router IBGP only need to do peering with the route reflector. The following topology which we will use


First, we configure the IP address of the entire router

[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

[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=23.23.23.2/24 interface=ether2
[admin@R2] /ip address> add address=192.168.1.1/24 interface=lo0

[admin@MikroTik] > system identity set name=R3
[admin@R3] > interface bridge add name=lo0
[admin@R3] > ip address
[admin@R3] /ip address> add address=23.23.23.3/24 interface=ether1
[admin@R3] /ip address> add address=192.168.3.1/24 interface=lo0

Next we try to create IBGP peering at R1, R2, and R3,
[admin@R1] /ip address> /routing bgp
[admin@R1] /routing bgp> instance set 0 as=123
[admin@R1] /routing bgp> peer add remote-address=22.22.22.2 remote-as=123
[admin@R1] /routing bgp> network add network=192.168.0.0/24

[admin@R2] /ip address> /routing bgp
[admin@R2] /routing bgp> instance set 0 as=123
[admin@R2] /routing bgp> peer add remote-address=22.22.22.1 remote-as=123 route-reflect=yes
[admin@R2] /routing bgp> peer add remote-address=23.23.23.3 remote-as=123 route-reflect=yes
[admin@R2] /routing bgp> network add network=192.168.1.0/24

[admin@R3] /ip address> /routing bgp
[admin@R3] /routing bgp> instance set 0 as=123
[admin@R3] /routing bgp> peer add remote-address=23.23.23.2 remote-as=123
[admin@R3] /routing bgp> network add network=192.168.2.0/24
Note that we configure the router R2 as a reflector (parameter route-reflect = yes). next to the test, 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 22.22.22.0/24 22.22.22.1 ether1 0
1 A S 23.23.23.0/24 22.22.22.2 1
2 ADC 192.168.0.0/24 192.168.0.1 lo0 0
3 ADb 192.168.1.0/24 22.22.22.2 200
4 ADb 192.168.3.0/24 23.23.23.3 200

Labels: JARINGAN KOMPUTER, MIKROTIK

Thanks for reading Border Gateway Protocol ( Route Reflector ) On Mikrotik. Please share...!

0 Komentar untuk "Border Gateway Protocol ( Route Reflector ) On Mikrotik"

Back To Top