Interactive end-of-chapter exercises


IPv6 Tunneling and Encapsulation

Consider the network shown below which contains four IPv6 subnets, connected by a mix of IPv6-only routers(shaded blue), IPv4-only routers (shaded red) and dual-capable IPv6/IPv4 routers (shaded blue with red interfaces to IPv4 routers). You might want to review Section 4.3.4 in the textbook before doing this problem.


Suppose that a host of subnet A wants to send an IPv6 datagram to a host on subnet D. Assume that the forwarding between these two hosts goes along the path: A --> B --> c --> d --> b --> F --> D



Question List


1. Is the datagram being forwarded from A to B an IPv4 or IPv6 datagram?

2. What is the source address of this A to B datagram?

3. What is the destination address of this A to B datagram?

4. Is this A to B datagram encapsulating another datagram? Yes or No.

5. Is the datagram being forwarded from B to c an IPv4 or IPv6 datagram?

6. What is the source address of this B to c datagram?

7. What is the destination address of this B to c datagram?

8. Is this B to c datagram encapsulating another datagram? Yes or No.

9. What is the source address of this encapsulated datagram?

10. What is the destination address of this encapsulated datagram?

11. Is the datagram being forwarded from c to d an IPv4 or IPv6 datagram?

12. What is the source address of this c to d datagram?

13. What is the destination address of this c to d datagram?

14. Is this c to d datagram encapsulating another datagram? Yes or No.

15. What is the source address of this encapsulated datagram?

16. What is the destination address of this encapsulated datagram?

17. Is the datagram being forwarded from d to b an IPv4 or IPv6 datagram?

18. What is the source address of this d to b datagram?

19. What is the destination address of this d to b datagram?

20. Is this d to b datagram encapsulating another datagram? Yes or No.

21. What is the source address of this encapsulated datagram?

22. What is the destination address of this encapsulated datagram?

23. Is the datagram being forwarded from b to F an IPv4 or IPv6 datagram?

24. What is the source address of this b to F datagram?

25. What is the destination address of this b to F datagram?

26. Is this b to F datagram encapsulating another datagram? Yes or No.

27. What is the source address of this encapsulated datagram?

28. What is the destination address of this encapsulated datagram?

29. Is the datagram being forwarded from F to D an IPv4 or IPv6 datagram?

30. What is the source address of this F to D datagram?

31. What is the destination address of this F to D datagram?

32. Is this F to D datagram encapsulating another datagram? Yes or No.

33. What router is the 'tunnel entrance'? Give the router's letter

34. What router is the 'tunnel exit'? Give the router's letter

35. Which protocol encapsulates the other, IPv4 or IPv6?




Solution


1. The datagram is an IPv6 datagram.

2. The source IP address is CDCF:3E8D:BCCC:795C:AE46:1C1F:C5BB:1415

3. The destination IP address is C864:A118:922C:37F7:2C45:2C27:7D5E:575D

4. No, the datagram is NOT encapsulated.

5. The datagram is an IPv4 datagram.

6. The source IP address is 229.193.201.219

7. The destination IP address is 32.177.151.143

8. Yes, the datagram is encapsulated.

9. The source address of this encapsulated datagram is CDCF:3E8D:BCCC:795C:AE46:1C1F:C5BB:1415

10. The destination address of this encapsulated datagram is C864:A118:922C:37F7:2C45:2C27:7D5E:575D

11. The datagram is an IPv4 datagram.

12. The source IP address is 229.193.201.219

13. The destination IP address is 32.177.151.143

14. Yes, the datagram is encapsulated.

15. The source address of this encapsulated datagram is CDCF:3E8D:BCCC:795C:AE46:1C1F:C5BB:1415

16. The destination address of this encapsulated datagram is C864:A118:922C:37F7:2C45:2C27:7D5E:575D

17. The datagram is an IPv4 datagram.

18. The source IP address is 229.193.201.219

19. The destination IP address is 32.177.151.143

20. Yes, the datagram is encapsulated.

