Workbook and Lab Manual
Workbook and Lab Manual
CCNA
Workbook – IP Addressing
IP Addressing and sub netting workbook
Binary to decimal
27 26 25 24 23 22 21 20 Value
0 0 0 0 0 0 0 1 1
0 0 0 0 0 0 1 1 3
0 0 0 0 0 1 1 1 7
0 0 0 0 1 1 1 1 15
0 0 0 1 1 1 1 1 31
0 0 1 1 1 1 1 1 63
0 1 1 1 1 1 1 1 127
1 1 1 1 1 1 1 1 255
1 1 1 1 1 1 1 0 254
1 1 1 1 1 1 0 0 252
1 1 1 1 1 0 0 0 248
1 1 1 1 0 0 0 0 240
1 1 1 0 0 0 0 0 224
1 1 0 0 0 0 0 0 192
1 0 0 0 0 0 0 0 128
Workout
27 26 25 24 23 22 21 20 Value
1 0 0 0 0 0 0 1
1 0 1 0 1 0 1 1
0 0 1 0 0 1 1 0
1 0 0 0 1 1 0 1
0 1 0 1 1 1 1 0
0 0 1 0 1 1 0 1
0 1 1 1 1 0 1 1
1 0 1 1 1 1 0 1
1 1 0 1 1 1 1 0
1 1 1 0 1 1 0 0
1 0 1 1 1 0 1 0
1 1 1 1 0 0 0 0
1 0 1 0 0 0 1 0
1 1 0 0 0 1 0 0
1 0 0 0 0 0 0 1
Decimal to binary
27 26 25 24 23 22 21 20 Decimal value
0 0 0 0 0 0 0 1 1
0 0 0 0 0 0 1 0 2
0 0 0 0 0 1 0 0 4
0 0 0 0 1 0 0 0 8
0 0 0 1 0 0 0 0 16
0 0 1 0 0 0 0 0 32
0 1 0 0 0 0 0 0 64
1 0 0 0 0 0 0 0 128
1 1 0 0 0 0 0 0 192
1 1 1 0 0 0 0 0 224
1 1 1 1 0 0 0 0 240
1 1 1 1 1 0 0 0 248
1 1 1 1 1 1 0 0 252
1 1 1 1 1 1 1 0 254
1 1 1 1 1 1 1 1 255
1 0 0 0 0 0 0 0 128
Workout
27 26 25 24 23 22 21 20 Decimal value
101
205
194
186
165
232
164
28
82
134
123
208
152
174
155
118
IP Address Classes
Class A 1 – 127 (Network 127 is reserved for loopback and internal testing)
Leading bit pattern 0 00000000.00000000.00000000.00000000
Class B 128 – 191 Leading bit pattern 10 10000000.00000000.00000000.00000000
Class C 192 – 223 Leading bit pattern 110 11000000.00000000.00000000.00000000
Class D 224 – 239 (Reserved for multicast)
Class E 240 – 255 (Reserved for experimental, used for research)
The subnet mask is used to separate the network part and host part from the IP address
using AND gate logic
IP address 192.168.10.1
Class Class C
Network portion 192.168.10.0
Host portion 0.0.0.1
Subnet mask 255.255.255.0
Workout
IP address 102.18.180.101
Class
Network portion
Host portion
Subnet mask
IP address 152.112.120.123
Class
Network portion
Host portion
Subnet mask
IP address 12.18.10.11
Class
Network
portion
Host portion
Subnet mask
IP address 202.11.10.12
Class
Network
portion
Host portion
Subnet mask
Public IP address
IP addresses other than the private IP address are called public IP address. ISP(Internet Service
Provider) mostly use this public IP address.
Subnetting
Note:
1 If requirement is the number of subnet borrow bits ( i.e n value) from default subnet mask
from left hand side to right hand side
2 If requirement is the number of host borrow bits ( i.e n value) from default subnet mask
from right hand side to left hand side
3 CIDR notation value indicates the number of bits is in a high state in a subnet mask value
Example 1
A network administrator requires to divide a subnet of 192.10.10.0 into an 14 usable subnets for
the organization.
Solution:
Given values:
2n – 2 = company requirement
2n – 2 = 14
2n = 14 + 2
2n = 16 (because 24 = 16)
So n value is 4
255.255.255.XXXX XXXX
255.255.255.1111 0000 = 255.255.255.240
192.10.10.XXXX | XXXX
192.168.0.0001 | XXXX
192.168.0.0001 | 0000 – 192.168.0.16 – Invalid address
192.168.0.0001 | 0001 – 192.168.0.17 – 1st IP address
192.168.0.0001 | 0010 – 192.168.0.18 – 2nd IP address
192.168.0.0001 | 0011 – 192.168.0.19 – 3rd IP address
.
.
192.168.0.0001 | 1110 – 192.168.0.30 – Last IP address
192.168.0.0001 | 1111 – 192.168.0.31 – Invalid address (broadcast address)
Similarly for
Workout : 1
A network administrator requires to divide a subnet of 192.10.10.0 into 2 usable subnets for the
organization
Solution:
Given values:
2n – 2 = company requirement
2n – 2 =
2n = + 2
2n = (because 2 = )
So n value is ____
255.255.255.XXXX XXXX
192.10.10.XXXX | XXXX
2nd subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
3rd subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
Last subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
Workout: 2
A network administrator requires to divide a subnet of 192.10.10.0 into an 4 usable subnets for
the organisation.
Solution:
Given values:
2n – 2 = company requirement
2n – 2 =
2n = + 2
2n = (because 2 = )
So n value is ____
Number of bits required for host are ____ bits.
255.255.255.XXXX XXXX
192.10.10.XXXX | XXXX
2nd subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
3rd subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
Last subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
Workout : 3
A network administrator requires to divide an subnet of 192.10.10.0 into an 20 usable subnet for
the organisation.
Solution:
Given values:
2n – 2 = company requirement
2n – 2 =
2n = + 2
2n = (because 2 = )
So n value is ____
255.255.255.XXXX XXXX
192.10.10.XXXX | XXXX
Similarly for
2nd subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
3rd subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
Last subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
Workout : 4
A network administrator requires to divide a subnet of 132.0.0.0 into a 1000 usable subnet for the
organisation.
Solution:
Given Values:
Number of needed usable subnets
Network address
Default subnet mask
Address class
2n – 2 = company requirement
2n – 2 =
2n = + 2
2n = (because 2 = )
So n value is ____
Number of bits required for host are ____ bits.
255.255.255.XXXX XXXX
192.10.10.XXXX | XXXX
2nd subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
3rd subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
Last subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
Workout : 5
A network administrator requires a number of 30 valid hosts in a subnet 192.10.10.0 for the
organisation.
Solution:
Given values:
2n – 2 = company requirement
2n – 2 =
2n = + 2
2n = (because 2 = )
So n value is ____
255.255.255.XXXX XXXX
192.10.10.XXXX | XXXX
1st network ________________ = ______________ – invalid subnet
2nd network ________________ = ______________
3rd network ________________ = ______________
4th network ________________ = ______________
5th network ________________ = ______________
.
___ network ________________ = ______________
Last network ________________ = ______________ – invalid subnet
So the valid subnet is
1st subnet – ________________
2nd subnet – ________________
3rd subnet – ________________
.
.
__ subnet – ________________
Step 3: Find the valid host in each subnet
2nd subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
3rd subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
Last subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
Workout : 6
A network administrator requires a number of 1500 valid hosts in a subnet 152.10.0.0 for the
organization.
Solution:
Given values:
2n – 2 = company requirement
2n – 2 =
2n = + 2
2n = (because 2 = )
So n value is ____
255.255.255.XXXX XXXX
192.10.10.XXXX | XXXX
2nd subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
3rd subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
Last subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
Workout : 7
A network administrator requires a number of 1500 valid subnet in a subnet 182.10.0.0 for the
organization.
Solution:
Given values:
2n – 2 = company requirement
2n – 2 =
2n = + 2
2n = (because 2 = )
So n value is ____
255.255.255.XXXX XXXX
192.10.10.XXXX | XXXX
Similarly for
2nd subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
3rd subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
Last subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
Workout : 8
A network administrator requires a number of 2000 valid hosts in a subnet 172.0.0.0 for the
organization.
Solution:
Given values:
2n – 2 = company requirement
2n – 2 =
2n = + 2
2n = (because 2 = )
So n value is ____
255.255.255.XXXX XXXX
192.10.10.XXXX | XXXX
2nd subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
3rd subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
Last subnet
1st IP address
Last IP address
Broadcast IP address
Subnet mask
Lab manual - CCNA
Lab completion Report
Topology 1
Topology 2
Topology 3
Topology 4
Topology 5
Topology 6
Topology 7
Topology 8
Topology 9
Topology 10
Topology 11
Topology 12
Topology 13
Topology 14
Topology 15
Topology 16
Topology 17
Table of Content
Lab Topology 1
Basic command line interface configuration
Topology Diagram
1. Setting a hostname
2. Setting a banner
Lab Topology 2
Advance command line interface configuration
Topology Diagram
4. Configuration of SSH
5. Configuration of DHCP
6. Configuration of CDP
Lab Topology 3
Static and Default Routing
Topology Diagram
Objectives:
Configuration of interface
Configuring the static routing
Understanding the routing logic by debugging
Monitoring the routing table changes
Configuring the default routing
Understanding the Extended PING command
Disabling the IP routing on the router
1. Configuration of interface
Lab Topology 4
RIP and IGRP Routing Protocol
Topology Diagram
Objectives:
Router RIP
Router IGRP <ASN>
Network <Network ID>
Passive Interface
Show IP route RIP
Show IP route <Network>
Show IP Protocols
Show IP Interface
Debug IP RIP
Debug IP RIP events
Debug IP Routing
Debug IP IGRP Transactions
Configure the below concept in the topology mentioned above.
Topology Diagram
Objectives:
Auto-summary
IP address <IP address> secondary
No IP Split-Horizon
Passive Interface
Neighbor
Show IP Protocols
Debug IP RIP
Lab Topology 6
RIP Routing Protocol - III
Topology Diagram
Objectives:
IP Unnumbered Ethernet 0
Auto-summary
IP rip receive version
Redistribute IGRP <AS> metric <metric value>
Redistribute RIP metric <bandwidth> <delay> <reliability> <load> <MTU>
Debug IP RIP
Debug IP IGRP transactions
Show IP route
Show IP Protocols
Lab Topology 7
EIGRP
Topology Diagram
Objectives:
Configuring of EIGRP.
Understanding the DUAL concepts like,
Administrative distance
Feasible distance
Successor
Feasible Successor
Feasibility condition
Lab Topology 8
OSPF Routing Protocol - I
Topology Diagram
Objectives:
1. Configure of OSPF
Lab Topology 9
OSPF Routing Protocol - II
Topology Diagram
Objectives:
Lab Topology 10
OSPF Routing Protocol - III
Topology Diagram
Objectives:
1. Configuration of OSPF
6. Configuration of OSPF
Lab Topology 11
OSPF Routing Protocol - IV
Topology Diagram
Objectives:
Lab Topology 12
Booting Process
Topology Diagram
Objectives:
Show version
Copy running-config startup-config
Copy startup-config running-config
Copy startup-config tftp
Copy tftp startup-config
Configuration-register
Lab Topology 13
Switching
Topology Diagram
Objectives:
Vlan database
Vlan <number> name <name of the vlan>
Vlan membership static <vlan number>
Trunk on
Encapsualation ISL <vlan number>
Show Vlan
Show mac-address-table
3. Configuration of VLAN
Lab Topology 14
NAT
Topology Diagram
Objectives:
Lab Topology 15
Access Control List
Topology Diagram
Objectives:
Lab Topology 16
PPP
Topology Diagram
Objectives:
Configuration of PPP.
Configurations of authentication using CHAP.
Configurations of authentication using PAP.
Encapsulation ppp
PPP authentication pap
PPP authentication chap
Username <name> password <password>
PPP pap sent-username <hostname> password <password>
Show interface serial 0
Debug ppp authentication
1. Configuration of PPP.
Lab Topology 17
Frame Relay
Topology Diagram
Objectives:
This lab topology is used to understand the following concepts,
Encapsulation frame-relay
Frame-relay switching
Frame-relay intf-type dce
Frame-relay map ip <IP address> <DLCI number> broadcast
Frame-relay route <input DLCI number> interface <output interface> <output DLCI number>
Clear frame-relay map
No frame-relay inverse-arp
Show frame-relay pvc
Show frame-relay route
Show frame-relay lmi
Debug ip packet