Re: [nox-dev] Multiple action list regarding

2011-02-16 Thread James Murphy McCauley
Thanks! I'll put this on my queue. -- Murphy On Wed, 2011-02-16 at 16:29 +0530, karthikeyan ramaswamy wrote: Dear Nox developers, I wanted to have multiple actions involving modifying the vlan id and output to a port. I searched in mailing list and found the following post.

[nox-dev] Sending arp packets

2011-02-16 Thread Aaron Rosen
Hello, I'm trying to send arp replies from my nox controller though for some reason my packets don't seem to be getting sent out and I was hoping someone could point out where I'm going wrong. This is the code I have: if packet.type == ethernet.ARP_TYPE: arppacket =

Re: [nox-dev] Sending arp packets

2011-02-16 Thread Bob Lantz
Hi Aaron, Which interface are you running wireshark on? For a controller running inside the VM, you should probably be looking at the loopback interface. -Bob On Feb 16, 2011, at 11:59 AM, Aaron Rosen wrote: I'm trying to look at my openflow traffic with wireshark but for some reason I'm

Re: [nox-dev] Sending arp packets

2011-02-16 Thread Niky Riga
Hi Aaron, that might not be an issue at all, but I don't see in your code where you set the ethernet headers (basically the src and dst) for the arp reply. If you want, I have some code that I wrote a while back to send arp replies, that seemed to work as expected. I can forward it along if

Re: [nox-dev] Sending arp packets

2011-02-16 Thread Niky Riga
I am not an expert in wireshark so I might be totally wrong here, but I believe that in the OF wireshark plugin, you have to modify the Makefile to specify the exact port that you want to use to capture OF control traffic, in this case port or it will use the default OF port. Someone with

Re: [nox-dev] Sending arp packets

2011-02-16 Thread kk yap
Hi, There are many ways to do this and none of this is particularly more appealing. If you are using Python, you can try dpkt or scapy. Handcrafting it is not that bad for ARP either. If you are using C/C++, I do not know of nice libraries to use here so anyone who has any idea can educate me

Re: [nox-dev] Sending arp packets

2011-02-16 Thread James Murphy McCauley
You can also right-click on a packet from the controller traffic, select Decode As..., and set OFP as the Transport protocol. This will let you temporarily associate the port with the OpenFlow decoder without having to recompile the plugin. -- Murphy On Wed, 2011-02-16 at 15:57 -0500, Niky Riga