Manual:OpenFlow

From MikroTik Wiki
Jump to: navigation, search

Overview

This page contains information on OpenFlow switch support in RouterOS.

For information about OpenFlow see https://www.opennetworking.org/

Currently RouterOS implements OpenFlow version 1.0.0 required features. Support for newer versions, optional features and switching hardware acceleration are to be added. Current implementation should be considered experimental - NOT production ready and is available for evaluation purposes.

If you have any feature requests or bug reports please contact support.

OpenFlow support is available as standalone openflow package.

OpenFlow feature overrides regular packet processing functionality - packets that are received on interfaces that are OpenFlow switch ports, will not pass through the regular networking stack unless OpenFlow controller sets up flows that enable this. Due to this care must be taken to not disable access to the device when configuring OpenFlow.

Currently only unencrypted TCP is available as the communications channel between RouterOS OpenFlow switch and controller.


Icon-warn.png

Warning: Actions to set network layer src and dst are not supported (OFPAT_SET_NW_SRC, OFPAT_SET_NW_DST)



Configuration

RouterOS supports multiple OpenFlow switch instances, each of which can have separate controller(s) and sets of ports.

Switch instance can be added using command:

[admin@MikroTik] > /openflow add name=ofswitch1 controllers=10.0.0.18

Switch ports can be added using command:

[admin@MikroTik] > /openflow port add switch=ofswitch1 interface=ether2
[admin@MikroTik] > /openflow port add switch=ofswitch1 interface=ether3