Homework 6 -- IP datagrams

The assignment

Using nslookup

Use nslookup to determine the all IP addresses of woodfin, iron-duff, and little-river within the cs.unca.edu domain.

Using netstat for interfaces

Run the netstat program, with the -in option, on woodfin to determine the Ethernet addresses of all of woodfin's Ethernet interfaces.

Using netstat for routers

Run the netstat program, with the -rn option, on woodfin to determine woodfin's routing tables.

Using arp

Run the arp program, with the -a option, on woodfin to determine the Ethernet addresses of iron-duff and little-river.

IP packet format -- 1

Suppose a 100-byte IP data packet is sent from iron-duff to woodfin. Fill in, as much as possible, the fields of the IP datagram header, as shown in Figure 18.4 on page 274 of the textbook, for this packet. Assume that the initial time-to-live value is 60.

Also, write the source and destination Ethernet address that will appear in that packet.

Using traceroute

Run the traceroute program on iron-duff and see what router is used to relay IP packets from iron-duff to little-river.

IP packet format -- 2

Suppose a 100-byte IP data packet is sent from iron-duff to little-river. Fill in, as much as possible the fields of the IP datagram header for the datagrams that are transmitted by both iron-duff and the intervening router.

Also, write the source and destination Ethernet address that will appear in the two Ethernet packets that carry those IP datagrams.

IP packet format -- 3

Now suppose a 5,000-byte IP data packet is sent from iron-duff to woodfin. Fill in, as much as possible the fields of the IP header of the four IP datagrams that are transmitted when this IP datagram is sent in four fragments.

Due dates

This assignment is due at 12:15 on Tuesday, October 26. No late assignments will be accepted.


Back to the CSCI 363 homework page
Back to the CSCI 363 home page