Building the learning switch

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 ...

Get Software-Defined Networking with OpenFlow - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.