Sunteți pe pagina 1din 7

Questions

1) Explain why the Areas and Balanced scenarios result in different routes than those observed in the
No_Areas scenario, for the same pair of routers.
In No Areas the routing algorithm selects the lowest cost path , while in Areas routing is done within
Area and in Balanced the paths are balanced.

2) Using the simulation log, examine the generated routing table in RouterA for each of the three
scenarios.
Explain the values assigned to the Metric column of each route.
Hints:
Refer to the View Results section in Lab 6 for information about examining the routing tables.You
will need to set the global attribute IP Interface Addressing Mode to the value Auto
Addressed/Export and rerun the simulation.
To determine the IP address information for all interfaces, you need to open the Generic Data File
that contains the IP addresses and associated with the scenarios.
COMMON ROUTE TABLE snapshot for:

NO Area

Router name: Campus Network.RouterA at time: 600.00 seconds


ROUTE TABLE contents:
Dest. Address Subnet Mask
Next Hop
Interface Name Metric
Protocol
--------------- --------------- --------------- --------------- ------------- -------------192.0.4.0
192.0.1.0
192.0.2.0
192.0.13.0
192.0.17.0
192.0.8.0
192.0.6.0
192.0.7.0
192.0.18.0
192.0.3.0
192.0.14.0
192.0.11.0
192.0.5.0
192.0.10.0
192.0.15.0
192.0.9.0
192.0.16.0
192.0.12.0
192.0.19.0

255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0

192.0.4.2
192.0.1.1
192.0.2.1
192.0.13.1
192.0.4.1
192.0.4.1
192.0.4.1
192.0.4.1
192.0.4.1
192.0.4.1
192.0.4.1
192.0.4.1
192.0.4.1
192.0.4.1
192.0.4.1
192.0.4.1
192.0.4.1
192.0.4.1
192.0.1.2

IF4
IF10
IF11
Loopback
IF4
IF4
IF4
IF4
IF4
IF4
IF4
IF4
IF4
IF4
IF4
IF4
IF4
IF4
IF10

0
0
0
0
10
15
10
15
15
35
10
20
10
20
20
25
15
5
20

The gateway of last resort is not set

NOTE: In order to view the individual routing tables maintained


by various dynamic routing protocols (e.g., OSPF and RIP), you
can set the simulation attribute "IP Routing Table Export/Import"
to "Export" to generate a network-wide routing table/protocol output.

Direct
Direct
Direct
Direct
OSPF
OSPF
OSPF
OSPF
OSPF
OSPF
OSPF
OSPF
OSPF
OSPF
OSPF
OSPF
OSPF
OSPF
OSPF

Insertion Time

0.000
0.000
0.000
0.000
36.819
36.819
36.819
36.819
36.819
36.819
36.819
36.819
36.819
36.819
36.819
36.819
36.819
36.819
36.819

COMMON ROUTE TABLE snapshot for: AREAS


Router name: Campus Network.RouterA
at time: 600.00 seconds
ROUTE TABLE contents:
Dest. Address Subnet Mask
Next Hop
Interface Name Metric
Protocol
--------------- --------------- --------------- --------------- ------------- -------------192.0.4.0
192.0.1.0
192.0.2.0
192.0.13.0
192.0.12.0
192.0.6.0
192.0.5.0
192.0.17.0
192.0.8.0
192.0.7.0
192.0.18.0
192.0.3.0
192.0.19.0
192.0.14.0
192.0.10.0
192.0.11.0
192.0.9.0
192.0.16.0
192.0.15.0

255.255.255.0 192.0.4.2
255.255.255.0 192.0.1.1
255.255.255.0 192.0.2.1
255.255.255.0 192.0.13.1
255.255.255.0 192.0.4.1
255.255.255.0 192.0.4.1
255.255.255.0 192.0.4.1
255.255.255.0 192.0.4.1
255.255.255.0 192.0.4.1
255.255.255.0 192.0.4.1
255.255.255.0 192.0.4.1
255.255.255.0 192.0.1.2
192.0.2.2
IF11
255.255.255.0 192.0.1.2
255.255.255.0 192.0.4.1
255.255.255.0 192.0.4.1
255.255.255.0 192.0.4.1
255.255.255.0 192.0.4.1
255.255.255.0 192.0.4.1
255.255.255.0 192.0.4.1

IF4
IF10
IF11
Loopback
IF4
IF4
IF4
IF4
IF4
IF4
IF4
IF10
40
IF10
IF4
IF4
IF4
IF4
IF4
IF4

0
0
0
0
5
10
10
10
15
15
15
40
OSPF
20
10
20
20
25
15
20

Insertion Time

