ITE3713 Computer Systems and Communication Fundamentals Tutorial 6b
Name: Student ID: Class:
Tutorial 6b – Applied Networking
1. Review IP address classes and their characteristics
A. Address classes
i. There are five classes of IP addresses: A, B, C, D, and E.
ii. Only the first three classes (A, B, and C) are used commercially.
iii. Class A address 127 cannot be used and is reserved for loopback and diagnostic functions.
iv. Class A address 0 cannot be used and is reserved to communicate with “This” network
B. Default subnet mask
i. The default subnet mask helps routers and hosts determine if the destination host is on this
network or another one.
ii. It is common to subdivide the network into smaller groupings called subnets by using a
custom subnet mask, which is discussed in the next lab.
C. Network and host address
i. The network or host portion of the address cannot be all ones or all zeros.
ii. If the host portion were all zeros, it would be the network address itself.
iii. If the host portion were all ones, it would be a broadcast for the network address.
iv. The value of any octet can never be greater than decimal 255 or binary 11111111.
2. Complete the following table:
Class 1st Octet 1st Octet N=Network, Default Number Hosts per
Decimal High Order H=Host Subnet Mask of Network (Usable
Range Bits Networks Addresses)
A 255.0.0.0 126
(27-2)
B N.N.H.H 65,534
(216 – 2)
C 255.255.255.0 2,097,152
(221)
D 224 - 239 1110 Reserved for Multicasting
E 240 - 254 1111 Experimental; used for research
Examples:
Class A:
Number of Networks (N.H.H.H)
= 27 (1st octet as network address) – 2 (127 [for loopback] and 0 (network address cannot be all
zeros).
Hosts per Network (Usable Addresses) (N.H.H.H)
= 23x8 – 2 (network address(N.0.0.0) and broadcast address(N.255.255.255))
= 224 - 2
Note: 0 marks will be given for using any arrow signs 1
ITE3713 Computer Systems and Communication Fundamentals Tutorial 6b
3. Determine basic IP addressing
Use the IP address chart and your knowledge of IP address classes to answer the following
questions:
3.1. What is the decimal and binary range of the first octet of all possible Class B IP addresses?
Decimal: From to
Binary: From to
3.2. Which octet(s) represent the network portion of a Class C IP address?
3.3. Which octet(s) represent the host portion of a Class A IP address?
3.4. What is the maximum number of useable hosts with a Class C network address?
3.5. How many Class B networks are there?
3.6. How many hosts can each Class B network have?
3.7. How many octets are there in an IP address?
3.8. How many bits per octet?
4. Determine the host and network portions of the following IP address
IP Address Class Default Subnet Mask Network Address Broadcast Address
216.14.55.137
123.1.1.15
150.127.221.224
194.125.35.199
175.12.239.224
5. Given an IP address of 192.226.0.15 and a subnet mask of 255.255.255.0, answer the following
questions
5.1. What is the binary equivalent of the second octet?
5.2. What is the class of the address?
5.3. What is the network address of this IP address?
5.4. Is this a valid / usable IP host address (Y/N)? Why?
Note: 0 marks will be given for using any arrow signs 2
ITE3713 Computer Systems and Communication Fundamentals Tutorial 6b
Note: 0 marks will be given for using any arrow signs 3
ITE3713 Computer Systems and Communication Fundamentals Tutorial 6b
6. Determine which IP host addresses are valid for commercial networks
A valid host address means it could be assigned to any of the following:
PC, Server, Router interface
Any other compatible device
Fill in the following table:
Host Address Valid Address? If Y, write down network and broadcast addresses
(Y/N) If N, state the reason
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
240.11.22.33
Note:
Reasons that a host address is not valid:
1. <0 or >255 (outside 0 to 255)
2. Network address (host portion be all 0s)
3. Broadcast address (host portion be all 1s)
4. 127 is reserved for loopback
5. Class D is reserved for multicasting
6. Class E is reserved for research
Note: 0 marks will be given for using any arrow signs 4