In: Computer Science
Design a network with the following requirements:
- 4 LANS separated by a WAN
- Utilize any Class C address; any routing protocol
-Implement the following:
In Router 0,
1. Banner
2. Time-out
3. Block Log in
4. Telnet
In Router 1:
1. Privilege Level 15 for User1
2. Privilege level 3 for User 2
3. SSH
Given scenario is 4 LANS separated by a WAN and using any Class C address and any routing protocol
Here choosing the network 192.168.10.0/24 and subnetting it and also choooosing the RIP version 2 protocol for routing.
Network is designed in the packet tracer
Router confguration:
Interfaces Settings
Router 0
Router0(config)#interface GigabitEthernet0/0
Router0(config-if)#no shutdown
Router0(config-if)#ip address 192.168.10.1 255.255.255.224
Router0(config-if)#exit
Router0(config)#interface Serial0/0/0
Router0(config-if)#no shutdown
Router0(config-if)#clock rate 64000
Router0(config-if)#ip address 192.168.10.129 255.255.255.252
Router0(config-if)#exit
Router0(config)#interface GigabitEthernet0/1
Router0(config-if)#no shutdown
Router0(config-if)#ip address 192.168.10.33 255.255.255.224
Router 1:
Router1(config)#interface GigabitEthernet0/0
Router1(config-if)#no shutdown
Router1(config-if)#ip address 192.168.10.65 255.255.255.224
Router1(config-if)#exit
Router1(config)#interface Serial0/0/0
Router1(config-if)#no shutdown
Router1(config-if)#ip address 192.168.10.130 255.255.255.252
Router1(config-if)#exit
Router1(config)#interface GigabitEthernet0/1
Router1(config-if)#no shutdown
Router1(config-if)#ip address 192.168.10.97 255.255.255.224
Show interface settings
Router 0
Router 1
Configure routing using RIPV2
Router0
Router0(config)#router rip
Router0(config-router)#version 2
Router0(config-router)#network 192.168.10.0
Router0(config-router)#network 192.168.10.32
Router0(config-router)#network 192.168.10.128
Router1
Router1(config)#router rip
Router1(config-router)#version 2
Router1(config-router)#network 192.168.10.64
Router1(config-router)#network 192.168.10.96
Router1(config-router)#network 192.168.10.128
Display routing table
Router 0
Router1
Host configuration
PC0
PC1
PC2
PC3
Check connectivity between the LANs using PING
Ping from PC0 to PC1 ,PC2 and PC3
Implement the given requirements
Router 0
1. Banner
Router0(config)#banner motd "Restricted Device"
Router0(config)#do wr
Router0(config)#exit
Router0#logout
2. Time-out
Router0(config)#line console 0
Router0(config-line)#exec-timeout 5
3. Block Log in
Router0(config)#login block-for 60 attempts 3 within 5
For blocking login for 60 minutes when attempts 3 invalid login within 5 minutes.
4. Telnet
Set enable password and telnet password
Router0(config)#enable password cisco123
Router0(config)#line vty 0 4
Router0(config-line)#password cisco
Router0(config-line)#login
Router0(config-line)#
Check telnet access from PC0
Check telnet access from PC3
Router 1
1. Privilege Level 15 for User1
Router1(config)#username User1 privilege 15 password cisco
2. Privilege level 3 for User 2
Router1(config)#username User2 privilege 3 password cisco123
3. SSH
Router1(config)#ip domain name cisco
Router1(config)#line vty 0 4
Router1(config-line)#login local
Router1(config-line)#transport input ssh
Router1(config-line)#exit
Router1(config)#crypto key generate rsa
The name for the keys will be: Router1.cisco
Choose the size of the key modulus in the range of 360 to 2048 for your
General Purpose Keys. Choosing a key modulus greater than 512 may take
a few minutes.
How many bits in the modulus [512]: 1024
% Generating 1024 bit RSA keys, keys will be non-exportable...[OK]
Router1(config)#
Check SSH access from PC 3
Check SSH access from PC 2
Check SSH access from PC 0