You are on page 1of 5

OPEN ENDED

Aim: Configuring network topology and assigning dynamic routing using OSPF

Apparatus (Software)
PacketTracer and CLI

Principle:-
All commands related to Network configuration which includes how to switch to
privilege mode and normal mode and how to configure router interface and how to
save this configuration to flash memory or permanent memory.
This command

 Configuring the Router Commands


 General Commands to configure network
 •Privileged Mode commands of a Switch
 Router Processes & Statistics
 IP Commands
 Other IP Commands e.g. show ip route etc.

Procedure :-
Step 1: open PacketTracer
Step2 :Create topology which contains Two Routers and two PCs onto the workspace.
Step3: Establish desired connection between pc and Router
Step 4:Assign IP Addresses
Double-click on each PC to open the configuration window. Assign IP addresses to the PCs in the same subnet.

PC0

PC1
Router 0

GigabitEthernet0/0/0

GigabitEthernet0/0/1

Router 1

GigabitEthernet0/0/0
GigabitEthernet0/0/1

Step 5: Setting up OSPF protocol


Click on each switch to open its CLI (Command Line Interface). Use the enable command to enter privileged
EXEC mode. (enable)

Router 0

Router0(config)#router ospf 1
Router0(config-router)#network 20.0.0.0 0.255.255.255 area 1
Router0(config-router)#network 30.0.0.0 0.255.255.255 area 1
Router0(config-router)#
00:12:34: %OSPF-5-ADJCHG: Process 1, Nbr 40.0.0.1 on GigabitEthernet0/0/1 from LOADING to FULL,
Loading Done

Router0(config-router)#exit
Router0(config)#exit
Router0#
%SYS-5-CONFIG_I: Configured from console by console

Router0#show ipospf ne
Router0#show ipospf neighbor

Neighbor ID Pri State Dead Time Address Interface


40.0.0.1 1 FULL/BDR 00:00:35 30.0.0.2 GigabitEthernet0/0/1
Router0#
Router0#show iprou
Router0#show ip route os
Router0#show ip route ospf
O 40.0.0.0 [110/2] via 30.0.0.2, 00:02:21, GigabitEthernet0/0/1

Router0#
Router0#

Router1

Router1(config)#router ospf 2
Router1(config-router)#net
Router1(config-router)#network 30.0.0.0 0.255.255.255 area 1
Router1(config-router)#network 30.0.0.0 0.255.255.255 area 1
00:12:31: %OSPF-5-ADJCHG: Process 2, Nbr 30.0.0.1 on GigabitEthernet0/0/0 from LOADING to FULL,
Loading Done

Router1(config-router)#network 40.0.0.0 0.255.255.255 area 1


Router1(config-router)#
Router1(config-router)#exit
Router1(config)#exit
Router1#
%SYS-5-CONFIG_I: Configured from console by console

Router1#show ipos
Router1#show ipospfnei
Router1#show ipospf neighbor

Neighbor ID Pri State Dead Time Address Interface


30.0.0.1 1 FULL/DR 00:00:32 30.0.0.1 GigabitEthernet0/0/0
Router1#show ip rout
Router1#show ip route ospf
O 20.0.0.0 [110/2] via 30.0.0.1, 00:01:59, GigabitEthernet0/0/0

Router1#

Result:
Configuring network topology and assigning dynamic routing using OSPFestablish connection
successfully

You might also like