Cara Configurasi RouterOS BGP AS Private Removal

R1 analogi sebagai router Customer
R2 analogi sebagai router ISP
R3 analogi sebagai router ISP Upstream Provider

BGP private-as number berkisar antara 64512 - 65535

R2 memastikan agar R3 tidak akan pernah membaca AS Private si Router 1

R1

/ip address
add address=192.168.1.1/30 interface=ether1 network=192.168.1.0
add address=192.168.11.1/24 interface=ether4 network=192.168.11.0

/routing bgp instance
set default as=64512

/ip route
add distance=1 dst-address=192.168.2.0/30 gateway=192.168.1.2

/routing bgp network
add network=192.168.11.0/24 synchronize=no

/routing bgp peer
add name=peer-to-R2 remote-address=192.168.1.2 remote-as=1

R2

/ip address
add address=192.168.1.2/30 interface=ether1 network=192.168.1.0
add address=192.168.2.1/30 interface=ether2 network=192.168.2.0

/routing bgp instance
set default as=1

/routing bgp peer
add name=peer-to-R1 remote-address=192.168.1.1
add name=peer-to-R3 remote-address=192.168.2.2 remote-as=2 remove-private-as=yes

R3

/ip address
add address=192.168.2.2/30 interface=ether1 network=192.168.2.0
add address=192.168.13.1/24 interface=ether4 network=192.168.13.0

/routing bgp instance
set default as=2

/ip route
add distance=1 dst-address=192.168.1.0/30 gateway=192.168.2.1

/routing bgp network
add network=192.168.13.0/24 synchronize=no

/routing bgp peer
add name=peer-to-R2 remote-address=192.168.2.1 remote-as=1


Semoga Bermanfaat
Penulis : Een Pahlefi,S.Kom

0 Response to "Cara Configurasi RouterOS BGP AS Private Removal"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel