Re: [openflow-discuss] enable_learning option on Pantou

2013-05-04 Thread Shabbir Ahmed
i got it fixed but dont know the logic yet, i assigned ip address to each vlan after which the error "unknown device eth0.1" error has disappeared, i added static rules via dpctl and both of the hosts started to ping, i assigned ip to every vlan from the same subnet i wonder how it accepted IPs fro

Re: [openflow-discuss] enable_learning option on Pantou

2013-05-04 Thread Shabbir Ahmed
i have found one thing if i assign an ip addres to eth0.1, it accept eth0.1 n starts complaing abt eth0.2 On Sat, May 4, 2013 at 5:31 AM, Jonathan Lim wrote: > Hi all, > > I'm using Pantou with OpenWRT on a TP-Link TL-WR1043ND. > I ran into a problem when I omitted the line "option enable_learn

[openflow-discuss] daemons

2013-05-04 Thread Shabbir Ahmed
Hi, I want to know wat these two daemons do, ofdatapath ofprotocol I asume ofdatapath is the forwarding plane of openflow protocol and listens on tcp:6634 ofprotcol is teh control plane of the control which could be local or remote port, now on openwrt i must have ofdatapath be running all the

Re: [openflow-discuss] enable_learning option on Pantou

2013-05-04 Thread Shabbir Ahmed
I have enabled only outbound. root@OpenWrt:~# cat /etc/config/openflow config 'ofswitch' option 'dp' 'dp0' option 'dpid' '0001' option 'ofports' 'eth0.1 eth0.2 eth0.3 eth0.4' option 'ofctl' 'tcp:192.168.2.5:6633' option 'mode' 'outofband' opt

Re: [openflow-discuss] enable_learning option on Pantou

2013-05-04 Thread Jonathan Lim
Thanks Andrew, the information is helpful. @Shabbir, I'm using the default network and openflow configuration files, as documented in http://www.openflow.org/wk/index.php/Pantou_:_OpenFlow_1.0_for_OpenWRT#Network_Configuration_2 Sorry, I don't have experience with POX. I'm currently using the Flo

Re: [openflow-discuss] tplink pantou, openflow

2013-05-04 Thread Andrew Ferguson
On May 4, 2013, at 10:54 AM, Shabbir Ahmed wrote: > yesi just have seen, thanx :p now wat is the issue with broken socket ? why i > gets DC right after connecting :P. > I'm just guessing here, since I don't know pox very well, but perhaps it does not support inband control, as you have configu

Re: [openflow-discuss] tplink pantou, openflow

2013-05-04 Thread Shabbir Ahmed
yesi just have seen, thanx :p now wat is the issue with broken socket ? why i gets DC right after connecting :P. On Sat, May 4, 2013 at 7:49 PM, Andrew Ferguson wrote: > > On May 4, 2013, at 10:45 AM, Shabbir Ahmed wrote: > > Hi Andrew, > > i have attached a file look as it already has the entr

Re: [openflow-discuss] tplink pantou, openflow

2013-05-04 Thread Andrew Ferguson
On May 4, 2013, at 10:45 AM, Shabbir Ahmed wrote: > Hi Andrew, > > i have attached a file look as it already has the entries u mentioned. i > think 127.0.0.1:6634 is the data path trying to connect to 192.168.2.5:6633, > and i get error on remote machine with POX, socket broken. > hi Shabbir,

Re: [openflow-discuss] tplink pantou, openflow

2013-05-04 Thread Shabbir Ahmed
Hi Andrew, i have attached a file look as it already has the entries u mentioned. i think 127.0.0.1:6634 is the data path trying to connect to 192.168.2.5:6633, and i get error on remote machine with POX, socket broken. On Sat, May 4, 2013 at 7:39 PM, Andrew Ferguson wrote: > > On May 4, 201

Re: [openflow-discuss] tplink pantou, openflow

2013-05-04 Thread Andrew Ferguson
On May 4, 2013, at 3:50 AM, Shabbir Ahmed wrote: > root@OpenWrt:~# /etc/init.d/openflow start > eth0.0,eth0.1,eth0.2,eth0.3, > Configuring OpenFlow switch for inband control > Feb 19 09:43:36|1|netdev|ERR|ioctl(SIOCGIFINDEX) on eth0.0 device failed: > No such device > ofdatapath: failed to ad

[openflow-discuss] tplink pantou, openflow

2013-05-04 Thread Shabbir Ahmed
Hi, I have connected a laptop (controller) to blue (wan) port. 1 laptop to switch port (ip addr 192.168.10.1) 1 laptop to another switch port (192.168.10.2) When I run openflow on openwrt i get the following error, all other configurations are attached. root@OpenWrt:~# /etc/init.d/openflow star

Re: [openflow-discuss] enable_learning option on Pantou

2013-05-04 Thread Shabbir Ahmed
hi Jonathan, can you share your /etc/config/network and /etc/config/openflow? i'm getting error "socket error: broken pipe" can you share your configs and the command u use to run pox and a diagram? On Sat, May 4, 2013 at 5:31 AM, Jonathan Lim wrote: > Hi all, > > I'm using Pantou with Ope