Assignment 04 CCN S24
Assignment 04 CCN S24
1. What is the advantage of NAT. What all values are stored in the NAT translation table.
2. Consider the network setup shown in Figure as a reference. Instead of the shown IP address the ISP instead
assigns the router the address 129.119.112.235 and that the network address of the home network is
192.168.10/24. You can assume a port number for the WAN and LAN side.
3. Diagram below shows a TCP connection between two hosts passing through networks with different values of
Maximum Transmission Unit (MTU). Host A chooses TCP segment size of 2100 bytes of data (TCP & IP
headers are each 20 bytes in size). Suppose the original datagram is stamped with identification number 45654.
Describe the way in which fragmentation takes place as Host A sends data to Host B. Show the different header
field values used in fragmentation, along with the calculations used to find fragment sizes and offset values.
4. Consider a router that interconnects three subnets; Subnet 1, Subnet 2 & Subnet 3. Suppose all of the interfaces
in each of these three subnets are required to have the prefix 192.168.5.0/24. Also suppose that Subnet 1 is
required to support at least 29 hosts, Subnet 2 is to support at least 88 hosts, and Subnet 3 is to support at least
13 hosts. Provide three network addresses (of the form a.b.c.d/x) that satisfy these constraints. Show detailed
working. Also mention the starting and ending address for each subnet, along with the subnet masks. What is
the max number of hosts that may be connected to each subnet.
5. You have sub-netted your class C network 200.138.1.0 with a subnet mask of 255.255.255.252. Please list the
total number of subnets, and the number of hosts per subnet. Also, for the first three subnets; show the full
range of IP addresses, the usable address range, and the broadcast addresses.
6. Consider the network address 116.168.176.0/20. Divide this network into 8 subnets, all having equal number
of IP addresses. Provide eight network addresses (of the form a.b.c.d/x) that satisfy these constraints. Show
detailed working. Also mention the subnet address and broadcast address for each subnet, along with their
subnet masks. What is the max number of hosts that may be connected to each subnet.
Address/mask Interface
135.46.56.0/22 0
135.46.60.0/22 1
192.53.40.0/23 2
default 3
What is the next hop for each of these addresses, given that you use longest-prefix matching?
a. 135.46.63.10
b. 135.46.57.14
c. 192.53.40.7
d. 192.53.56.7
8. Use Dijkstra’s shortest-path algorithm, with the indicated link costs, to compute the table of shortest paths from
node ‘0’ to all other network nodes. Show all computations and develop the complete routing table.
Assignment Guidelines:
Assignment is to be done individually.
Assignment should be submitted as a pdf file of your handwritten assignment by using Cam Scanner or any other
tool.
The answers should be in your own words; there should be no copying from any source.
Assignments will NOT be accepted after the due date. Submit your assignment on time.
Marking Criteria: 30% marks will be awarded for complete submission of assignment; 70% evaluation
will be based on quiz based on the assignment.