Re: [nox-dev] what is the difference between pyswitch and routing module?

2011-12-15 Thread Murphy McCauley
No. The situation is as I described -- the routing module is really more like a network-wide L2 switch than anything else. It's possible to implement some L3 routing functionality in NOX as Srini mentions in the referenced email. However, there's at least one thing that IP routers do which

[nox-dev] Running Error on nox.json

2011-12-15 Thread Peng Sun
Hi, I encountered an error when running NOX. The error is: ERR: Unable to find a configuration file. Checked the following locations: - /usr/local/etc/nox/nox.json - etc/nox.json The compilation is successful... Does anybody know how to solve the problem? Thanks.

Re: [nox-dev] Running Error on nox.json

2011-12-15 Thread Murphy McCauley
Hi; maybe you can provide a bit more information. What OS/version are you running on? What steps did you use to configure, build, and run NOX? -- Murphy On Dec 15, 2011, at 2:45 PM, Peng Sun wrote: Hi, I encountered an error when running NOX. The error is: ERR: Unable to find a

Re: [nox-dev] Watch inside the IP Option field with Openflow

2011-12-15 Thread Murphy McCauley
Well, this depends on what you mean. There is no way in the OpenFlow 1.0 spec to have matches against an IP option. However, if you are installing exact-match flows for TCP or UDP connections and the first packet of the connection will have the option set, then you may be able to do what you

Re: [nox-dev] how to display network topology timely

2011-12-15 Thread Murphy McCauley
The fundamental problem here is that there's no always-applicable way to know when a host leaves. The only mechanism used in NOX now is a timeout. You could adjust this timeout -- the best value for it depends on how talkative your hosts are. You might also extend the host tracker to watch

Re: [nox-dev] Not able to send ARP Reply in C++

2011-12-15 Thread Murphy McCauley
First, I'd suggest that you install a flow to send all appropriate ARP messages to the controller. Second, use the packet in event to examine the ARP request. The data that you need is all on the event object (specifically, the buf field of the Ofp_msg_event class contains the raw packet

Re: [nox-dev] Running Error on nox.json

2011-12-15 Thread Murphy McCauley
I suspect you're not running nox_core from the src directory (build/src). Try that. You can also run it by specifying a configuration file (src/nox_core -c src/etc/nox.json I think), but you'd also need to specify the directories for components. Hope that helps. -- Murphy On Dec 15, 2011,

Re: [nox-dev] Running Error on nox.json

2011-12-15 Thread Peng Sun
Thanks Murphy. Peng On Thu, Dec 15, 2011 at 8:49 PM, Murphy McCauley jam...@nau.edu wrote: I suspect you're not running nox_core from the src directory (build/src). Try that. You can also run it by specifying a configuration file (src/nox_core -c src/etc/nox.json I think), but you'd

Re: [nox-dev] Not able to send ARP Reply in C++

2011-12-15 Thread Kimihiko FUKAMI
I am sorry for replying this thread late. And I sent a reply only to yeffri. At first, I successed to send an ARP reply in C++. yeffri's code helps me very much! But yeffri's code can send an ARP request, so I wrote the code to send an ARP reply. The code is below. To yeffri and Murphy,

Re: [nox-dev] Not able to send ARP Reply in C++

2011-12-15 Thread Murphy McCauley
Glad you got it working; I had missed yeffri's reply. -- Murphy On Dec 15, 2011, at 8:26 PM, Kimihiko FUKAMI wrote: I am sorry for replying this thread late. And I sent a reply only to yeffri. At first, I successed to send an ARP reply in C++. yeffri's code helps me very much! But