Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

ENG 2003: INFORMATION TECHNOLOGY

Tutorial 2: IP Addresses

1) What are the special functions of the following IP addresses?


a. 192.168.0.0
b. 192.168.255.255
c. 127.0.0.1

a) Represents the class C network 192.168.0.0 itself


b) The direct broadcast address for the target network 192.168.255.0
c) The loopback and diagnostic purposes

2) What are the 32-bit binary equivalents of the following IPv4 addresses?
a. 223.1.3.28
b. 192.168.0.3
c. 158.132.162.4

a) 11011111 00000001 00000011 00011100


b) 11000000 10101000 00000000 00000011
c) 10011110 10000100 10100010 00000100

3) What are the classes of the following IPv4 classful addresses?


a. 117.224.64.4
b. 188.191.23.55
c. 192.168.100.4

a) Class A
b) Class B
c) Class C

4) For each of the address in question 3, state the number of bits in the Network ID
and Host ID fields.

a) Class A, Network ID = 8 bits, Host ID = 24 bits


0xxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx
b) Class B, Network ID = 16 bits, Host ID = 16 bits
10xxxxxx xxxxxxxx xxxxxxxx xxxxxxxx
c) Class C, Network ID = 24 bits, Host ID = 8 bits
110xxxxx xxxxxxxx xxxxxxxx xxxxxxxx

You might also like