9 Des 2020

MTCRE - Bab 2 - Dynamic Routing | OSPF Multi-Area

            Perbedaannya dengan backbone area adalah area-nya lebih besar atau lebih dari satu. Perlu diingat, bahwa kita harus menghubungkan semua area ke backbone area agar bisa saling ping satu sama lain.


Seperti biasa, beri identitas pada tiap router yang sesuai dan juga tambahkan interface bridge yang mana akan digunakan untuk penamaan router dengan ID yang diberikan ip dengan prefix /32. Perintahnya adalah "interface bridge add name=loopback. Setelah itu add ip di setiap interface pada semua router, terutama untuk interface loopback dengan ip 1.1.1.1/32 (router1) lalu ip 2.2.2.2/32 (router2) dan 3.3.3.3/32 (router3).

Kita akan mulai setting router yang ada di area 1

*R3 (area1)

> interface bridge add name=loopback

> ip address add address=20.20.20.2/24 interface=ether1

> ip address add address=3.3.3.3/32 interface=

> ip address add address=3.3.3.3/32 interface=loopback


> routing ospf interface add interface=ether1

> routing ospf area add name=Area1 area-id=3.3.3.3

> routing ospf instance set 0 redistribute-connected=as-type-1 router-id=3.3.3.3

> routing ospf network add network=20.20.20.0/24 area=Area1

> routing ospf network add network=3.3.3.3/32 area=Area1



Selanjutnya kita setting Router1

*R1 (area2)

> system identity set name=Router1

> interface bridge add name=loopback

> ip address add address=10.10.10.1/24 interface=ether1

> ip address add address=1.1.1.1/32 interface=loopback


> routing ospf area add name=Area2 area-id=1.1.1.1

> routing ospf interface add interface=ether1

> routing ospf instance set 0 redistribute-connected=as-type-1 router-id=1.1.1.1

> routing ospf network add network=10.10.10.0/24 area=Area2

> routing ospf network add network=1.1.1.1/32 area=Area2




Sekarang kita setting yang Router2. 
Kita perlu memasukkan area1 dan area2 (tidak perlu add area backbone)

*R2 (Backbone Area)

> system identity set name=Router2

> interface bridge add name=loopback

> ip address add address=10.10.10.2/24 interface=ether1

> ip address add address=20.20.20.1/24 interface=ether2

> ip address add address=2.2.2.2/32 interface=loopback


> routing ospf area add name=Area1 area-id=3.3.3.3

> routing ospf area add name=Area2 area-id=1.1.1.1

> routing ospf interface add interface=ether1

> routing ospf interface add interface=ether2

> routing ospf instance set 0 redistribute-connected=as-type-1 router-id=2.2.2.2

> routing ospf network add network=20.20.20.0/24 area=Area1

> routing ospf network add network=10.10.10.0/24 area=Area2

> routing ospf network add network=2.2.2.2/32 area=backbone


0 komentar:

Posting Komentar

Contact

Talk to us

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolores iusto fugit esse soluta quae debitis quibusdam harum voluptatem, maxime, aliquam sequi. Tempora ipsum magni unde velit corporis fuga, necessitatibus blanditiis.

Address:

Jakarta,DKI Jakarta - Indonesia

Work Time:

Every Day (24 Hours)

Email:

dzakycatra@gmail.com

My Friends