Re: [openflow-discuss] Traditional WLAN works better than openflow enabled OpenWRT

2014-03-18 Thread Andrew Ferguson
t OpenWRT will help you. from the source, it looks like this is the original author: https://github.com/schuza best of luck, Andrew > On Mon, Mar 17, 2014 at 3:55 AM, Sayed Qaiser Ali Shah > <11msitqs...@seecs.edu.pk> wrote: > Oh thanks didn't know about this. I will defin

Re: [openflow-discuss] Bringing port up from the controller

2014-03-17 Thread Andrew Ferguson
On Mar 12, 2014, at 9:18 AM, Himanshu Shah wrote: > Hello everyone, > > I want to bring down a specific port from the controller and after some bring > the port back up. > > One way to go about doing this is to use port_mod flags such as > OFPPC_PORT_DOWN and OFPPC_NO_FWD. However I didn't s

Re: [openflow-discuss] Traditional WLAN works better than openflow enabled OpenWRT

2014-03-17 Thread Andrew Ferguson
On Mar 17, 2014, at 4:10 PM, Sayed Qaiser Ali Shah <11msitqs...@seecs.edu.pk> wrote: > I am working with wireless networks and just want to confirm behavior of > Openflow enabled OpenWRT and Traditional WLAN. > I am using TP-Link 1043ND device with Openflow enabled OpenWRT and using > D-ITG Tra

Re: [openflow-discuss] Openflow packet

2014-01-27 Thread Andrew Ferguson
On Jan 27, 2014, at 12:33 PM, Eduard Gibert Renart wrote: > Yes my architecture is little-endian. So I need to convert the length and > the xid like this ? > > struct ofp_header header; > header.version = OFP_VERSION; > header.type = OFPT_HELLO; > header.length = htons(8); >

Re: [openflow-discuss] Openflow packet

2014-01-27 Thread Andrew Ferguson
On Jan 27, 2014, at 12:09 PM, Eduard Gibert Renart wrote: > Good morning every one, > > I was trying to create a very simple SDN controller and I’m having > difficulties creating an SDN packet using sockets in C. I create a regular > TCP/IP packet using the C library to create sockets and then

Re: [openflow-discuss] add-flow for WLAN in tp-link 1043nd

2014-01-12 Thread Andrew Ferguson
but don't know which interface. > Please will you be more specific in your above explanation how should I > assign IP's and there should be gateway or not? If there should be gateway > what will be Gateway? > Thanks again for you precious time. :-) > > > > On Sun

Re: [openflow-discuss] add-flow for WLAN in tp-link 1043nd

2014-01-12 Thread Andrew Ferguson
On Jan 12, 2014, at 6:59 AM, Sayed Qaiser Ali Shah <11msitqs...@seecs.edu.pk> wrote: > Dear Andrew I tried both techniques but no technique is working. Network is > behaving the same. When I created two wlan interfaces i.e. wlan0 and wlan1 > and I added both interfaces to /etc/config/openflow.

Re: [openflow-discuss] add-flow for WLAN in tp-link 1043nd

2014-01-05 Thread Andrew Ferguson
On Jan 6, 2014, at 2:04 AM, Sayed Qaiser Ali Shah <11msitqs...@seecs.edu.pk> wrote: > By response I mean successful response. You must have gone through this > conversation I did the same what Murphy suggested and you helped me out. But > still problem didn't solved. > When I switch on device a

Re: [openflow-discuss] Question about Pantou : OpenFlow 1.0 for OpenWRT

2013-12-20 Thread Andrew Ferguson
On Dec 20, 2013, at 8:28 AM, Roberto Riggio wrote: > There is also this package for openwrt which should be a little more up to > date: > > https://github.com/schuza/openvswitch and also this one, which supports 1.3 (although as a userspace switch, like the original Pantou): https://github.co

Re: [openflow-discuss] Some confusion about the bandwidth isolation on the openwrt

2013-12-09 Thread Andrew Ferguson
On Dec 9, 2013, at 8:19 AM, Perhaps Lee <07xl...@gmail.com> wrote: > When testing the bandwidth isolation, I add the queues like: > > dpctl add-queue tcp:localhost:6634 3 1 200 > dpctl add-queue tcp:localhost:6634 3 2 800 > > Then assign queue-1 for udp traffic, queue-2 for tcp traffice. The res

Re: [openflow-discuss] QoS with Openflow Switches

2013-12-08 Thread Andrew Ferguson
On Dec 5, 2013, at 11:20 AM, Zoltán Lajos Kis wrote: > What might cause confusion (if there is any) is that the original OF 1.0 > implementation provided extension messages - OFP_EXT_QUEUE_MODIFY and > OFP_EXT_QUEUE_DELETE - for managing queues. See e.g.,: > http://yuba.stanford.edu/git/gitweb

Re: [openflow-discuss] Some confusion about the bandwidth isolation on the openwrt

