A. Konfigurasi IP Address MikrotikOS
1. Konfigurasi IP Address R1
[admin@R1] >ip address add address=10.10.10.1/30 interface=ether1
[admin@R1] >ip address add address=192.168.0.1/24 interface=ether2
[admin@R1] >ip address add address=172.10.0.1/30 interface=ether3
2. Konfigurasi IP Address R2
[admin@R2] >ip address add address=192.168.5.1/24 interface=ether1
[admin@R2] >ip address add address=192.168.2.1/24 interface=ether2
[admin@R2] >ip address add address=172.10.0.2/30 interface=ether3
3. Konfigurasi IP Address R3
[admin@R3] >ip address add address=192.168.3.1/24 interface=ether1
[admin@R3] >ip address add address=192.168.2.2/24 interface=ether2
[admin@R3] >ip address add address=192.168.0.2/24 interface=ether3
B.Konfigurasi Routing OSPF
1. Konfigurasi Routing R1
[admin@R1] >routing ospf instance set router-id=192.168.0.1 number=default
[admin@R1] >routing ospf instance set distribute-default=never number=default
[admin@R1] >routing ospf instance set redistribute-connected=as-type-2 number=default
[admin@R1] >routing ospf instance set redistribute-static=as-type-2 number=default
[admin@R1] >routing ospf area add area-id=0.0.0.1 name=area1
[admin@R1] >routing ospf network add network=10.10.10.0/30 area=area1
[admin@R1] >routing ospf network add network=192.168.0.0/24 area=area1
[admin@R1] >routing ospf network add network=172.10.0.0/30 area=area1
2. Konfigurasi Routing R2
[admin@R2] >routing ospf instance set router-id=192.168.2.1 number=default
[admin@R2] >routing ospf instance set distribute-default=never number=default
[admin@R2] >routing ospf instance set redistribute-connected=as-type-2 number=default
[admin@R2] >routing ospf instance set redistribute-static=as-type-2 number=default
[admin@R2] >routing ospf area add area-id=0.0.0.1 name=area1
[admin@R2] >routing ospf network add network=192.168.5.0/30 area=area1
[admin@R2] >routing ospf network add network=192.168.2.0/24 area=area1
[admin@R2] >routing ospf network add network=172.10.0.0/30 area=area1
3. Konfigurasi Routing R3
[admin@R3] >routing ospf instance set router-id=192.168.0.2 number=default
[admin@R3] >routing ospf instance set distribute-default=never number=default
[admin@R3] >routing ospf instance set redistribute-connected=as-type-2 number=default
[admin@R3] >routing ospf instance set redistribute-static=as-type-2 number=default
[admin@R3] >routing ospf area add area-id=0.0.0.1 name=area1
[admin@R3] >routing ospf network add network=192.168.3.0/24 area=area1
[admin@R3] >routing ospf network add network=192.168.2.0/24 area=area1
[admin@R3] >routing ospf network add network=192.168.0.0/24 area=area1
No comments:
Post a Comment