Problem 13
Question
Consider the following arrangement of three switches S1-S3, three hosts h1-h3 and one OpenFlow controller C. As with exercise 12.0, assume that the switches report packets to \(\mathrm{C}\) only if they do not already have a forwarding- table entry for the packet's destination. After each report, C installs a forwarding-table entry on the reporting switch for reaching the packet's source address via the arrival port. At that point the switch floods the packet (as the destination must not have been known). If a switch can forward a packet without reporting to \(\mathrm{C}\), no new forwarding entries are installed. Packets are now sent as follows: \(h 1 \rightarrow h 2\) \(h 2 \rightarrow h 1\) \(h 1 \rightarrow h 3\) \(h 3 \rightarrow h 1\) \(h 2 \rightarrow h 3\) \(h 3 \rightarrow h 2\) At the end, what are the forwarding tables on \(\mathrm{S} 1 \diamond, \mathrm{S} 2\) and \(\mathrm{S} 3\) ?
Step-by-Step Solution
VerifiedKey Concepts
Forwarding Table
- If there is no rule in the table, the switch informs the OpenFlow controller.
- The controller will then create a rule for the switch to know how to route the packet.
Packet Flow
- The controller acts like a navigator, deciding the best path and updating the switch's forwarding table so it knows the way next time.
- Packets travel between hosts through several switches, and understanding the flow helps in setting up efficient routes.
Switch Rules
- What action the switch should take if a packet matches a certain flow.
- Whether to forward, drop, or flood the packet to find its destination.