Re: [nox-dev] problem with swig

2010-12-06 Thread majumdar
results of apt-get install swig: Reading package lists... Done Building dependency tree Reading state information... Done swig is already the newest version. The following packages were automatically installed and are no longer required: linux-headers-2.6.32-24 linux-headers-2.6.32-24-generic

Re: [nox-dev] problem with swig

2010-12-06 Thread majumdar
BTW I'm using the tutorial given at http://www.openflowswitch.org/foswiki/bin/view/OpenFlow/Deployment/HOWTO/LabSetup#4_Controller_Setup So I'm using NOX 0.6 Thanks Abhishek Can you please post the results of running apt-get install swig and also the results of running ../configure ? Also,

Re: [nox-dev] problem with swig

2010-12-06 Thread Murphy McCauley
The information on that page is long out of date. The noxrepo wiki (http://noxrepo.org/noxwiki) is much more in line with reality. The packages listed on that page are for Debian, and the NOX it has you fetch is no longer 0.6.0. Please try the following (copy/pasted from the noxrepo wiki),

Re: [nox-dev] problem with swig

2010-12-06 Thread Abhishek Majumdar
I still got that configure : error: could not link against ! Thanks Abhishek Majumdar On 12/6/2010 8:43 AM, Murphy McCauley wrote: The information on that page is long out of date. The noxrepo wiki (http://noxrepo.org/noxwiki) is much more in line with reality. The packages listed on that

Re: [nox-dev] problem with swig

2010-12-06 Thread Murphy McCauley
Can you send the config.log file from your build directory, as well as the output from uname -a and cat /etc/issue ? -- Murphy On Dec 6, 2010, at 6:51 AM, Abhishek Majumdar wrote: I still got that configure : error: could not link against ! Thanks Abhishek Majumdar On 12/6/2010 8:43

Re: [nox-dev] problem with swig

2010-12-06 Thread Syed Akbar Mehdi
I encountered the same configure: error: Could not link against !. Try installing the libboost-all-dev as well as boost-build packages. Maybe this is overkill but, in my case it made this error go away. sudo aptitude install boost-build libboost-all-dev --Akbar On Mon, Dec 6, 2010 at 9:06 PM,

Re: [nox-dev] problem with swig

2010-12-06 Thread Murphy McCauley
Yeah, I think this will probably work. apt-get install libboost-dev might also do the trick (and not be overkill). -- Murphy On Dec 6, 2010, at 12:07 PM, Syed Akbar Mehdi wrote: I encountered the same configure: error: Could not link against !. Try installing the libboost-all-dev as well

Re: [nox-dev] working of switch api on link failure

2010-12-06 Thread kk yap
Hi, Pardon my laziness in not reading the patches. I am confused here. Two points: 1) Switch does not depend on topology or discovery, so how do you get link failure? 2) There is no spanning tree implementation in NOX (distributed by default), i.e., you cannot have a redundant network with

Re: [nox-dev] working of switch api on link failure

2010-12-06 Thread Srini Seetharaman
Pardon my laziness in not reading the patches.  I am confused here.  Two points: 1) Switch does not depend on topology or discovery, so how do you get link failure? Oh, with switch, I use the port_status_change event and clear flow rules (and the archived Mac_source for the port). 2) There

Re: [nox-dev] working of switch api on link failure

2010-12-06 Thread kk yap
Hi Srini, 1) The archived port would be the same port? 2) My point precisely. So, what does clearing the flow entries achieve here? I contend that custom controllers might want to implement this flushing on their own. The patch is probably most useful as a component that other controllers can

Re: [nox-dev] working of switch api on link failure

2010-12-06 Thread sachin sharma
Hi Srini, Thank you very much for the patch. Switch.cc implements L2 learning. But in this patch, action are taken on link failure. This does not match with MAC learning. The code of switch.cc works fine. But only the issue is that it does not implement aging timer. Aging timer is

Re: [nox-dev] working of switch api on link failure

2010-12-06 Thread kk yap
Hi Sachin, Thanks for all the heads-up. For aging, I am a little wary about the consequence of implementing aging. Wireless clients (esp. phones with WiFi) tends to be fairly silent these days. I don't have numbers for that, but it might be good to have some value to play with before pushing

