4.11 Lab Manual 11 CN
4.11 Lab Manual 11 CN
/ UMT Lahore
Lab Manual # 11
The first command, router ospf 1, enables the OSPF process. The “1” indicates the OSPF
process ID, and can be unique on each router. The process ID allows multiple OSPF
processes to run on the same router. In OSPF subnet mask is compulsory and in OSPF we
also assign area, while routing directed connected networks.
Page 1 of 4
Lab Manual /CN-5th/ BSSE / SE Dept./ UMT Lahore
Step01: Assign IP addresses, default gateways, statically to all PCs in both LANs
as shown in topology.
Step02: Assign IP addresses to all interfaces connected to both routers as shown
in topology.
Step03:
Commands:
- Open router CLI (Command line interface)
- Show ip route (Show the IP of routers that you have assigned them, this
should be written on second mode “# mode”)
- Configure terminal (Third mode)
Here comes the steps for OSPF;
- Router ospf 1 (here ‘1’ indicates the process ID as I discussed before,
this can different in different routers).
Now, suppose routing configuration of 2 networks
- Network 10.0.0.0 255.0.0.0 area 1 (here subnet mask is must, and we
have to assign an area)
Page 2 of 4
Lab Manual /CN-5th/ BSSE / SE Dept./ UMT Lahore
Use these commands and configure every routers e.g. RouterA, RouterB.
Page 3 of 4
Lab Manual /CN-5th/ BSSE / SE Dept./ UMT Lahore
End Of Lab # 11
Page 4 of 4