Mikrotik | Lab.7 BGP Confederation
R1
system identity set name=IMC-R1
ip address add address=12.12.12.1/30
interface=ether1
interface bridge add name=Lo1
ip address add address=192.168.1.1/24
interface=Lo1
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/30
interface=ether2
ip address add address=24.24.24.2/30
interface=ether3
R3
system identity set name=IMC-R3
ip address add address=34.34.34.1/30
interface=ether2
ip address add address=23.23.23.1/30
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/30
interface=ether2
ip address add address=24.24.24.1/30
interface=ether1
R5
system identity set name=IMC-R5
ip address add address=45.45.45.1/30
interface=ether1
interface bridge add name=Lo1
ip address add address=192.168.5.1/24
interface=Lo1
JALNALANKAN BGP PADA R1
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
JALANKAN IGP-OSPF PADA R2, R3 DAN R4
R2
routing ospf network add
network=23.23.23.0/30 area=backbone
routing ospf network add
network=12.12.12.0/30 area=backbone
routing ospf network add
network=24.24.24.0/30 area=backbone
R3
routing ospf network add
network=23.23.23.0/30 area=backbone
routing ospf network add
network=34.34.34.0/30 area=backbone
R4
routing ospf network add
network=45.45.45.0/30 area=backbone
routing ospf network add
network=34.34.34.0/30 area=backbonerouting ospf network add
network=24.24.24.0/30 area=backbone
JALANKAN BGP-CONFEDARATION DI (R2,R3,R4)
R2
routing bgp instance set default as=20
confederation=234 confederation-peers=30,40
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=30 nexthop-choice=force-self
R3
routing bgp instance set default as=30
confederation=234 confederation-peers=20,40
routing bgp peer add name=peer1
remote-address=34.34.34.2 remote-as=40 nexthop-choice=force-self
routing bgp peer add name=peer2
remote-address=23.23.23.2 remote-as=20 nexthop-choice=force-self
R4
routing bgp instance set default as=40
confederation=234 confederation-peers=30,20
routing bgp peer add name=peer1
remote-address=34.34.34.1 remote-as=30 nexthop-choice=force-self
routing bgp peer add name=peer2
remote-address=45.45.45.1 remote-as=500
KONFIG BGP DI R5 (tanpa conferation)
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
R1
[admin@IMC-R1] > ping 192.168.5.1 src-address=192.168.1.1
SEQ HOST SIZE TTL TIME STATUS
0 192.168.5.1 56 61 7ms
1 192.168.5.1 56 61 17ms
2 192.168.5.1 56 61 9ms
3 192.168.5.1 56 61 12ms
sent=4 received=4 packet-loss=0% min-rtt=7ms avg-rtt=11ms max-rtt=17ms
Posting Komentar untuk "Mikrotik | Lab.7 BGP Confederation"