Abstract
While software defined networking (SDN) has been widely deployed in wired networks within the cloud data centers, its applications with both a wireless control and data channel have not been fully realized. One particular use case is vehicular ad hoc networks (VANET), where SDN has been touted as an effective method to control vehicles' data traffic in a centralized manner. Several studies explored how SDN switches can be utilized on connected vehicles to shape the data traffic by enabling multi-hop communications through their Dedicated Short Range Communication (DSRC) interfaces. However, evaluation of research for SDN-based VANETs became a challenge due to lack of testbeds and realistic simulation tools that will support VANET features in conjunction with SDN. In this paper, we present a new framework that will enable SDN-based VANET simulation in ns-3. Specifically, we demonstrate how ns-3 SDN module can be expanded to support DSRC interfaces in addition to their default CSMA-CD interface. By considering a platooning application use case, we implemented an SDN-based VANET simulation that will enable multi-hop communication through the DSRC interfaces of the vehicles and road side units (RSUs). We not only explain the details of the implementation within the ns-3 OpenFlow (OF13) switch module but also provide some sample experiment results under a variety of conditions. The results show that the implementation is robust and closely simulates the actual behavior of SDN's control and data channels.