Thank you Alison I will wait for your reply.
On Fri, Dec 13, 2013 at 10:56 AM, Alison Chan <[email protected]>wrote: > The config looks wrong to me (I don't have access to our OpenWrt OF > switches now to confirm though), and you shouldn't be able to ping the > controller from the data plane interface with it set for out of band > control. I will look at a working setup in the lab tomorrow morning and > share my config files. > > Cheers, > > Alison Chan, Kettering University > +1 909 278 7753 > (sent from my phone) > On 12 Dec 2013 13:22, "Sayed Qaiser Ali Shah" <[email protected]> > wrote: > >> Thank you Shayan. Are the configurations right? >> >> >> On Thu, Dec 12, 2013 at 11:21 PM, Shayan Saeed >> <[email protected]>wrote: >> >>> Run the controller with - - debug option if you want to see messages >>> too. >>> On Dec 12, 2013 12:15 PM, "Sayed Qaiser Ali Shah" < >>> [email protected]> wrote: >>> >>>> 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 >>>> [email protected] >>>> https://mailman.stanford.edu/mailman/listinfo/openflow-discuss >>>> >>>> >> >> >> -- >> >> >> >> >> *Regards Sayed Qaiser Ali ShahMSIT-12 NUST (SEECS)* >> >> _______________________________________________ >> openflow-discuss mailing list >> [email protected] >> https://mailman.stanford.edu/mailman/listinfo/openflow-discuss >> >> -- *RegardsSayed Qaiser Ali ShahMSIT-12NUST (SEECS)*
_______________________________________________ openflow-discuss mailing list [email protected] https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