Direct
0.000
Direct
0.000
Direct
0.000
Direct
0.000
OSPF
36.819
OSPF
36.819
OSPF
36.819
OSPF
36.819
OSPF
36.819
OSPF
36.819
OSPF
36.819
OSPF
36.819
36.819
OSPF
36.819
OSPF
36.819
OSPF
36.819
OSPF
36.819
OSPF
36.819
OSPF
36.819
OSPF
39.295

The gateway of last resort is not set

NOTE: In order to view the individual routing tables maintained


by various dynamic routing protocols (e.g., OSPF and RIP), you
can set the simulation attribute "IP Routing Table Export/Import"
to "Export" to generate a network-wide routing table/protocol output.

COMMON ROUTE TABLE snapshot for:

Balanced

Router name: Campus Network.RouterA


at time: 600.00 seconds
ROUTE TABLE contents:
Dest. Address Subnet Mask
Next Hop
Interface Name Metric
Protocol
--------------- --------------- --------------- --------------- ------------- -------------192.0.4.0
192.0.1.0
192.0.2.0
192.0.13.0
192.0.17.0
192.0.8.0
192.0.6.0
192.0.7.0
192.0.18.0
192.0.3.0
192.0.14.0
192.0.11.0

255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0

192.0.4.2
192.0.1.1
192.0.2.1
192.0.13.1
192.0.4.1
192.0.4.1
192.0.4.1
192.0.4.1
192.0.4.1
192.0.4.1
192.0.4.1
192.0.4.1

IF4
IF10
IF11
Loopback
IF4
IF4
IF4
IF4
IF4
IF4
IF4
IF4

0
0
0
0
10
15
10
15
15
35
10
20

Direct
Direct
Direct
Direct
OSPF
OSPF
OSPF
OSPF
OSPF
OSPF
OSPF
OSPF

Insertion Time

0.000
0.000
0.000
0.000
36.819
36.819
36.819
36.819
36.819
36.819
36.819
36.819

192.0.5.0
192.0.10.0
192.0.15.0
192.0.9.0
192.0.16.0
192.0.12.0
192.0.19.0

255.255.255.0 192.0.4.1
255.255.255.0 192.0.4.1
255.255.255.0 192.0.4.1
255.255.255.0 192.0.4.1
255.255.255.0 192.0.4.1
255.255.255.0 192.0.4.1
255.255.255.0 192.0.1.2

IF4
IF4
IF4
IF4
IF4
IF4
IF10

10
20
20
25
15
5
20

OSPF
OSPF
OSPF
OSPF
OSPF
OSPF
OSPF

36.819
36.819
36.819
36.819
36.819
36.819
36.819

The gateway of last resort is not set

NOTE: In order to view the individual routing tables maintained


by various dynamic routing protocols (e.g., OSPF and RIP), you
can set the simulation attribute "IP Routing Table Export/Import"
to "Export" to generate a network-wide routing table/protocol output.

3) OPNET allows you to examine the link-state database that is used by each router to build the directed
Hints:
graph of the network. Examine this database for RouterA in the No_Areas scenario. Show how RouterA
utilizes this database to create a map for the topology of the network and draw this map. (This is the map
that will be used later by the router to create its routing table.)
To export the link-state database of a router, Edit the attributes of the router and set the Link State
Database Export parameter (one of the OSPF Parameters, under Processes) to Once at End of
Simulation.
You will need to set the global attribute IP Interface Addressing Mode to the value Auto
Addressed/Export. This will allow you to check the automatically assigned IP addresses to the
interfaces of the network. (Refer to the notes of question 2 above.)
After rerunning the simulation, you can check the link-state database by opening the simulation log
(from the Results menu). The link-state database is available in Classes
OSPF LSDB_Export.
4) Create another scenario as a duplicate of the No_Areas scenario. Name the new scenario
Q4_No_Areas_Failure. In this new scenario simulate a failure of the link connecting RouterD and
RotuerE. Have this failure start after 100 seconds. Rerun the simulation. Show how that link failure
affects the content of the link-state database and routing table of RouterA. (You will need to disable the
global attribute OSPF Sim Efficiency. This will allow OSPF to update the routing table if there is any
change in the network.)
5) For both No_Areas and Q4_No_Areas_Failure scenario, collect the Traffic Sent (bits/sec) statistic
(one of the Global Statistics under OSPF). Rerun the simulation for those two scenarios and obtain the
graph that compares the OSPFs Traffic Sent (bits/sec) in both scenarios. Comment on the obtained
graph.

Lab 18 : OSPF
Syed Aijaz Ahmad
MSEE-2012-006

S-ar putea să vă placă și