Você está na página 1de 2

Mid-Term Exam G30 : Internet

Teachers: Pr. Vronique Vque, Dr. Hoa Nguyen, Anthony Busson.

Exercise 1: Give for each protocol below, the layer it belongs to (physical layer, link layer, etc.): DNS Wi-Fi TCP HTTP Ethernet SNMP UDP IP Exercise 2: A computer A wants to emit an IP packet to computers B and C. The IP address of A is 132.11.193.1 with netmask 255.255.254.0 and MAC address 1:0:0:0:0:A (we suppose that we use Ethernet). Its default router is 132.1.193.2 with MAC address 1:0:0:0:0:0:1. Addresses (IP and MAC) of B are 132.1.192.1 and 1:0:0:0:0:B. Addresses of C are 132.1.194.1 and 1:0:0:0:0:C. Gives for the packets transmit from A to B and C, the source and destination addresses used in the MAC frames and source and destination addresses used in the IP packet. Explain how it is obtained. Exercise 3: We consider a company with five sub-networks. On network 1, 2, and 3 we are expecting 500 computers (500 IP addresses). On network 5 and 6, we shall need 200 IP addresses. 1. This company uses the address range 132.1.192.0/21 for its whole network. CIDR is used. Propose an address plan for these networks (it means network address and mask for each subnetwork). 2. Give the IP address of one computer on each subnetwork. The topology is as follows:
R1 Network 1 Network 2 R2 Network 3 R3 Network 4 R4 Network 5

eth0

eth1

Internet

3. Give the routing table of R3. It must correspond to your address plan. Exercise 4: Multicast. We consider a router with three interfaces eth0, eth1 and eth2. Its unicast routing table is : Network 132.1.0.0/24 132.2.0.0/24 132.3.0.0/24 131.192.0.0/10 131.128.0.0/10 Next Hop / interface - (direct routing) eth0 - (direct routing) eth1 - (direct routing) eth2 132.1.0.1 eth0 132.2.0.1 eth1

131.0.0.0/8 129.175.12.0/24 145.11.23.0/24 65.1.1.0/24 0.0.0.0/0

132.3.0.1 132.2.0.1 132.1.0.1 132.3.0.1 132.2.0.1

eth2 eth1 eth0 eth2 eth1

This router receives five IP packets : Npaquets Paquet 1 Paquet 2 Paquet 3 Paquet 4 Paquet 5 @source 65.1.1.12 145.11.23.14 131.224.11.145 66.1.1.15 131.109.123.23 @destination 224.41.12.3 238.34.123.123 224.41.12.3 229.178.201.93 238.34.123.123 Interface sur laquelle le routeur reoit le paquet eth2 eth2 eth0 eth2 eth2

1. How does the router know that an IP packet is a multicast IP packet? 2. What RPF (Reverse Path Flooding) algorithm is used for? Propose another solution to perform the same task. 3. What does it do with these packets (the one in the table above) if the RPF algorithm is used?

Você também pode gostar