Web Science/Part1: Foundations of the web/Internet Protocol/Classful IPv4 networks/quiz

From Wikiversity
Jump to navigation Jump to search

1 what are the two parts of an IP address called

dots and Bytes
host part and network part
IP header and IP body

2 How many IPv4 addresses do exist

More than MAC addresses
enough so we do not need to worry
about 4 billion
as many as MAC addresses

3 What is achieved by introducing IP addresses?

Uniquely identify each host on the internet
introduce an address hierarchy
building a way to guarantee the arrival of transmitted data.
be able to identify the network a computer belongs to

4 Why do we need to introduce the network part in IP

This is done to reduce the amount of entries in a routing table.
This is needed for upper layer protocols like TCP
Because one wants to represent the structure of local area networks on the internet

5 How many networks of the following class exist in IPv4

Class A Class B Class C Private networks
3
4
127 ( = 2^7-1)
128 ( = 2^7)
273 ( = 1 + 16 + 256 )
16,383 ( = 2^14-1)
16,384 ( = 2^14)
2,097,151 ( = 2^21-1)
2,097,152 ( = 2^21 )

6 How many hosts can exist in the following class of IPv4 networks

Class A Class B Class C
16,777,216 ( = 2^24)
16,777,214 ( = 2^24-2)
65,536 ( = 2^16)
65,534 ( = 2^16-2)
256 ( = 2^8)
254 (= 2^8-2)

7 A network device from network 100.0.0.0 receives an IP package with the destination IP address 150.1.2.3. Which of the following is true?

The network prefix of the destination address is 150
The network prefix of the destination address is 150.1
The network prefix of the destination address is 150.1.2
The destination network is a class A network.
The destination network is a class B network.
The destination network is a class C network.