NetLap L7 1
NetLap L7 1
Level: 4
Faculty of Engineering
Networks Lab
R1(config)#line console 0
R1(config-line)#password 1234@NetLap
R1(config-line)#login
R1(config-line)#exec-timeout 5 30
R1(config-line)#logging synchronous
R1(config-line)#exit
R1(config)#interface s0/0/0
R1(config-if)#ip address 200.1.1.1 255.255.255.252
R1(config-if)#description linked-to-R1
R1(config-if)#no shutdown
R1#configure terminal
R1(config)#ip dhcp pool NetworkA
R1(dhcp-config)#network 192.168.1.0 255.255.255.0
R1(dhcp-config)#default-router 192.168.1.1
R1(dhcp-config)#dns-server 8.8.8.8
R1(dhcp-config)#exit
R1(config)#ip dhcp excluded-address 192.168.1.1 192.168.1.10
R1(config)#exit
Router>enable
Router#clock sat 6:20:00 10 Oct 2023
Router#conf t
Router(config)#hostname R2
R2(config)#banner motd % ***************** Only for Autharized ************%
R2(config)#enable secret college
R2(config)#service password-encryption
R2(config)#security passwords min-length 10
R2(config)#login block-for 249 attempts 4 within 120
R2(config)#line console 0
R2(config-line)#password 2468@NetLap
R2(config-line)#login
R2(config-line)#exec-timeout 5 30
R2(config-line)#logging synchronous
R2(config-line)#exit
R2(config)#interface gig0/0
R2(config-if)#ip address 192.168.2.1 255.255.255.0
R2(config-if)#description linked-to-LAN
R2(config-if)#no shutdown
R2(config-if)#ex
R2#show ip route
R2#show ip route connected
R2#show ip route static
R2#copy running-config startup-config
Testing Network