ITNE2003
Install, Configure, Operate and Troubleshoot
Medium-Networks
Lab Tutorial - 5 of Lesson - 5
June 2018
Copyright © 2016 VIT, All Rights Reserved. VIT and its logo are trademarks of Victorian Institute of Technolog 1
IP Network to be subnetted: [Link]/24
• HQ: 50 PCs
• Branch A: 20 PCs
Network address plan
Head Quarter
Total number of IP address required in details
- Number of IP addresses allocated for PCs
- Number of IP addresses allocated for router interface
- Number of IP addresses reserved for future use
Allocated subnet
Network Address
Broadcast Address
ITNE2003 Lab Tutorial 5
Valid host address range (can be used to assign to PCs, servers,
IP phones, printers etc.)
Branch A
Total number of IP address required in details
- Number of IP addresses allocated for PCs
- Number of IP addresses allocated for router interface
- Number of IP addresses reserved for future use
Allocated subnet
Network Address
Broadcast Address
Valid host address range (can be used to assign to PCs, servers,
IP phones, printers etc.)
R1-R2 subnet
Total number of IP address required in details
- Number of IP addresses allocated for router interfaces
- Number of IP addresses reserved for future use
Allocated subnet
Network Address
Broadcast Address
R1 and R2 Interface IP address
Address allocation map
HQ Network
Branch A
Unused addresses
Copyright © 2015-2018 VIT, All Rights Reserved. 3
ITNE2003 Lab Tutorial 5
R1-R2 subnet
Network configuration
Router interface description table
This table helps network engineers to quickly identify the routing direction of each interface in a
complex network environment.
Router R1 (HQ)
Interface FastEthernet0/0
Interface FastEthernet0/1
Interface Serial0/1/0
Router R2 (Branch-A)
Interface FastEthernet0/0
Interface FastEthernet0/1
Interface Serial0/1/0
Administrative configuration commands used for each router
• Router 1 host name and interface configuration
Copyright © 2015-2018 VIT, All Rights Reserved. 4
ITNE2003 Lab Tutorial 5
Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
//configure router hostname
Router(config)#hostname RouterHQ
//configure interface FastEthernet0/0
RouterHQ(config)#int F0/0
RouterHQ(config-if)#description to HQ network
RouterHQ(config-if)#ip address ? ?
RouterHQ(config-if)#no shut
RouterHQ(config-if)#exit
//configure interface FastEthernet0/1
RouterHQ(config)#int F0/1
RouterHQ(config-if)#description unused
RouterHQ(config-if)#shut
RouterHQ(config-if)#exit
//configure interface Serial0/1/0
RouterHQ(config)#do show controller S0/1/0
… DCE V.35… (output omitted) – this is a DCE so clock rate is needed
RouterHQ(config)#int S0/1/0
RouterHQ(config-inf)# description to branch A
RouterHQ(config-if)#ip address ? ?
RouterHQ(config-if)#clock rate 64000
RouterHQ(config-if)#no shut
• Router 2 hostname and interface configuration
Copyright © 2015-2018 VIT, All Rights Reserved. 5
ITNE2003 Lab Tutorial 5
Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
//configure router hostname
Router(config)#hostname RouterBA
//configure interface FastEthernet0/0
RouterBA(config)#int F0/0
RouterBA(config-if)#description to Branch A network
RouterBA(config-if)#ip address ? ?
RouterBA(config-if)#no shut
RouterBA(config-if)#exit
//configure interface FastEthernet0/1
RouterBA(config)#int F0/1
RouterBA(config-if)#description unused
RouterBA(config-if)#shut
RouterBA(config-if)#exit
//configure interface Serial0/1/0
RouterBA(config)#do show controller S0/1/0
… DTE V.35… (output omitted) – this is a DTE so clock rate is not needed
RouterBA(config)#int S0/1/0
RouterBA(config-inf)# description to HQ
RouterBA(config-if)#ip address ? ?
RouterBA(config-if)#no shut
After you have successfully configured the two router interfaces, the connection between the interfaces
are established and shown in green colour.
Show your screenshot here
Next we will configure the access protection on router 1 and router 2.
• Router 1 access protection
Copyright © 2015-2018 VIT, All Rights Reserved. 6
ITNE2003 Lab Tutorial 5
//enable password encryption service
RouterHQ(config)#service password-encryption
//configure password to control access to the router privileged mode
RouterHQ(config)#enable password Pa$$w0rdHQ
RouterHQ(config)#enable secret 1a2b3c@123HQ
• Router 2 access protection
//enable password encryption service
RouterBA(config)#service password-encryption
//configure password to control access to the router privileged mode
RouterBA(config)#enable password Pa$$w0rdBA
RouterBA(config)#enable secret 1a2b3c@123BA
Finally, we save the running configuration to NVRAM so the routers can load the configuration
automatically next time when power on.
• Save Router 1 configuration to NVRAM
//exit from the global configuration mode (if not already done so)
RouterHQ(config)#exit
//save the running config to NVRAM (startup config)
RouterHQ#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
RouterHQ#
• Save Router 2 configuration to NVRAM
//exit from the global configuration mode (if not already done so)
RouterBA(config)#exit
//save the running config to NVRAM using shortcut
RouterBA#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
RouterBA#
Copyright © 2015-2018 VIT, All Rights Reserved. 7