This papers goal is to introduce the concept of Software Defined Networking (SDN) and address the issues related to network access control (NAC) as well as provide a concept of network access control using OpenFlow protocol. It also consists of NAC program prototype for OpenDaylight (ODL) [1] controller.
SDN is a network architecture which changes traditional decentralized network model by separating data and control planes. Data plane is an abstraction of network components which forward the packets of the network and control plane is the entity or entities which make decisions concerning the rules of packet forwarding. In SDN network control plane is moved to a centralized entity called controller [2]. Its purpose is to instruct data plane devices on packet forwarding.
OpenFlow (OF) is one of SDN realisations. The network based on OF consist of one or few OpenFlow controllers connected to OF switches. The switches forward packets based on flow entries written by controller. When a packet matches a flow entry OF switch performs an action specified in that specific flow entry. A flow entry consists of a match field which indicates packet headers values that have to match (values can be wildcarded), priority, counters, instructions that specify the actions, timers and cookies. The lowest priority entry usually instructs switches to forward packets to controller and controller makes decisions on what should be done with the packet. The common controller's procedure is to instruct the OF switch to forward the packet and write the appropriate flow entry to the switch seeking that the switch would not forward this type of packets to the controller again.
This project proposes network access control using OpenFlow controlled access layer in the hierarchical network model. The example topology is displayed in figure 1. By replacing only the access layer with OpenFlow switches we make the least amount of changes to original network and get full benefit of OF controlled access layer as well as retain support of all traditional network protocols.

Port-based Network Access Control protocol (802.1x) [3] has been chosen for authentication of the users and OpenDaylight controller has been chosen for OpenFlow network management. 802.1x protocol has been adapted for OF based network access layer. A NAC program prototype has been written that uses ODLs Model-Driven Service Abstraction Layer (MD-SAL) to communicate with controller.