2013-12-08 Thread Andrew Ferguson
hi, perhaps you've already resolved your problem, but if not, I think there is a typo in your rules below. I'll also put some debugging tips at the end. On Nov 14, 2013, at 12:51 AM, Perhaps Lee <07xl...@gmail.com> wrote: > 1. Without the the enqueue actions. > ... > ip,in_port=1,nw_dst=192.168

Re: [openflow-discuss] Openflow Switch on TP-Link multiple connection problem

2013-12-08 Thread Andrew Ferguson
On Dec 8, 2013, at 2:55 AM, Jon Stan wrote: > The following is the error message: > > 11:03:42.592 INFO [n.f.c.i.OFChannelHandler:New I/O server worker #2-4] New > switch connection from /192.168.100.1:60059 > ... > 11:03:42.636 WARN [n.f.c.i.C.s.notification:main] Switch > 00:00:00:23:20:98:4

Re: [openflow-discuss] pantou for help

2013-12-08 Thread Andrew Ferguson
On Dec 8, 2013, at 3:17 AM, "meshenzcl" <363732...@qq.com> wrote: > I want to compile openflow on a openwrt switch like the project pantou > http://archive.openflow.org/wk/index.php/Pantou_:_OpenFlow_1.0_for_OpenWRT > > can you gave me some suggestion ? Your suggestions may precious for me. hi,

Re: [openflow-discuss] Pantou on WRT54GL

2013-10-25 Thread Andrew Ferguson
hi Namal, that error message doesn't give a lot of useful information, does it? :-/ from some quick Googling, it seems like a problem to solve on your Windows computer -- something about disabling security on the wireless interface. at any rate, it does not appear to be an OpenFlow problem.

Re: [openflow-discuss] OpenFlow Switch Management Tool

2013-10-21 Thread Andrew Ferguson
hi Carlos, On Oct 21, 2013, at 8:34 AM, Carlos Ferreira wrote: > I don't really understand why would anyone want multiple controllers, when > there could be only one controller and over it, multiple apps implementing > different services. Its a much more simple layered approach. multiple contr

Re: [openflow-discuss] Measuring bandwidth between switches in an OF controlled network

2013-10-17 Thread Andrew Ferguson
On Oct 17, 2013, at 2:19 PM, Alison Chan wrote: > Are there any papers which describe benchmarking bandwidth between > switches in an OpenFlow-controlled network, or a mechanism within the > OF spec to measure bandwidth? Topological discovery is easy enough, > but I want to add weights to the gra

Re: [openflow-discuss] Network Slicing

2013-08-02 Thread Andrew Ferguson
hi Purnima, On Aug 2, 2013, at 12:18 AM, Purnima Mohan wrote: > What is actually meant by the usage of --slicing and --noslicing option in > configuring a datapath. I am able to create queues when i use --slicing. that's correct. with the --slicing option, the reference switch creates a root q

Re: [openflow-discuss] DDoS mitigation

2013-06-25 Thread Andrew Ferguson
hi Ahmed, you might find one or both of these tutorials useful for getting started: OpenFlow tutorial using POX: http://www.openflow.org/wk/index.php/OpenFlow_Tutorial Frenetic tutorial: https://github.com/frenetic-lang/frenetic/wiki/Frenetic-Tutorial (POX and Frenetic are completely different

Re: [openflow-discuss] Pantou on TP-LINK port down status not sent

2013-05-15 Thread Andrew Ferguson
hi Yiannis, I think it's a place of ambiguity in the spec, perhaps. for example, with the indigo switch firmware (OF 1.0), if there's a cable plugged-in, and I pull it out, then I see OFPPS_LINK_DOWN in the modified port description. if there's a cable plugged-in, and from the switch OS, I d

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 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 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

Re: [openflow-discuss] enable_learning option on Pantou

2013-05-03 Thread Andrew Ferguson
On May 3, 2013, at 8:31 PM, 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_learning 0" from > the network > configuration file. With a simple topology like > host1-OFswitch1--OFswitc

Re: [openflow-discuss] how to generate Traffic in a mininet topology

2013-05-03 Thread Andrew Ferguson
On May 3, 2013, at 10:37 AM, Josh Smift wrote: > CP> Is there any way alternative to iperf, to generate traffic in a oepnflow > CP> based topology, where, the controller is a load balancer. Hence we want to > CP> simulate network traffic, with or without using a web browser. > > Jay Aikat talked

Re: [openflow-discuss] wrt54gl connection reset by peer

2013-04-24 Thread Andrew Ferguson
ofprotocol.sh, > and after 15s my router stills sending reset, may I have to change another > thing? > > many thanks, > Adria > > > 2013/4/24 Andrew Ferguson > Daisuke, > > this tip is fantastic -- thank you! I changed one of our Pantou devices to > use t

Re: [openflow-discuss] wrt54gl connection reset by peer

2013-04-23 Thread Andrew Ferguson
://gist.github.com/kazuyas/2016918 > > I hope this can help you > > (13/04/20 0:39), Andrew Ferguson wrote: >> hi Adria, >> >> unfortunately, yes, this problem has been seen before on the Pantou >> firmware. I don't know that anyone has determined a root c

Re: [openflow-discuss] wrt54gl connection reset by peer

2013-04-19 Thread Andrew Ferguson
hi Adria, unfortunately, yes, this problem has been seen before on the Pantou firmware. I don't know that anyone has determined a root cause. there are a couple workarounds: 1) have your controller send periodic ECHO_REQUEST's to the switch, rather than wait for the switch to send them. for ex

Re: [openflow-discuss] Is network statistics polling from end host possible?

2013-04-01 Thread Andrew Ferguson
On Apr 1, 2013, at 12:25 PM, Hilina Assefa wrote: > Dear Sir/Madam, > > i was wondering if it is possible to get statistic information about the > network(specially bandwidth of the network and buffer capacity of edge > opeflow switch ) from end-host. hi Hila, this is a task which can be supp

Re: [openflow-discuss] open flow - Responses to configuration failures

2013-03-05 Thread Andrew Ferguson
On Mar 4, 2013, at 12:22 PM, Ambika Mohanty (ammohant) wrote: > Hi Team, >I have a question on how the open flow manages the error cases. This is > in case the network layer discards the configuration or hits an error > condition. How is the admin/user notified about this ? For example, let

Re: [openflow-discuss] Sample packet-out capture??

2013-02-08 Thread Andrew Ferguson
On Feb 8, 2013, at 1:19 PM, Peter Fales wrote: > Openflow hackers, > > We're trying to have our controller create packets from scratch (LLDP > packets in this case) and send them to the switch using packet-out > messages. Using wireshark, I can see the packet-out being sent from > the controll

Re: [openflow-discuss] Question about Pantou on WRT54GL

2012-10-17 Thread Andrew Ferguson
hi Peter, from later emails, it sounds like you have everything working. however, I do want to mention one alternative that does not require changing the controller. if you add: --verbose=vconn:file:dbg --log-file="/dev/null" to the command to start ofprotocol in /lib/openflow/ofprotocol.sh, t

Re: [openflow-discuss] openflow in wireless

2012-06-07 Thread Andrew Ferguson
On Jun 7, 2012, at 1:47 PM, shreya pandita wrote: > Jan 01 04:44:18|9|rconn|INFO|tcp:10.0.0.5:6633: connected > Jan 01 04:44:48|00010|rconn|ERR|tcp:10.0.0.5:6633: no response to inactivity > probe after 15 seconds, disconnecting > Jan 01 04:44:48|00011|rconn|INFO|tcp:10.0.0.5:6633: connection

Re: [openflow-discuss] Fwd: openflow in wireless : pantou

2012-05-30 Thread Andrew Ferguson
On May 30, 2012, at 9:51 AM, shreya pandita wrote: > I have been looking into openflow in wireless and got "pantou > firmware" installed on my wireless router TL-WR1043ND > So now I was wondering how to go about inserting flows in my box Does > pantou already come with ofctl in built , as in the

Re: [openflow-discuss] rate-control implementation

2012-05-11 Thread Andrew Ferguson
On May 11, 2012, at 8:03 PM, Masoud Moshref Javadi wrote: > I read that there are two ways to implement rate-control in OVS: ingress > and egress using QoS queues. > Can these queues use HW queues? > When a packet comes for these queues, will it be handled completely in > kernel space? or it needs

Re: [openflow-discuss] ofdatapath does not launch for the TP-Link 1043ND OpenWRT image

2012-04-20 Thread Andrew Ferguson
On Apr 20, 2012, at 2:28 AM, Kamran Riaz Khan wrote: > 1|netdev|ERR|ioctl(SIOCGIFINDEX) on eth0.3 device failed: No such device > ofdatapath: failed to add port eth0.3 (No such device) > No need for further configuration for out-of-band control Hi Kamran, It looks like the network configurat

Re: [openflow-discuss] Openflow QoS feature implementation

2012-02-22 Thread Andrew Ferguson
On Feb 22, 2012, at 3:39 PM, ANAND AKELLA wrote: > Has anybody tried implementing QoS feature using OpenFlow switch. We need > help in understanding the feature and how we can implemented it using > OpenFlow. In addition to the OFPAT_ENQUEUE action, the reference userspace switch also support

Re: [openflow-discuss] OpenFlow simulator

2012-02-17 Thread Andrew Ferguson
There's also the Netkit emulator: http://wiki.netkit.org/index.php/Main_Page which I know some groups have used, such as the Nettle developers (see their source files) and also: http://www.cc.gatech.edu/~sburnett/posts/2010-05-20-resonance-netkit.html but I personally only have experience with Mi