SP22 Bcs 124
SP22 Bcs 124
Sahiwal Campus
BS (Computer Science)
________________________________________________________
Addressing table:
2. Cable Connections:
• Use the "Copper Straight-Through" cable type to connect the routers to the switches
and the switches to the PCs. Click and drag from one device's port to another to create
the connections.
5. Configure OSPF:
Router(config)#router ospf Process ID
Router(config-router)#network Network1 Wildcard mask area OSPF areas
Router(config-router)#network Network2 Wildcard mask area OSPF areas
.
.
Router(config-router)#network NetworkN Wildcard mask area OSPF areas
Process ID: A value in the range from 1 to 65,535 identifies the OSPF process ID. It’s a
unique number on this router that groups a series of OSPF configuration commands
under a specific running process. Different OSPF routers don’t have to use the same
process ID to communicate. It’s a purely local value that doesn’t mean a lot, but you
still need to remember that it cannot start at 0; it has to start at a minimum of 1.
Network – Network that is directly connected with that router. You have to enter each
directly connected network (range from 1 to N) separately using network command
Wildcard mask – Inverse of a subnet mask. For Example, the inverse of the subnet mask
255.255.255.0 is 0.0.0.255. To calculate the inverse of the subnet mask, subtract the
subnet mask from 255.255.255.255:
On the R2 router, Use the show ip ospf neighbor command and write your observations.
R2#show ip ospf neighbor
Result:
With ping command, we pinged pc 0 of router 1 to pc 1 of router 2 and pc 2 of router 3. All ping
results were successful.