Now, we change and enhance the behavior of our OpenFlow switch to an intelligent (learning) Ethernet switch. Let's review the operation of a learning switch. When a packet arrives on any port of the learning switch, it can learn that the sending host is located on the port on which the packet has arrived. So, it can simply maintain a lookup table that associates the MAC address of the host with the port on which they are connected to the switch. So the switch stores the source MAC address of the packet along with the incoming port in its lookup table. Upon receiving a packet, the switch looks up the destination MAC address of the packet; in case of a match, the switch figures out the output port and instead of ...
Building the learning switch
Get Software-Defined Networking with OpenFlow - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.