Problems from the textbook
Do the following problems from Chapters 3 and 2 of the textbook. A complete copy of the problems is available from the course moodle page.
- Problem 3-13 (p. 288)
- Problem 3-17 (p. 289)
- Problem 2-1 (p. 153)
- Problem 2-2 (p. 153)
- Problem 2-5 (p. 153)
- Problem 2-6 (p. 154)
Continuing problem of packet format
This is an extension of the last problem of Homework 6.
Continuing problem part 1
Suppose the network 126.96.36.199/24 has been divided into 16 subnets each using a mask of 28 bits. (Yes, I know this is rather silly.)
How would you express the subnets containing the hosts 188.8.131.52 and 184.108.40.206?
Suppose that every subnet contains a router which contains the binary digits 1110 as the last four bits of its 32-bit IP number. What would be the IP addresses for the routers of the subnets where 220.127.116.11 and 18.104.22.168 are located?
It is OK to use a calculator in this problem. We won’t have problems like this on the exams.
Continuing problem part 2
The MAC address of 22.214.171.124 is 34:17:EB:98:F6:AD, and the MAC address of 126.96.36.199 is 34:17:EB:97:C2:50. The MAC address of 188.8.131.52’s only router is 00:08:E3:FF:FC:28, and the MAC address of 184.108.40.206’s only router is 00:08:E3:FF:FC:40.
Suppose an application calls the
of the socket API to send a 2000-byte datagram to port
4444 of host 220.127.116.11. Suppose the application is sending
this datagram from port 8888 of host 18.104.22.168 and that the MTU
of the network connecting 22.214.171.124 and 126.96.36.199 is 1500 bytes.
In the last problem of
Homework 6, you
described the contents of any IP packets generated to execute the
Extend your answer to include the Ethernet frame prepended to this packet.
Use the format of the “Layer 1 Ethernet packet”
given on the Wikipedia
page but do not include the four octet 802.1Q tag.