Hello everybody I have installed OpenWRT on my TP-Link 1043 successfully then I configured it as follow. -------------------------------------------------------- Configuration of /etc/config/openflow config 'ofswitch' option 'dp' 'dp0' option 'dpid' '000000000001' option 'ofports' 'wlan0 eth0.1 eht0.2 eth0.3 eth0.4' option 'ofctl' 'tcp:192.168.2.12:6633' option 'mode' 'outofband' -------------------------------------------------------- Configuration of /etc/config/network config 'interface' 'loopback' option 'ifname' 'lo' option 'proto' 'static' option 'ipaddr' '127.0.0.1' option 'netmask' '255.0.0.0'
config 'interface' 'lan' option 'ifname' 'eth0.1' option 'type' 'bridge' option 'proto' 'static' option 'ipaddr' '192.168.0.2' option 'netmask' '255.255.255.0' config 'interface' 'wan' option 'ifname' 'eth0.2' option 'proto' 'static' option 'ipaddr' '192.168.2.2' option 'netmask' '255.255.255.0' config 'switch' option 'name' 'rtl8366rb' option 'reset' '1' option 'enable_vlan' '1' config 'switch_vlan' option 'device' 'rtl8366rb' option 'vlan' '1' option 'ports' '1 2 3 4 5t' config 'switch_vlan' option 'device' 'rtl8366rb' option 'vlan' '2' option 'ports' '0 5t' -------------------------------------------------- Configuration of /etc/config/wireless config wifi-device radio0 option type mac80211 option channel 11 option macaddr 90:f6:52:a4:b8:5c option hwmode 11ng option htmode HT20 list ht_capab SHORT-GI-40 list ht_capab DSSS_CCK-40 option disabled 0 config wifi-iface option device radio0 option network lan option mode ap option ssid OpenWrt option encryption none ------------------------------------------------------------ I connected my laptop having POX controller to wan port. I set my laptop IP to 192.168.2.12. The IP which I have used in /etc/config/openflow. I run pox controller with the command sudo ./pox.py openflow.of_01 --address=192.168.2.12 --port=6633 forwarding.l2_learning. Then I connected another laptop OpenWRT SSID (via WiFi) and use ping command to ping 192.168.2.12. Ping was successful but controller didn't display anything. I am not sure what I am doing wrong. Can anybody help me in this please.
_______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss