Translate

OSPF Redistribute Static

Objective:

  1. Membuat Routing OSPF Multi-Area
  2. Loopback Router MikroTik-5 Tidak Di Advertise Dalam OSPF
  3. Router MikroTik-4 Membuat Static Route Kearah 5.5.5.5
  4. Router MikroTik-4 Me-Redistribute Static Route Kearah 5.5.5.5
Goal:
  1. Semua IP Loopback Bisa Di PING
1. MikroTik-1
/interface bridge
add name=lo
/routing ospf instance
set [ find default=yes ] router-id=1.1.1.1
/ip address
add address=12.12.12.1/30 interface=ether1 network=12.12.12.0
add address=1.1.1.1 interface=lo network=1.1.1.1
/routing ospf network
add area=backbone network=12.12.12.0/30
add area=backbone network=1.1.1.1/32
/system identity
set name=R1
2. MikroTik-2
/interface bridge
add name=lo
/routing ospf area
add area-id=0.0.0.1 name=area1
/routing ospf instance
set [ find default=yes ] router-id=2.2.2.2
/ip address
add address=12.12.12.2/30 interface=ether1 network=12.12.12.0
add address=2.2.2.2 interface=lo network=2.2.2.2
add address=23.23.23.1/30 interface=ether2 network=23.23.23.0
/routing ospf network
add area=backbone network=12.12.12.0/30
add area=backbone network=2.2.2.2/32
add area=area1 network=23.23.23.0/30
/system identity
set name=R2
3. MikroTik-3
/interface bridge
add name=lo
/routing ospf area
add area-id=0.0.0.1 name=area1
/routing ospf instance
set [ find default=yes ] router-id=3.3.3.3
/ip address
add address=23.23.23.2/30 interface=ether1 network=23.23.23.0
add address=34.34.34.1/30 interface=ether2 network=34.34.34.0
add address=3.3.3.3 interface=lo network=3.3.3.3
/routing ospf network
add area=area1 network=23.23.23.0/30
add area=area1 network=34.34.34.0/30
add area=area1 network=3.3.3.3/32
/system identity
set name=R3
4. MikroTik-4
/interface bridge
add name=lo
/routing ospf area
add area-id=0.0.0.1 name=area1
/routing ospf instance
set [ find default=yes ] redistribute-static=as-type-1 router-id=4.4.4.4
/ip address
add address=34.34.34.2/30 interface=ether1 network=34.34.34.0
add address=4.4.4.4 interface=lo network=4.4.4.4
add address=45.45.45.1/30 interface=ether2 network=45.45.45.0
/ip route
add distance=1 dst-address=5.5.5.5/32 gateway=45.45.45.2

/routing ospf network
add area=area1 network=34.34.34.0/30
add area=area1 network=4.4.4.4/32
add area=area1 network=45.45.45.0/30
/system identity
set name=R4
5. MikroTik-5
/interface bridge
add name=lo
/ip address
add address=45.45.45.2/30 interface=ether1 network=45.45.45.0
add address=5.5.5.5 interface=lo network=5.5.5.5
/ip route
add distance=1 gateway=45.45.45.1
/system identity
set name=R5

Routing Table 
Terlihat Ada Perbedaan Pada Routing Table Kearah 5.5.5.5 ;)

0 Comment:

Post a Comment