Router0 Configuration
Router0 Configuration
enable
configure terminal
hostname Router0-GROUP
line console 0
password CONSOLE_PASSWORD
login local
transport preferred none
line vty 0 4
password VTY_PASSWORD
login local
transport input telnet ssh
service password-encryption
router ospf 1
router-id 192.168.5.2
network 192.168.1.0 0.0.0.255 area 1
network 192.168.5.0 0.0.0.255 area 1
end
write memory
Router1 Configuration:
enable
configure terminal
hostname Router1-GROUP
line console 0
password CONSOLE_PASSWORD
login local
transport preferred none
line vty 0 4
password VTY_PASSWORD
login local
transport input telnet ssh
service password-encryption
router ospf 1
router-id 1.1.1.1
network 192.168.5.0 0.0.0.255 area 1
network 192.168.2.0 0.0.0.255 area 0
network 192.168.10.0 0.0.0.255 area 2
network 1.1.1.1 0.0.0.0 area 0
interface Loopback0
ip address 1.1.1.1 255.255.255.0
no shutdown
end
write memory
Router2 Configuration:
enable
configure terminal
hostname Router2-GROUP
line console 0
password CONSOLE_PASSWORD
login local
transport preferred none
line vty 0 4
password VTY_PASSWORD
login local
transport input telnet ssh
service password-encryption
router ospf 1
router-id 2.2.2.2
network 192.168.10.0 0.0.0.255 area 2
network 192.168.3.0 0.0.0.255 area 2
network 2.2.2.2 0.0.0.0 area 2
interface Loopback0
ip address 2.2.2.2 255.255.255.0
no shutdown
end
write memory
Switch0 Configuration:
enable
configure terminal
hostname Switch0-LOCAL
line console 0
password SWITCH_CONSOLE
login
line vty 0 15
password SWITCH_VTY
login
service password-encryption
end
write memory
Switch1 Configuration:
enable
configure terminal
hostname Switch1-LOCAL
line console 0
password SWITCH_CONSOLE
login
line vty 0 15
password SWITCH_VTY
login
service password-encryption
end
write memory
Switch2 Configuration:
enable
configure terminal
hostname Switch2-LOCAL
line console 0
password SWITCH_CONSOLE
login
line vty 0 15
password SWITCH_VTY
login
service password-encryption
end
write memory
End Device Configurations (Conceptual):
You will configure these through the operating system interface of each PC and Laptop:
Laptop0:
o IP Address: 192.168.1.x (e.g., 192.168.1.10)
PC0:
o IP Address: 192.168.1.4
PC1:
o IP Address: 192.168.1.5
PC2:
o IP Address: 192.168.1.8
PC3:
o IP Address: 192.168.2.5
PC4:
o IP Address: 192.168.2.200
PC5: 0
o IP Address: 192.168.2.205
Laptop1:
o IP Address: 192.168.5.x (e.g., 192.168.5.10)
Laptop2:
o IP Address: 192.168.10.x (e.g., 192.168.10.10)
PC6:
o IP Address: 192.168.3.5
PC7:
o IP Address: 192.168.3.50
PC8:
o IP Address: 192.168.3.27
Remember to replace the placeholder passwords and group name in the router and
switch configurations.