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 C to node A.



Question List


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

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

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

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

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

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

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

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

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




Solution


1. The source mac address at point 6 is C2-10-0C-13-ED-07

2. The destination mac address at point 6 is 3F-6A-BA-1C-A0-03

3. The source IP address at point 6 is 128.119.69.26

4. The destination IP address at point 6 is 128.119.172.96

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 2 is 20-B4-23-D9-1B-7C

8. The destination mac address at point 2 is 8D-DA-EE-81-84-D7

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: C2-10-0C-13-ED-07

Question 1 of 9

The answer was: 3F-6A-BA-1C-A0-03

Question 2 of 9

The answer was: 128.119.69.26

Question 3 of 9

The answer was: 128.119.172.96

Question 4 of 9

The answer was: No

Question 5 of 9

The answer was: Yes

Question 6 of 9

The answer was: 20-B4-23-D9-1B-7C

Question 7 of 9

The answer was: 8D-DA-EE-81-84-D7

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