Sharing Ilmu

Sharing for useful things

Configuration basic dynamic routing OSPF

Hello everyone, in this tutorial I’ll discuss about basic configuration of dynamic routing OSPF.  OSPF (Open Shortest Path First) is a dynamic routing in IGP categories and that are included as Link State Protocols.

OSPF using Djikstra algoritm or SPF algoritm which are determine the best path routing based on cost value. cost value are referring to bandwidth on the link interface that running ospf.

The following topologi that are used for this tutorial.

Before configure ospf, you must be configure ip address for each routers.

Configure IP Address :

R1 : 

[admin@R1] > ip address add address=10.10.10.1/30 interface=ether1

R2 : 

[admin@R2] > ip address add address=10.10.10.2/30 interface=ether1
[admin@R2] > ip address add address=20.20.20.1/30 interface=ether2

R3 : 

[admin@R3] > ip address add address=20.20.20.2/30 interface=ether1

 

Configure OSPF for each routers : 

R1 : 

Create bridge interface and ip address for loopback

Configure OSPF network for add ip network which owned by routers self with backbone area.

Do configure on Routing –> OSPF menu and Networks tab:

R2 : 

Create bridge interface and ip address for loopback

Configure OSFP Network on R2 :

 

R3 : 

Create bridge and ip address for loopback

Configure OSPF network

Now check on OSPF Neighbors tab for seeing status of router that has to adjacency with those router.

As the shown image bellow, in R1 that shown connection with R2, in R2 shown connection with R1 and R3 then R3 with R2.

 

Check on IP Route, that shown routing table with DAo flag (Dynamic Active OSPF) for each router which are determining of destination for other network in other router.

Test connection between R1 to R3 network.

The configuration has successfull.

Leave a Reply

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

*
*
You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>