Lab Activity No. 2
Lab Activity No. 2
Section/Schedule:_
Date Submitted:_ SCORE
Instructor:_
Objectives
• Name the five different classes of IP addresses
• Describe the characteristics and use of the different IP address classes
• Identify the class of an IP address based on the network number
• Determine which part, or octet, of an IP address is the network ID and which part is the host ID
• Identify valid and invalid IP host addresses based on the rules of IP addressing
• Define the range of addresses and default subnet mask for each class
Discussion
This lab exercise helps develop an understanding of IP addresses and how TCP/IP networks operate.
It is primarily a written lab exercise. However, it would be worthwhile to review some real network
IP addresses using the command line utilities ipconfig for Windows NT/2000/XP or ipconfig for
Windows 9x/ME. IP addresses are used to uniquely identify individual TCP/IP networks and hosts,
such as computers and printers, on those networks for devices to communicate. Workstations and
servers on a TCP/IP network are called hosts and each has a unique IP address. This address is
referred to as its host address. TCP/IP is the most widely used protocol in the world. The Internet or
World Wide Web only uses IP addressing. For a host to access the Internet, it must have an IP
address.
IP Address Classes
Class A 1-127 (Network 127 is reserved for loopback and internal testing)
Leading bit pattern 0 oooooooo.00000000.00000000.00000000
Network . Host . Host . Host
Class A 255.0.0.0
Class B 255.255.0.0
Class C 255.255.255.0
JEREMIAH 33:3 Call to Me, and I will answer and show you great and unsearchable things
you do not know.
Note: Class A address 127 cannot be used and is reserved for loopback and diagnostic functions.
JEREMIAH 33:3 Call to Me, and I will answer and show you great and unsearchable things
you do not know.
Step 3: Determine the host and network portions of the IP address With the following IP host
addresses, indicate the following:
Class of each address Network address or ID Host portion
Broadcast address for this network Default subnet mask
The host portion will be all zeros for the network ID. Enter just the octets that make up the host. The
host portion will be all ones for a broadcast. The network portion of the address will be all ones for
the subnet mask. Complete the table below:
Host IP Address
Address Network Host Network Broadcast
Default Subnet Mask
Class Address Address Address
216.14.55.137
123.1.1.15
150.127.221.244
194.125.35.199
175.12.239.244
Step 4: Given an IP address of 142.226.0.15 and a subnet mask of 255.255.0.0, answer the
following questions:
1. What is the binary equivalent of the second octet?_
2. What is the class of the address?_
3. What is the network address of this IP address?_
4. Is this a valid IP host address (Y/N)?_
5. Why or why not?_
JEREMIAH 33:3 Call to Me, and I will answer and show you great and unsearchable things
you do not know.
Step 5: Determine which IP host addresses are valid for commercial networks For the following IP
host addresses, determine which are valid for commercial networks and indicate why or why not.
Valid means it could be assigned to any of the following: Workstation Server Printer
Router interface
Any other compatible device
Complete the table below:
150.100.255.255
175.100.255.18
195.234.253.0
100.0.0.23
188.258.221.176
127.34.25.189
224.156.217.73
10.250.1.1 A 219.21.56.0
150.10.15.0 B
192.14.2.0 _
148.17.9.1 _
193.42.1.1 _
126.8.156.0 _
220.200.23.1 _
230.230.45.58 _
177.100.18.4 _
119.18.45.0 _
JEREMIAH 33:3 Call to Me, and I will answer and show you great and unsearchable things
you do not know.
Circle the network portion Circle the host portion of of these addresses.
these addresses:
209.240.80.78 198.125.87.177
117.8956.45 17.45.222 45
215.45.45.0 126.201.54.231
192.200.15.0 191.41.35.112
95.0.21.90 155.25.169.227
33.0.0.0 192.15.155 2
10.250.1.1 100.25.1.1
10.10 250 1
126.123 23.1
223 69.230.250
192.12 35 105
77.251.200.51
189 210.50.1
88 45 65 35
128 212 250 254
JEREMIAH 33:3 Call to Me, and I will answer and show you great and unsearchable things
you do not know.
ANSWERS:
1. What is the decimal and binary range of the first octet of all possible Class B IP
addresses?
4. What is the maximum number of useable hosts with a Class C network address?
• 254
• 16,382
• 65,534
• 4
• 8
Host IP Address Address Class Network ClassHost Address Network Default Subnet
Mask
Broadcast
Address
150.100.255.255 No
150.100.0.0.is a Class B
network. This is a broadcast
address for a class B (host
portion 3rd and 4th octets
are all ones) and cannot be
used for a host address.
^177.100/18.
4 "l19.l8.45.0
>09.240.80.78
(i99.i55.77/56
(1^J89^6.45
® .21.90
(33.0.0.0
(TQ^50.1.1
150.10)15.0
1015.123.50
171.0^99.31
198.125.8 ©
223.250.200.222)
1745.222.45
126.201.54.231
191.4^35.11^
155.25.169.227
1 192.15.15 €)
123(102.45.254
148.17^^
100.2511
195.0.21.98 1
177.100.18.4
• 255.255.0.0
119.18.45.0
• 255.0.0.0
191.249.234.191
• 255.255.0.0
223.23.223.109
• 255.255.255.0
10.10.250.1
• 255.0.0.0
126.123.23.1
• 255.0.0.0
223.69.230.250
• 255.255.255.0
192.12.35.105
• 255.255.255.0
77.251.200.51
• 255.0.0.0
189.210.50.1
• 255.255.0.0
88.45.65.35
• 255.0.0.0
128.212.250.254
• 255.255.0.0
255.255.0. 0
• 134.125.34.9
255.0. 0.0
• 95.250.91.99
CONCLUSION:
REFERENCES:
JEREMIAH 33:3 Call to Me, and I will answer and show you great and unsearchable things
you do not know.
DOCUMENTATION
JEREMIAH 33:3 Call to Me, and I will answer and show you great and unsearchable things
you do not know.