Cara Configurasi RouterOS eBGP










0: reserved.
1-64.495: public AS numbers.
64.496 – 64.511 – reserved to use in documentation.
64.512 – 65.534 – private AS numbers.
65.535 – reserved.


R1

/interface bridge
add name=int-loopback

/routing bgp instance
add as=10 name=AS-10 router-id=10.1.1.1

/ip address
add address=192.168.1.1/30 interface=ether1 network=192.168.1.0
add address=192.168.11.1/30 interface=ether2 network=192.168.11.0
add address=10.1.1.1 interface=int-loopback network=10.1.1.1


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

/routing bgp peer
add instance=AS-10 name=peer-to-R2 remote-address=192.168.1.2 remote-as=20

R2

/interface bridge
add name=int-loopback

/routing bgp instance
add as=20 name=AS-20 router-id=10.1.1.2

/ip address
add address=192.168.1.2/30 interface=ether1 network=192.168.1.0
add address=192.168.12.1/24 interface=ether3 network=192.168.12.0
add address=192.168.2.1/30 interface=ether2 network=192.168.2.0
add address=10.1.1.2 interface=int-loopback network=10.1.1.2

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

/routing bgp peer
add instance=AS-20 name=peer-to-R1 remote-address=192.168.1.1 remote-as=10
add instance=AS-20 name=peer-to-R3 remote-address=192.168.2.2 remote-as=30

R3

/interface bridge
add name=int-loopback

/routing bgp instance
add as=30 name=AS-30 router-id=10.1.1.3

/ip address
add address=192.168.2.2/30 interface=ether2 network=192.168.2.0
add address=192.168.13.1/24 interface=ether3 network=192.168.13.0
add address=10.1.1.3 interface=int-loopback network=10.1.1.3


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

/routing bgp peer
add instance=AS-30 name=peer-to-R2 remote-address=192.168.2.1 remote-as=20

Semoga Bermanfaat
Penulis : Een Pahlefi,S.Kom

0 Response to "Cara Configurasi RouterOS eBGP"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel