跳到主要内容

東京大学 情報理工学系研究科 創造情報学専攻 2022年8月実施 筆記試験 第1問

Author

itsuitsuki

Description (English)

An IPv4 address, which indicates a location on the Internet, is a bits ( Bytes) number. Each bits ( Byte) is represented as a decimal number separated by a dot "." as in Figure 1. IP addresses are assigned to network interfaces (boundaries between nodes and physical links). An IP address consists of a network ID that identifies the network and an interface ID that identifies the interface. In the network notation, a network is expressed by a decimal notation of the IP address with "/" and a length of a network ID (number of bits), as shown in Figure 1.

Figure 1

A network can be divided into subnets. Each subnet has a unique network ID. The network administrator assigns IP addresses from the range (block) of IP addresses with the subnet's network ID to the interfaces connecting to that subnet.

For example, 203.178.168.0/24 can be divided into 203.178.168.0/25, with IP addresses ranging from 203.178.168.0 to 203.178.168.127, and 203.178.168.128/25, with IP addresses ranging from 203.178.168.128 to 203.178.168.255. In addition, a subnet of 203.178.168.0/27 can be created. Suppose 203.178.168.0/25 and 203.178.168.0/27 are assigned to different subnets. In that case, the network administrator must avoid IP address duplication. The administrator assigns IP addresses to the interfaces connecting to the subnet of 203.178.168.0/25 from the range excluding 203.178.168.0/27 because 203.178.168.0/25 includes 203.178.168.0/27.

Answer the following questions.

Figure 2

(1) How many uniquely identifiable IPv4 addresses exist in the Internet?

(2) Express in decimal representation the IPv4 address with the hexadecimal representation C0A864C8.

(3) What is the maximum number of IP addresses that can be assigned in a network with a network ID length of bits? However, the interface IDs are reserved when they are all or . They are not assigned to interfaces.

(4) Assign network addresses to each of the six subnets (N1 to N6) in Figure 2 from 192.168.254.0/23. The subnet assignment has the following constraints: IP addresses are assigned in ascending order from N1 to N6. IP addresses must be assigned on 250 interfaces in N1, IP addresses must be assigned on 120 interfaces in N2, and IP addresses must be assigned on 110 interfaces in N3. Note that the interfaces connected to N1 to N3 include those of the respective routers. A node with multiple interfaces connecting to different subnets is called a router here. In addition, we should assign IP addresses to the routers (R1 to R3)' interfaces in N4, N5 and N6. We have the same reserved IDs as in question (3). Answer the address range, such as 192.168.a.b - 192.168.d.e, to be assigned to each subnet.

A UDP packet is sent for a Voice-over IP application in a network shown in Figure 3. The packet consists of a 100-byte header and a -byte payload (data part). The bottleneck in this network is between Router 1 and Router 2, with the bandwidth of 6M bits/sec.

Figure 3

(5) Consider sending digitally encoded voice data directly from the source node to the destination node. Suppose the data is encoded at a constant rate of 128 kbps and each packet is entirely filled before the source sends the packet into the network. The source node must wait until the payload is filled with data, and this delay is called packetization delay. When bytes, determine the packetization delay.

(6) If we want to keep packetization delay below 20 milliseconds for comfortable conversations, how should we change the packet size?

(7) Next, we want to send large files as quickly as possible. Payload throughput is called effective throughput. Express the maximum effective throughput using in an equation. Also, give the maximum effective throughput when and bytes.

(8) On the Internet, routers may discard packets when necessary. When a router discards a packet with probability , give the average number of hops for all packets sent by the source node in Figure 3 (including those that did not reach the destination). Delivering a packet to the next destination is called hopping. In Figure 3, when a packet reaches the destination node from the source node, it hops three times.

(9) The bit error rate of the transmission channel is . The source node sends each bit three times to improve the error rate. For example, when it transmits 0, it sends 000, and when it transmits 1, it sends 111. When the receiver restores the original data by majority vote, express bit error rate after the restoration as an equation.

(10) In TCP/IP communication, since multiple processes are assumed to be running at the destination node, the destination port number is used to identify the destination process for the received packet. Why did the designers of TCP/IP choose an abstract identifier, the port number, which is independent of its process identifier? Answer two benefits of the port number.