Network Setup and OSPF Configuration Guide
Step 1: Devices Used
|
Device Type |
Quantity |
Model |
|
Router |
2 |
Router-PT |
|
Switch |
2 |
2950-24 |
|
PC |
4 |
PC-PT |
|
Cables |
6 |
Copper Straight-through, Serial DCE/DTE |
Step 2: Cable Connections
Use automatic or appropriate cables:
·
• PC ↔ Switch: Copper straight-through
·
• Switch ↔ Router: Copper straight-through
·
• Router ↔ Router: Serial DCE/DTE
Step 3: IP Address Assignment
|
Device |
IP Address |
Subnet
Mask |
Default
Gateway |
|
PC0 |
192.168.1.2 |
255.255.255.0 |
192.168.1.1 |
|
PC1 |
192.168.1.3 |
255.255.255.0 |
192.168.1.1 |
|
PC2 |
192.168.3.2 |
255.255.255.0 |
192.168.3.1 |
|
PC3 |
192.168.3.3 |
255.255.255.0 |
192.168.3.1 |
Step 4: Router Configuration
Router0 CLI Commands:
enable
configure terminal
interface fastethernet0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
exit
interface serial2/0
ip address 10.0.0.1 255.255.255.0
clock rate 64000
no shutdown
exit
router ospf 1
network 192.168.1.0 0.0.0.255 area 0
network 10.0.0.0 0.0.0.255 area 0
exit
Router1 CLI Commands:
enable
configure terminal
interface fastethernet0/0
ip address 192.168.3.1 255.255.255.0
no shutdown
exit
interface serial2/0
ip address 10.0.0.2 255.255.255.0
no shutdown
exit
router ospf 1
network 192.168.3.0 0.0.0.255 area 0
network 10.0.0.0 0.0.0.255 area 0
exit
Step 5: Test Network Connectivity
On PC0 and PC1, open the command prompt and enter the
following:
ping 192.168.3.2
ping 192.168.3.3
If you receive replies, the network and OSPF routing are
functioning correctly.
🎉 Congratulations! Your network setup is complete
and operational.
0 Comments