Exercise 7 |
(A,E),(E,C),(C,F)
Using 3 abstract data structures:
The node at the head of the queue is always chosen for expansion and is added to the path and closed lists.
We halt when the goal is reached.
| Queue | Path | Closed |
| A | ||
| B4,E5 | A | |
| E5,C7,F10 | (A,B) | A,B |
| C6,C7,F10,F13 | (A,B),(A,E) | A,B,E |
| D10,F10,F13 | (A,B),(A,E),(E,C) | A,B,E,C |
| F10,F13 | (A,B),(A,E),(E,C),(C,F) | A,B,E,C,F |
Address/mask Next hop
- 135.46.56.0/22 Interface 0
- 135.46.60.0/22 Interface 1
- 192.53.40.0/23 Router 1
- default Router 2
For each of the following IP addresses, to what interface or router number does the router send a packet with that address arrives?
- 135.46.63.10
- 135.46.57.14
- 135.46.52.2
- 192.53.40.7
- 192.53.56.7
Document last modified: