OpenWRT

From Sb
Jump to: navigation, search

OpenFlow Main Page

Openwrt configuration

http://www.openflow.org/wk/index.php/Pantou_:_OpenFlow_1.0_for_OpenWRT

Commands

Login the TP-link switch:

    telnet IP address

Search the configuration file:

    cd /etc/config/

Edit the openflow config file:

    joe openflow

Setup controller IP address:

config 'ofswitch'
   option 'dp' 'dp0'
   option 'ofports' 'eth0.0 eth0.1 eth0.2 eth0.3 '
   option 'ofctl' 'tcp:192.168.1.10:6633'
   option 'mode'  'outofband'

Then restart the openflow module:

    /etc/init.d/openflow restart

We need to setup the ARP table at the host PCs:

    arp -s 192.168.213.80 MAC_CIM

Firmwares

Basic OF 1.0 switch:

Media:of1.0-openwrt-ar71xx-generic-tl-wr841nd-v5-squashfs-factory.bin

OF 1.0 greedy with hash:

Media:of1.0-greedy-hash-openwrt-ar71xx-generic-tl-wr841nd-v5-squashfs-factory.bin

OF 1.0 greedy without hash:

Media:of1.0-greedy-hashless-openwrt-ar71xx-generic-tl-wr841nd-v5-squashfs-factory.bin

OF 1.1 greedy:

Media:of1.1-greedy-openwrt-ar71xx-generic-tl-wr841nd-v5-squashfs-factory.bin

Personal tools