Lompat ke konten Lompat ke sidebar Lompat ke footer

Mikrotik | Lab 4 Nexthop-Choice (AS 200 dua Router)

 

KONFIG IP INTERFACE

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=1.1.1.1/32 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

R3
system identity set name=IMC-R3
ip address add address=34.34.34.3/24 interface=ether2
ip address add address=23.23.23.3/24 interface=ether1

R4
system identity set name=IMC-R4
ip address add address=34.34.34.4/24 interface=ether1
interface bridge add name=Loopback1
ip address add address=4.4.4.4/32 interface=Loopback1

JALANKAN BGP

R1
outing 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.0/32 synchronize=no

R2
routing bgp instance set default as=200
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.3 remote-as=200 nexthop-choice=force-self

R3
routing bgp instance set default as=200
routing bgp peer add name=peer1 remote-address=34.34.34.4 remote-as=300
routing bgp peer add name=peer2 remote-address=23.23.23.2 remote-as=200 nexthop-choice=force-self

R4
routing bgp instance set default as=300
routing bgp peer add remote-address=34.34.34.3 remote-as=200 
routing bgp network add network=4.4.4.4/32 synchronize=no

VERIFIKASI

[admin@IMC-R1] > ping 4.4.4.4 src-address=1.1.1.1
  SEQ HOST                                     SIZE TTL TIME  STATUS

    0 4.4.4.4                                    56  62 7ms
    1 4.4.4.4                                    56  62 13ms
    2 4.4.4.4                                    56  62 14ms
    3 4.4.4.4                                    56  62 12ms
    sent=4 received=4 packet-loss=0% min-rtt=7ms avg-rtt=11ms max-rtt=14ms

[admin@IMC-R4] > ping 1.1.1.1 src-address=4.4.4.4

  SEQ HOST                                     SIZE TTL TIME  STATUS
    0 1.1.1.1                                    56  62 4ms
    1 1.1.1.1                                    56  62 5ms
    2 1.1.1.1                                    56  62 4ms
    3 1.1.1.1                                    56  62 8ms
    sent=4 received=4 packet-loss=0% min-rtt=4ms avg-rtt=5ms max-rtt=8ms
[admin@IMC-R4] >



Posting Komentar untuk "Mikrotik | Lab 4 Nexthop-Choice (AS 200 dua Router)"