net323 d: networks protocols - wordpress.com · introduction to ospf multi-area 4 to handle routing...

21
NET323 D: NETWORKS PROTOCOLS Lab # 6 (part 2) : Dynamic Route (OSPF - Multiarea) Networks and Communication Systems Department TA. Anfal AlHazzaa 1

Upload: hoangtu

Post on 21-Mar-2019

222 views

Category:

Documents


0 download

TRANSCRIPT

NET323 D:

NETWORKS PROTOCOLS

Lab # 6 (part 2) : Dynamic Route (OSPF - Multiarea) Networks and Communication

Systems Department

TA. Anfal AlHazzaa

1

Lab Objectives 2

To configure dynamic route on the routers using

OSPF (Open Shortest Path First) multi-area

To send ICMP message between devices in

different networks.

Networks and Communication Systems Department – Prepared By: TA. Anfal AlHazzaa

Lab Content

Introduction to OSPF multi-area

OSPF multi-area routers types

How to configure OSPF “multi-area” on the router

Example

Showing Routing table

3

Networks and Communication Systems Department – Prepared By: TA. Anfal AlHazzaa

Introduction to OSPF multi-area

4

To handle routing efficiently and in a timely manner, OSPF

divides an autonomous system into areas.

An area is a collection of networks, hosts, and routers all

contained within an autonomous system (all networks inside

an area must be connected)

Among the areas inside an autonomous system is a special

area called the backbone; all the areas inside an autonomous

system must be connected to the backbone.

Networks and Communication Systems Department – Prepared By: TA. Anfal AlHazzaa

Introduction to OSPF multi-area cont.

5

The routers inside the backbone are called the backbone

routers.

At the border of an area, special routers called area border

routers (ABR) summarize the information about the area and

send it to other areas.

Each area has an area identification. The area identification

of the backbone is zero

Networks and Communication Systems Department – Prepared By: TA. Anfal AlHazzaa

OSPF multi-area routers types

6

Networks and Communication Systems Department – Prepared By: TA. Anfal AlHazzaa

Router Type Description

Internal Router This router is within a specific area only. All interfaces on

internal routers are in the same area.

Area border

router (ABR)

ABRs are responsible for connecting two or more areas.

ABRs contain the full topological database of each area

they are connected to and send this information to other

areas.

Backbone router

Backbone routers are connected to area 0.

OSPF multi-area routers types cont.

7

ABR

ABR

ABR

ABR

Backbone

router

Backbone

router

Backbone

router Backbone

router Internal

Router

Networks and Communication Systems Department – Prepared By: TA. Anfal AlHazzaa

How to configure OSPF (multi-area) on the router?

8

OSPF configuration

For each router, you have to configure only its directly connected networks by using the following command ( in the global configuration mode):

router ospf 1 network [network address] [Wildcard mask] area

[id]

.

. exit

Networks and Communication Systems Department – Prepared By: TA. Anfal AlHazzaa

How to configure OSPF (multi-area)on the

router? Cont. 9

Command description

Router ospf 1 Puts you in router OSPF configuration mode

1 is process id and can be any number

Network [network address] Tell the routing protocol what network to

advertise (followed by the network address)

in dotted-decimal notation

Wildcard mask Inverted of subnet mask (in dotted-decimal

notation)

Area id Determine which OSPF area the network

belong to (id must be number)

Exit To exit from the router OSPF configuration

mode.

Networks and Communication Systems Department – Prepared By: TA. Anfal AlHazzaa

Note

10

For Internal Router all networks will have same area id

For ABR (Area Border Router) each network will have area id based on the area that belong to.

Networks and Communication Systems Department – Prepared By: TA. Anfal AlHazzaa

[Example] Configuring OSPF (multiarea) on

a router (Router 0) – area 1 11

Networks and Communication Systems Department – Prepared By: TA. Anfal AlHazzaa

Router 0: router ospf 1 network 192.168.1.0 0.0.0.255 area 1 network 20.0.0.0 0.255.255.255 area 1 exit

[Example] Configuring OSPF (multiarea) on

a router (Router 1) – area 1 12

Networks and Communication Systems Department – Prepared By: TA. Anfal AlHazzaa

Router 1: router ospf 1 network 20.0.0.0 0.255.255.255 area 1 network 30.0.0.0 0.255.255.255 area 1 exit

[Example] Configuring OSPF (multiarea) on

a router (Router 2) - ABR 13

Networks and Communication Systems Department – Prepared By: TA. Anfal AlHazzaa

Router 2 (ABR): router ospf 1 network 30.0.0.0 0.255.255.255 area 1 network 40.0.0.0 0.255.255.255 area 0 exit

[Example] Configuring OSPF (multiarea) on

a router (Router 3) – area 0 14

Networks and Communication Systems Department – Prepared By: TA. Anfal AlHazzaa

Router 3: router ospf 1 network 40.0.0.0 0.255.255.255 area 0 network 50.0.0.0 0.255.255.255 area 0 exit

[Example] Configuring OSPF (multiarea) on

a router (Router 4) – area 0 15

Networks and Communication Systems Department – Prepared By: TA. Anfal AlHazzaa

Router 4: router ospf 1 network 50.0.0.0 0.255.255.255 area 0 network 60.0.0.0 0.255.255.255 area 0 exit

[Example] Configuring OSPF (multiarea) on

a router (Router 5) – ABR 16

Networks and Communication Systems Department – Prepared By: TA. Anfal AlHazzaa

Router 5 (ABR): router ospf 1 network 60.0.0.0 0.255.255.255 area 0 network 70.0.0.0 0.255.255.255 area 2 exit

[Example] Configuring OSPF (multiarea) on

a router (Router 6) – area 2 17

Networks and Communication Systems Department – Prepared By: TA. Anfal AlHazzaa

Router 6: router ospf 1 network 70.0.0.0 0.255.255.255 area 2 network 80.0.0.0 0.255.255.255 area 2 exit

[Example] Configuring OSPF (multiarea) on

a router (Router 7) – area 2 18

Networks and Communication Systems Department – Prepared By: TA. Anfal AlHazzaa

Router 7: router ospf 1 network 80.0.0.0 0.255.255.255 area 2 network 172.16.0.0 0.0.255.255 area 2 exit

Showing Routing table

19

Example : Routing table of Router 3

Use the following command to show the routing table at

privilege mode

Show ip route

Networks and Communication Systems Department – Prepared By: TA. Anfal AlHazzaa

Note 20

IA :

abbreviated to Inter-area and it means that the

network is belong to area not directly connected

to the router

Networks and Communication Systems Department – Prepared By: TA. Anfal AlHazzaa

References

21

Cisco Packet Tracer Help

“Data Communication and Networking”, by Behrouz A Forouzan, McGraw

Hill, 2006 .

CCNP Practical Studies: Routing | Copyright | InformIT. (n.d.). Retrieved 2015, from

http://www.informit.com/library/content.aspx?b=CCNP_Studies_Routing&seqNum=38

H3C S3600 Series Ethernet Switches Operation Manual-Release 1702(V1.01). (n.d.).

Retrieved 2015, from http://www.h3c.com/

Networks and Communication Systems Department – Prepared By: TA. Anfal AlHazzaa