Hello,
I have TL-WR1043ND v1.8 and it has openwrt and openflow 1.0 on it and it is
successfully working with pox. I connect my POX controller to the wan port
and then make queues on wireless port(i.e. 5) and traffic is passing
through the queues. But my router is not configured to access Internet yet.
I'm confused as to how should i enable internet connection when my wan port
is being used by controller. how to enable internet on one of the lan
ports?
Here are my configs

/etc/config/network
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' '2'
    option 'ports' '2 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'
    option 'ifname' 'eth0.2'
    option 'proto' 'static'

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.2.1'
    option 'netmask' '255.255.255.0'

/etc/config/openflow
config 'ofswitch'
    option 'dp' 'dp0'
    option 'dpid' '100000000000'
    option 'ofports' 'eth0.1 eth0.2 eth0.3 eth0.4 wlan0'
    option 'ofctl' 'tcp:192.168.2.2:6633'
    option 'mode'  'outofband'

Please can someone explain it to me in detail, how to chnage my
configurations? I don't really know much about openflow and openwrt yet.
Still learning :)

-- 
Namrah Tariq
BESE-1
SEECS-NUST
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to