Cara Configurasi RouterOS iBGP











iBGP Full Mesh

















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.


/32 255.255.255.255 0.0.0.0
/31 255.255.255.254 0.0.0.1
/30 255.255.255.252 0.0.0.3
/29 255.255.255.248 0.0.0.7
/28 255.255.255.240 0.0.0.15
/27 255.255.255.224 0.0.0.31
/26 255.255.255.192 0.0.0.63
/25 255.255.255.128 0.0.0.127
/24 255.255.255.0 0.0.0.255
/23 255.255.254.0 0.0.1.255
/22 255.255.252.0 0.0.3.255
/21 255.255.248.0 0.0.7.255
/20 255.255.240.0 0.0.15.255
/19 255.255.224.0 0.0.31.255
/18 255.255.192.0 0.0.63.255
/17 255.255.128.0 0.0.127.255
/16 255.255.0.0 0.0.255.255
/15 255.254.0.0 0.1.255.255
/14 255.252.0.0 0.3.255.255
/13 255.248.0.0 0.7.255.255
/12 255.240.0.0 0.15.255.255
/11 255.224.0.0 0.31.255.255
/10 255.192.0.0 0.63.255.255
/9 255.128.0.0 0.127.255.255
/8 255.0.0.0 0.255.255.255
/7 254.0.0.0 1.255.255.255
/6 252.0.0.0 3.255.255.255
/5 248.0.0.0 7.255.255.255
/4 240.0.0.0 15.255.255.255
/3 224.0.0.0 31.255.255.255
/2 192.0.0.0 63.255.255.255
/1 128.0.0.0 127.255.255.255
/0 0.0.0.0 255.255.255.255

R1

/interface bridge
add name=int-loopback

/routing bgp instance
set default as=1

/routing ospf instance
set [ find default=yes ] 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/24 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

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

/routing ospf network
add area=backbone network=192.168.1.0/30

R2

/interface bridge
add name=int-loopback

/routing bgp instance
set default as=1

/routing ospf instance
set [ find default=yes ] 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

/routing bgp peer
add name=peer-to-R1 remote-address=192.168.1.1 remote-as=1
add name=peer-to-R3 remote-address=192.168.2.2 remote-as=1

/routing ospf network
add area=backbone network=192.168.2.0/30
add area=backbone network=192.168.1.0/30

R3

/interface bridge
add name=int-loopback

/routing bgp instance
set default as=1

/routing ospf instance
set [ find default=yes ] 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

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

/routing ospf network
add area=backbone network=192.168.2.0/30

Semoga Bermanfaat
Penulis : Een Pahlefi,S.Kom

0 Response to "Cara Configurasi RouterOS iBGP"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel