Konfigurasi Routing OSPF (IR) pada Mikrotik GNS3

Posted on

Sekarang saya akan bahas Tutorial Routing OSPF area IR Mikrotik pada GNS3 , Langsung aja gan kita konfigurasi sesuai topologi di atas ya, jangan lupa di Buat dahulu topologinya seperti diatas.

Pertama Kita masukan Ip address , gateway dan DNS pada PC 1,2 dan 3 dulu.

Loading...
Baca Juga

PC 1 :

ip 200.100.10.2/30 200.100.10.1
ip dns 8.8.8.8
show ip

PC 2 :

ip 200.100.20.2/30 200.100.20.1
ip dns 8.8.8.8
show ip

PC 3 :

ip 200.100.30.2/30 200.100.30.1
ip dns 8.8.8.8
show ip


Jika sudah memasukan Ip address , gateway dan DNS pada PC 1,2 dan 3 , kemudian Konfigurasi pada Router Mikrotiknya.

R-1 :

interface bridge add name=loopback
ip address add address=192.168.10.2/24 interface=ether1
ip address add address=10.10.10.1/30 interface=ether2
ip address add address=200.100.10.1/30 interface=ether3
ip address add address=1.1.1.1/32 interface=loopback
ip dns servers=8.8.8.8,8.8.4.4
ip firewall nat add chain=srcnat out-interface=ether1 action=masquerade
ip route add gateway=192.168.10.1

Kenapa distribute-default=always-as-type-1 gan ? karena si R1 udah punya internet, Jadi kita akan nyebarin lagi ke R2 dan R3 biar dapet internet juga, itu alesannya gan.

routing ospf instance set numbers=0 router-id=1.1.1.1 distribute-default=always-as-type-1
routing ospf network add area=backbone network=1.1.1.1/32
routing ospf network add area=backbone network=200.100.10.0/30
routing ospf network add area=backbone network=10.10.10.0/30
routing ospf network add area=backbone network=192.168.10.0/24

R-2 :

interface bridge add name=loopback
ip address add address=20.20.20.1/30 interface=ether1
ip address add address=10.10.10.2/30 interface=ether2
ip address add address=200.100.20.1/30 interface=ether3
ip address add address=2.2.2.2/32 interface=loopback
ip dns servers=8.8.8.8,8.8.4.4

routing ospf instance set numbers=0 router-id=2.2.2.2
routing ospf network add area=backbone network=2.2.2.2/32
routing ospf network add area=backbone network=200.100.20.0/30
routing ospf network add area=backbone network=10.10.10.0/30
routing ospf network add area=backbone network=20.20.20.0/30

R-3 :

interface bridge add name=loopback
ip address add address=20.20.20.2/30 interface=ether1
ip address add address=200.100.30.1/30 interface=ether3
ip address add address=3.3.3.3/32 interface=loopback
ip dns servers=8.8.8.8,8.8.4.4

routing ospf instance set numbers=0 router-id=3.3.3.3
routing ospf network add area=backbone network=3.3.3.3/32
routing ospf network add area=backbone network=200.100.30.0/30
routing ospf network add area=backbone network=20.20.20.0/30

Ip Route R1, R2 dan R3 :

Loading...


Tes Ping PC 1 ,2 dan 3 :

Oke Sekian Tutorial dari saya gan

Loading...

Leave a Reply

Your email address will not be published. Required fields are marked *