Mikrotik | Lab 5. Problem with iBGP (Mesh Topolgy)
IMC-R1
system
identity set name=IMC-R1
ip
address add address=12.12.12.1/24 interface=ether1
interface
bridge add name=Loopback1
ip
address add address=1.1.1.1/32 interface=Loopback1
routing
bgp instance set default as=100
routing
bgp peer add remote-address=12.12.12.2 remote-as=200
routing
bgp network add network=1.1.1.1/32 synchronize=no
IMC-R2
system
identity set name=IMC-R2
ip
address add address=12.12.12.2/24 interface=ether1
ip
address add address=23.23.23.2/24 interface=ether2
interface
bridge add name=Loopback1
ip
address add address=2.2.2.2/24 interface=Loopback1
routing
bgp instance set default as=200
routing
bgp peer add remote-address=12.12.12.1 remote-as=100
routing
bgp peer add remote-address=23.23.23.3 remote-as=300
routing
bgp network add network=2.2.2.2/32 synchronize=no
IMC-R3
system
identity set name=IMC-R3
ip
address add address=23.23.23.3/24 interface=ether1
interface
bridge add name=Loopback1
ip
address add address=3.3.3.3/32 interface=Loopback1
routing
bgp instance set default as=300
routing
bgp peer add remote-address=23.23.23.2 remote-as=200
routing
bgp network add network=3.3.3.3/32 synchronize=no
VERIFIKASI:
IMC-R1#ping 3.3.3.3 src-add 1.1.1.1
routing
bgp advertise print
routing
bgp peer print
routing
bgp network print
ip
route print detail where dst-address=1.1.1.1/32
Lalu ubah topologi dengan mensamakan semua AS atau mengguanakn iBGP peering.
routing bgp peer add remote-address=12.12.12.1 remote-as=100
routing bgp network add network=2.2.2.2/32 synchronize=no
routing bgp instance set default as=100
routing bgp peer add remote-address=12.12.12.1 remote-as=100
routing bgp peer add remote-address=23.23.23.3 remote-as=100
routing bgp network add network=2.2.2.2/32 synchronize=no
IMC-R3
routing bgp instance set default as=100
routing bgp peer add remote-address=23.23.23.3 remote-as=100
routing bgp network add network=2.2.2.2/32 synchronize=no
Lalu ping dari masing-masing router
[admin@IMC-R1] > ping 3.3.3.3 SEQ HOST SIZE TTL TIME STATUS
0 3.3.3.3 56 63 5ms
1 3.3.3.3 56 63 10ms
2 3.3.3.3 56 63 10ms
sent=3 received=3 packet-loss=0% min-rtt=5ms avg-rtt=8ms max-rtt=10ms
IMC-R3#ping 1.1.1.1
Posting Komentar untuk "Mikrotik | Lab 5. Problem with iBGP (Mesh Topolgy) "