Mikrotik | Lab 6. BGP Router Reflector
Router Reflector adalah salah satu solusi pada BGPfitur untuktopologi mesh iBGP. Dengan RR akan mengurangi BGP peering dan BGP messageyang beredar dalam satu AS. Perhatikan topologi diatas pada AS 234 bahwa R3 bertindak sbg RR dan R2 dan R4 sbg Router Clinet.
Berikut Konfigurasinya
R1
system identity set name=IMC-R1
ip address add address=12.12.12.1/30
interface=ether1
interface bridge add name=Loopback1
ip address add address=192.168.1.1/24
interface=Loopback1
R2
system identity set name=IMC-R2
ip address add address=12.12.12.2/30
interface=ether1
ip address add address=23.23.23.2/24
interface=ether2
ip address add address=24.24.24.2/24
interface=ether3
R3
system identity set name=IMC-R3
ip address add address=34.34.34.1/24
interface=ether2
ip address add address=23.23.23.1/24
interface=ether1
R4
system identity set name=IMC-R4
ip address add address=45.45.45.2/30
interface=ether3
ip address add address=34.34.34.2/24
interface=ether2
ip address add address=24.24.24.1/24
interface=ether1
R5
system identity set name=IMC-R5
ip address add address=45.45.45.1/30
interface=ether1
interface bridge add name=Loopback1
ip address add address=192.168.5.1/24
interface=Loopback1
KONFIG BGP
R1
routing bgp instance set default as=100
routing bgp peer add
remote-address=12.12.12.2 remote-as=234
routing bgp network add
network=192.168.1.0/24 synchronize=no
KONFIG IGP-OSPF
R2
routing ospf network add
network=23.23.23.0/24 area=backbone
routing ospf network add
network=12.12.12.0/30 area=backbone
routing ospf network add
network=24.24.24.0/24 area=backbone
R3
routing ospf network add
network=23.23.23.0/24 area=backbone
routing ospf network add
network=34.34.34.0/24 area=backbone
R4
routing ospf network add
network=45.45.45.0/30 area=backbone
routing ospf network add
network=34.34.34.0/24 area=backbone
routing ospf network add
network=24.24.24.0/24 area=backbone
JALANKAN ROUTER-REFLECTOR DAN BGP
R2
routing bgp instance set default as=234
routing bgp peer add name=peer1
remote-address=12.12.12.1 remote-as=100
routing bgp peer add name=peer2
remote-address=23.23.23.1 remote-as=234 nexthop-choice=force-force-self
R4
routing bgp instance set default as=234
routing bgp peer add name=peer1
remote-address=45.45.45.1 remote-as=500
routing bgp peer add name=peer2
remote-address=34.34.34.1 remote-as=234 nexthop-choice=force-self
R3
routing bgp instance set default as=234
routing bgp peer add name=peer1
remote-address=34.34.34.1 remote-as=234 route-reflect=yes
routing bgp peer add name=peer2
remote-address=23.23.23.2 remote-as=234 route-reflect=yes
R5
routing bgp instance set default as=500
routing bgp peer add remote-address=45.45.45.2
remote-as=234
routing bgp network add
network=192.168.5.0/24 synchronize=no
VERIFIKASI:
[admin@IMC-R5] > ping 192.168.1.1 src-address=192.168.5.1
SEQ HOST SIZE TTL TIME STATUS
0 192.168.1.1 56 61 7ms
1 192.168.1.1 56 61 19ms
2 192.168.1.1 56 61 7ms
sent=3 received=3 packet-loss=0% min-rtt=7ms avg-rtt=11ms max-rtt=19ms
0 192.168.5.1 56 61 7ms
1 192.168.5.1 56 61 19ms
2 192.168.5.1 56 61 7ms
sent=3 received=3 packet-loss=0% min-rtt=7ms avg-rtt=11ms max-rtt=19ms
Posting Komentar untuk "Mikrotik | Lab 6. BGP Router Reflector"