Due (Problem Set): Tuesday, October 4, 2016,
Due (Programming Assignment): Tuesday, October 11, 2016,
Answer the following questions:
What is the range of IP addresses covered by prefix
Give the prefix(es) to cover the IP addresses in range
10.20.30.0 - 10.20.37.255.
What is the netmask that corresponds to /21 prefix length?
What prefix length corresponds to netmask 255.255.224.0?
Assume a router with four interfaces (A, B, C, and D) and
routing table that contains four entries (prefix, interface):
(22.214.171.124/24, A), (126.96.36.199/22, B), (188.8.131.52/16, C),
and (0.0.0.0/0, D). For each of the following destination addresses
indicate all matching routing table entries and
the interface to which it is going to be routed.
IP address, hostname, subnet id, prefix and subnet mask,
content of the routing table and the default gateway, and
content of the ARP table
of the host that you are connected to. Repeat this on a different
platform, preferably a smartphone or a tablet. You may have to get a
(free) app to find the information. Some information may not be
accessible at all.
In this part of the project, you will analyze a short network traffic
trace. You can download the trace from here and
open it by any of the standard network traffic sniffers, such as Wireshark or the standard
command-line utility tcpdump.
Examine the trace and answer the following questions:
What is the activity captured by the trace? Describe broadly what
is going on in the trace.
What command-line command triggered the traffic captured the
What was the hostname of the target of the command?
Can you find the hostname of the node where the command was
What information from the trace does Wireshark use to determine
the manufacturers of the network interfaces? Can you find an online
resource that would confirm that the information is correct?
The purpose of this part of the assignment is to learn and practice the
basic calculation used to calculate IPv4 subnets.
Write a simple program that takes an IPv4 address and a prefix length
The subnet address
The address of the first host on the network
The address of the last host on the network
The subnet broadcast address
The subnet mask
The program should perform basic error checking on the user input (e.g.,
values out of range). The IP address can be entered as a whole or as 4
values for each of its bytes. A run of your program may look like this
(bold font indicates user input):
Enter IP address: 192.168.0.1
Enter prefix length: 24
Subnet address: 192.168.0.0
First host: 192.168.0.1
Last host: 192.168.0.254
Broadcast address: 192.168.0.255
Subbet mask: 255.255.255.0
Your are allowed to use any programming language, platform, and
development environment. However, keep in mind that
the next assignment will ask you to implement the same calculation as a
Use a different approach to implement the programming assignment.
Create a filter on Wireshark (e.g. capture the network traffic for
opening a website).
Do some interesting experiments with Wireshark. Explain the purposes
of your experiments, the experiment setup, and your findings.