Re: [nox-dev] working of switch api on link failure

2010-12-06 Thread Srini Seetharaman
Sachin brought up a valid point that the switch and routing modules are lacking on actions to take when a port or link goes down. Note that the code available right now in NOX may cause packet loss if the dst host moved to a new location and stays silent at the new location (Ageing or host table

[nox-dev] NoX routing does not work

2010-12-06 Thread Jean Tourrilhes
Hi, I had reported this bugs a few weeks ago, and it's not fixed. I need to run NoX to debug the interactions between NoX and my switch, but if NoX does not run... Ok this is what I do : -- $ tar -xvzf nox-zaku-10dec02.tar.gz $ cd

[nox-dev] NOX Router

2010-12-06 Thread Uday Kiran Medisetty
Hi, I want to implement a router using NOX. I have a topology in which Host1 is connected to Switch1, Host2 is connected to Switch2 and both the switches are connected to the router. When Host1 sends ICMP packet to Host2, it will set the destination mac address as the interface on router to which

Re: [nox-dev] NoX routing does not work

2010-12-06 Thread Jean Tourrilhes
On Mon, Dec 06, 2010 at 03:06:34PM -0800, Srini Seetharaman wrote: Hi Jean What is the topology you're using? Do you have a loop? This is a *single* switch. It's connected to another switch, but that other switch is NOT running OpenFlow. Anyway, that would blow up with my other

Re: [nox-dev] problem with swig

2010-12-06 Thread Abhishek Majumdar
It works now. Thanks a lot. Abhishek Majumdar On 12/6/2010 2:13 PM, Murphy McCauley wrote: Yeah, I think this will probably work. apt-get install libboost-dev might also do the trick (and not be overkill). -- Murphy On Dec 6, 2010, at 12:07 PM, Syed Akbar Mehdi wrote: I encountered the

Re: [nox-dev] NoX routing does not work

2010-12-06 Thread Jean Tourrilhes
On Mon, Dec 06, 2010 at 03:06:34PM -0800, Srini Seetharaman wrote: Hi Jean What is the topology you're using? Do you have a loop? Hi, I tried with another switch which does NOT have a LAG. This time, it seems that the forward path is working, and the return path does not work.

Re: [nox-dev] problem with swig

2010-12-06 Thread Murphy McCauley
Glad to hear it! Did you try it with just libboost-dev, or did you use libboost-all-dev? If it's the former, I'd like to update the wiki (if it's the latter, I'll have to look into it more). :) -- Murphy On Dec 6, 2010, at 3:28 PM, Abhishek Majumdar wrote: It works now. Thanks a lot.

Re: [nox-dev] NoX routing does not work

2010-12-06 Thread kk yap
Hi Jean, I am confused you seem to be giving us partial logs and also your NOX seems to be slow. Are you running in a VM? Anyway, I cannot figure out what the problem is from all these. I understand you have flow setup in one way and not the other. Can you furnish more information and

Re: [nox-dev] problem with swig

2010-12-06 Thread kk yap
Murphy, The list I use for the package is Depends: doxygen, doxypy, build-essential, python-dev, autoconf, automake, make, g++, libtool, python-twisted, python-dev, swig, libssl-dev, libboost-dev (= 1.34.1), libboost-test-dev, libboost-filesystem-dev Suggests: git-core, libsqilte3-dev,

Re: [nox-dev] NoX routing does not work

2010-12-06 Thread Jean Tourrilhes
On Mon, Dec 06, 2010 at 05:47:46PM -0800, kk yap wrote: Hi Jean, I am confused you seem to be giving us partial logs Partial log ? I gave you everything I got, after that it repeat at infinitum. If there some option I need to enable to get better logs ? and also your NOX seems to be

Re: [nox-dev] problem with swig

2010-12-06 Thread Syed Akbar Mehdi
Actually in my case, libboost-dev did not work. I had to use libboost-all-dev to make the error go away. On Tue, Dec 7, 2010 at 6:45 AM, Murphy McCauley jam...@nau.edu wrote: Glad to hear it! Did you try it with just libboost-dev, or did you use libboost-all-dev? If it's the former, I'd