2.6 Exercises
-
Specify the class of address and the subnet ID for the following cases:
- A packet with IP address 127.156.28.31 using mask pattern 255.255.255.0
- A packet with IP address 150.156.23.14 using mask pattern 255.255.255.128
- A packet with IP address 150.18.23.101 using mask pattern 255.255.255.128
-
Specify the class of address and the subnet ID for the following cases:
- A packet with IP address 173.168.28.45 using mask pattern 255.255.255.0
- A packet with IP address 188.145.23.1 using mask pattern 255.255.255.128
- A packet with IP address 139.189.91.190 using mask pattern 255.255.255 .128
-
Apply CIDR aggregation on the following IP addresses: 150.97.28.0/24, 150.97 .29.0/24, and 150.97.30.0/24.
-
Apply CIDR aggregation on the following IP addresses: 141.33.11.0/22, 141.33 .12.0/22, and 141.33.13.0/22.
-
Use the subnet mask 255.255.254.0 on the following IP addresses, and then convert them to CIDR forms:
- 191.168.6.0
- 173.168.28.45
- 139.189.91.190
-
A packet with the destination IP address 180.19.18.3 arrives at a router. The router uses CIDR protocols, and its table contains three entries referring to the following connected networks: 180.19.0.0/18, 180.19.3.0/22, and 180.19.16.0/20, respectively.
- From the information in the table, identify the exact network ID of each network in binary form.
- Find the right entry that is a match with the packet.
-
Part of a networking infrastructure consists of three routers R1, R2, and R3 and six networks N1 through N6, as shown in Figure 2.16. All address entries of each router are also given as seen in the figure. A packet with the destination IP address 195.25.17.3 arrives at router R1:
- Find the exact network ID field of each network in binary form.
- Find the destination network for packet (proof needed).
- Specify how many hosts can be addressed in network N1.
Figure 2.16 Exercise 7 network example
-
Consider an estimated population of 620 million people.
- What is the maximum number of IP addresses that can be assigned per person using IPv4?
- Design an appropriate CIDR to deliver the addressing in part (a).
- What is the maximum number of IP addresses that can be assigned per person using IPv6?
-
For each of the following IPv6 addresses, give an abbreviated form and then convert the result to a binary form:
- 1111:2A52:A123:0111:73C2:A123:56F4:1B3C
- 2532:0000:0000:0000:FB58:909A:ABCD:0010
- 2222:3333:AB01:1010:CD78:290B:0000:1111
-
Research why IPv6 allows fragmentation only at the source.
-
Suppose that virtual paths are set up between every pair of nodes in an ATM network. Explain why connection setup can be greatly simplified in this case.
-
Suppose that the ATM network concept is generalized so that packets can be variable in length. What features of ATM networking are retained? What features are lost?