21. The source address of this encapsulated datagram is CDCF:3E8D:BCCC:795C:AE46:1C1F:C5BB:1415

22. The destination address of this encapsulated datagram is C864:A118:922C:37F7:2C45:2C27:7D5E:575D

23. The datagram is an IPv4 datagram.

24. The source IP address is 229.193.201.219

25. The destination IP address is 32.177.151.143

26. Yes, the datagram is encapsulated.

27. The source address of this encapsulated datagram is CDCF:3E8D:BCCC:795C:AE46:1C1F:C5BB:1415

28. The destination address of this encapsulated datagram is C864:A118:922C:37F7:2C45:2C27:7D5E:575D

29. The datagram is an IPv6 datagram.

30. The source IP address is CDCF:3E8D:BCCC:795C:AE46:1C1F:C5BB:1415

31. The destination IP address is C864:A118:922C:37F7:2C45:2C27:7D5E:575D

32. No, the datagram is NOT encapsulated.

33. The tunnel entrance is router B

34. The tunnel exit is router F

35. IPv4, in order to maintain compatibility with existing IPv4 infrastructure, IPv6 datagrams are put in the payload of an IPv4 datagram. These IPv4 datagrams are passed on until it reaches a router which supports IPv6, where the IPv6 datagram is decapsulated and passed on.



That's incorrect

That's correct

The answer was: IPv6

Question 1 of 35

The answer was: CDCF:3E8D:BCCC:795C:AE46:1C1F:C5BB:1415

Question 2 of 35

The answer was: C864:A118:922C:37F7:2C45:2C27:7D5E:575D

Question 3 of 35

The answer was: No

Question 4 of 35

The answer was: IPv4

Question 5 of 35

The answer was: 229.193.201.219

Question 6 of 35

The answer was: 32.177.151.143

Question 7 of 35

The answer was: Yes

Question 8 of 35

The answer was: CDCF:3E8D:BCCC:795C:AE46:1C1F:C5BB:1415

Question 9 of 35

The answer was: C864:A118:922C:37F7:2C45:2C27:7D5E:575D

Question 10 of 35

The answer was: IPv4

Question 11 of 35

The answer was: 229.193.201.219

Question 12 of 35

The answer was: 32.177.151.143

Question 13 of 35

The answer was: Yes

Question 14 of 35

The answer was: CDCF:3E8D:BCCC:795C:AE46:1C1F:C5BB:1415

Question 15 of 35

The answer was: C864:A118:922C:37F7:2C45:2C27:7D5E:575D

Question 16 of 35

The answer was: IPv4

Question 17 of 35

The answer was: 229.193.201.219

Question 18 of 35

The answer was: 32.177.151.143

Question 19 of 35

The answer was: Yes

Question 20 of 35

The answer was: CDCF:3E8D:BCCC:795C:AE46:1C1F:C5BB:1415

Question 21 of 35

The answer was: C864:A118:922C:37F7:2C45:2C27:7D5E:575D

Question 22 of 35

The answer was: IPv4

Question 23 of 35

The answer was: 229.193.201.219

Question 24 of 35

The answer was: 32.177.151.143

Question 25 of 35

The answer was: Yes

Question 26 of 35

The answer was: CDCF:3E8D:BCCC:795C:AE46:1C1F:C5BB:1415

Question 27 of 35

The answer was: C864:A118:922C:37F7:2C45:2C27:7D5E:575D

Question 28 of 35

The answer was: IPv6

Question 29 of 35

The answer was: CDCF:3E8D:BCCC:795C:AE46:1C1F:C5BB:1415

Question 30 of 35

The answer was: C864:A118:922C:37F7:2C45:2C27:7D5E:575D

Question 31 of 35

The answer was: No

Question 32 of 35

The answer was: B

Question 33 of 35

The answer was: F

Question 34 of 35

The answer was: IPv4

Question 35 of 35

Try Another Problem

We greatly appreciate the work of John Broderick (UMass '21) in helping to develop these interactive problems.

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