Starting from:

$30

Computer Networks Homework 8

 CS 3700: Computer Networks
Homework 8 (80 points) 
Submission: Upload and submit it on Blackboard. If your homework is in hand-written, please try to SCAN it into a .pdf file or take
a clear photo, and then upload/submit it. (NO Paper/Hardcopy or Email submission please!)
Please 1) include your First Name and Last Name on the page(s) that you upload & submit on Blackboard
2) name your HW file as "HW<#><LastName><FirstName>", e.g., HW6PolisJared.pdf for HW6.
Grading: I will also grade it in Adobe Acrobat and post the graded work on Blackboard for everyone who submits it.
3) leave me some space for grading and writing corrections beside your solution to every problem. Thanks!
PLEASE ORGANIZE YOUR WORK IN THE SEQUENCE GIVEN IN THE ASSIGNMENT!!!
Problem A. Consider the network setup in the following figure, where the router is a NATed router. Suppose that the ISP assigns the router the address
192.162.30.79 and that the network address of the home network is 172.20.0.0/16.
a. Assign addresses to interfaces 1 and 2, and hosts A, B and C.
b. Suppose host B has an ongoing TCP connection to port 4567 at server 34.182.19.20 from port 80 at host B. The NATed router assigns a new port
8080 for this TCP connection. Provide the corresponding entry in the NAT translation table and the source ip, source port, destination ip, and destination
port in each of the four IP datagrams shown below.
Problem B. Below is the information displayed by a command “traceroute www.google.com” on my computer.
a. Is the IP address of my computer included in the information given above? If yes, what is it and is it a private or public IP address?
b. What is the IP address of www.google.com when this traceroute command was executed? Is it a private or public IP address?
c. What’s the relationship between the two DNS names: www.google.com and den03s09-in-f4.1e100.net? (Hint: which is the alias name and which
is the canonical name?)
d. How many routers are involved in the communication between my computer and the web server at www.google.com?
e. What are the initial TTL and the destination IP enclosed by my computer in the set of IP datagrams that are dropped by the router 72.14.194.239?
f. When the router xe-0-0-1.core-910.frgp.net drops the ip datagram enclosing a UDP segment from my computer, does it send a UDP segment or
an ICMP message to the host? What are the type and code of router enclosed in such UDP segment or ICMP message? What’s the source IP in
the IP datagram carrying this UDP/ICMP packet? Whose IP is used as the destination IP for this UDP/ICMP packet? (hint: websever’s, my
computer’s, router 147.153.69.30’s, or …?)
g. What are the final TTL and the destination IP enclosed in the set of IP datagrams when they arrive at the webserver www.google.com? Does this
webserver send a UDP segment or an ICMP message back to the host? What are the type and code enclosed in such UDP segment or ICMP
message? What’s the source IP in the IP datagram carrying this UDP/ICMP packet? Whose IP is used as the destination IP for this UDP/ICMP
packet? (hint: websever’s, my computer’s, router 147.153.69.30’s, or …?)
Problem C. Tunneling is used for the transition from IPv4 to IPv6. The route from Host A to Host B is shown as below (see next page), where ip1,
ip2, … ip10 are the ip addresses of the hosts and the interfaces of routers. Host A sends a TCP segment to Host B. To deliver this TCP segment, for
the IP datagram transmitted over EACH of the FIVE link (1st link, 2nd link, …, 5th link) describe
(1) the type of IP datagram (IPv4 or IPv6),
(2) the source ip address,
(3) the destination ip address. 
MSU Denver, M&CS CS 3700: Computer Networks, Spring 2020 Dr. Weiying Zhu

More products