Interactive end-of-chapter exercises


Link Layer (and network layer) addressing and forwarding

Consider the figure below. The IP and MAC addresses are shown for nodes A, B, C and D, as well as for the router's interfaces.


Consider an IP datagram being sent from node A to node D.



Question List


1. What is the source mac address at point 1?

2. What is the destination mac address at point 1?

3. What is the source IP address at point 1?

4. What is the destination IP address at point 1?

5. Do the source and destinaton mac addresses change at point 2? Answer with yes or no.

6. Do the source and destinaton mac addresses change at point 4? Answer with yes or no.

7. What is the source mac address at point 4?

8. What is the destination mac address at point 4?

9. Do the source and destinaton mac addresses change at point 5? Answer with yes or no.




Solution


1. The source mac address at point 1 is 98-0A-38-55-72-00

2. The destination mac address at point 1 is AD-C4-DA-93-CB-2A

3. The source IP address at point 1 is 128.119.20.61

4. The destination IP address at point 1 is 128.119.33.61

5. No, datagrams can be sent across the subnet via the link layer in one go.

6. Yes, the datagram is being passed through a router, which causes a subnet change.

7. The source mac address at point 4 is 02-6B-D6-3A-33-48

8. The destination mac address at point 4 is B8-41-92-81-80-84

9. No, datagrams can be sent across the subnet via the link layer in one go.



That's incorrect

That's correct

The answer was: 98-0A-38-55-72-00

Question 1 of 9

The answer was: AD-C4-DA-93-CB-2A

Question 2 of 9

The answer was: 128.119.20.61

Question 3 of 9

The answer was: 128.119.33.61

Question 4 of 9

The answer was: No

Question 5 of 9

The answer was: Yes

Question 6 of 9

The answer was: 02-6B-D6-3A-33-48

Question 7 of 9

The answer was: B8-41-92-81-80-84

Question 8 of 9

The answer was: No

Question 9 of 9

Try Another Problem

We gratefully acknowledge the programming and problem design work of John Broderick (UMass '21), which has really helped to substantially improve this site.

Copyright © 2010-2022 J.F. Kurose, K.W. Ross
Comments welcome and appreciated: kurose@cs.umass.edu