[pox-dev] openflow, pox tplink

Shabbir Ahmed shabbir1282 at gmail.com
Tue Feb 5 23:52:37 PST 2013


Hi,

I am trying to set up openflow, openwrt on tp-link, here i have issue, if i
run pox forwarding.l2_learning with mininet it works fine, but when i try
to use it on tp-link, it gives the following msg,


port of (mac address of tplink switch) unknown --- flooding,

following is my configurations,
/etc/config/network:
===============================================
#config interface 'lan'
#       option ifname 'eth0.1'
#       option type 'bridge'
#       option proto 'static'
#       option ipaddr '192.168.1.4'
#       option netmask '255.255.255.0'
#       option dns '4.2.2.2'

config interface 'wan'
        option ifname 'eth0.2'
#       option _orig_ifname 'eth0.2'
#       option _orig_bridge 'false'
        option proto 'static'
        option ipaddr '192.168.2.4'
        option netmask '255.255.255.0'

config 'switch'
option 'name' 'rtl8366rb'
option 'reset' '1'
option 'enable_vlan' '1'
option 'enable_learning' '0'

config 'switch_vlan'
option 'device' 'rtl8366rb'
option 'vlan' '1'
option 'ports' '1 5t'


config 'switch_vlan'
option 'device' 'rtl8366rb'
option 'vlan' '3'
option 'ports' '3 5t'

config 'switch_vlan'
option 'device' 'rtl8366rb'
option 'vlan' '4'
option 'ports' '4 5t'
config 'switch_vlan'
     option 'device' 'rtl8366rb'
     option 'vlan' '5'
     option 'ports' '0 5t'
     config 'interface' 'loopback'
     option 'ifname' 'lo'
     option 'proto'  'static'
       option 'ipaddr' '127.0.0.1'
      option 'netmask' '255.0.0.0'
     config 'interface'
option 'ifname' 'eth0.1'
option 'proto' 'static'
config 'interface'

config 'interface'
option 'ifname' 'eth0.3'
option 'proto' 'static'
config 'interface'
option 'ifname' 'eth0.4'
option 'proto' 'static'

config 'interface'
option 'ifname' 'eth0.5'
option 'proto' 'static'
option 'ipaddr' '192.168.1.4'
option 'netmask' '255.255.255.0'
=============================================================
/etc/config/openflow

config 'ofswitch'
        option 'dp' 'dp0'
        option 'dpid' '000000000001'
        option 'ofports' 'eth0.0 eth0.1 eth0.3 eth0.4'
        option 'ofctl' 'tcp:192.168.1.2:6633'
#       option 'mode'  'outofband'
        option 'mode'  'inband'
========================================================
thank you,
Shabbir.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/private.cgi/pox-dev-noxrepo.org/attachments/20130206/c5259cac/attachment.htm>


More information about the pox-dev mailing list