Hi Srini,

Thanks for your reply.

Actually, I'm not very quite sure if I did the interconnection correctly. 
I connect two NetFPGA box to two different computers, which I manually assigned 
IP addresses to them (for example: 192.168.100.1/24 and 192.168.101.1/24). One 
computer directly connects to NetFPGA data port nf2c0, and the other computer 
connects nf2c1. 

Both NetFPGA box and NOX controller are using public IP addresses. 

I will run the tcpdump and send you that once I'm done. 

Thank you,

-Xuan 

________________________________________
From: [email protected] [[email protected]] on behalf of Srini Seetharaman 
[[email protected]]
Sent: Monday, April 25, 2011 12:16 PM
To: Liu, Xuan (UMKC-Student)
Cc: [email protected]
Subject: Re: [openflow-discuss] Issues with NOX controller and Openflow Switch 
on NetFPGA

Hi Xuan
Everything looks good with your NOX and Switch. It seems like NOX is
not receiving any pkt_ins. Can you please tell me the interconnection?
Which hosts connect to which port?

Could you please send us the control traffic dump from the controller
machine (tcpdump -i any port 6633 -s0 -w /tmp/nox.pcap)? Please start
the tcpdump before you start the ping.

Thanks
Srini.

On Sun, Apr 24, 2011 at 6:11 PM, Liu, Xuan (UMKC-Student)
<[email protected]> wrote:
>  Hello All,
>
> Recently I have installed OpenFlow on our NetFPGA box (CentOS 5.4) and NOX
> controller on Ubuntu 10.04. Our NetFPGA has 2 NIC ports and 4 NetFPGA ports.
> We don't have NF2 device, so I run nf_download instead.
>
> I followed http://www.openflow.org/wk/index.php/CentOS_NetFPGA_Install to
> install the OpenFlow; and follow the instruction
> http://yuba.stanford.edu/foswiki/bin/view/OpenFlow/Deployment/HOWTO/LabSetup#4_Controller_Setup
> to install NOX controller.
>
> We installed OpenFlow 1.0, and NOX 0.6. Then I connected two computers to
> the NetFPGA data ports nf2c0 and nf2c1. When I started the NOX controller,
> and run the switch, I see following messages on each side respectively:
>
> NOX Controller:
> xuan@xuan-desktop:~/Documents/nox/build/src$ sudo ./nox_core -v -i ptcp:6633
> pyswitch
> 00001|nox|INFO:Starting nox_core
> (/home/xuan/Documents/nox/build/src/.libs/lt-nox_core)
> 00002|pyrt|DBG:Loading a component description file
> 'nox/coreapps/messenger/meta.xml'.
> 00003|pyrt|DBG:Loading a component description file
> 'nox/coreapps/switch/meta.xml'.
> 00004|pyrt|DBG:Loading a component description file
> 'nox/coreapps/examples/t/meta.xml'.
> 00005|pyrt|DBG:Loading a component description file
> 'nox/coreapps/examples/meta.xml'.
> 00006|pyrt|DBG:Loading a component description file
> 'nox/coreapps/pyrt/meta.xml'.
> 00007|pyrt|DBG:Loading a component description file
> 'nox/coreapps/testharness/meta.xml'.
> 00008|pyrt|DBG:Loading a component description file
> 'nox/coreapps/simple_c_py_app/meta.xml'.
> 00009|pyrt|DBG:Loading a component description file
> 'nox/coreapps/coretests/meta.xml'.
> 00010|pyrt|DBG:Loading a component description file
> 'nox/coreapps/hub/meta.xml'.
> 00011|pyrt|DBG:Loading a component description file
> 'nox/coreapps/simple_c_app/meta.xml'.
> 00012|pyrt|DBG:Loading a component description file
> 'nox/netapps/data/meta.xml'.
> 00013|pyrt|DBG:Loading a component description file
> 'nox/netapps/tests/meta.xml'.
> 00014|pyrt|DBG:Loading a component description file
> 'nox/netapps/discovery/meta.xml'.
> 00015|pyrt|DBG:Loading a component description file
> 'nox/netapps/flow_fetcher/meta.xml'.
> 00016|pyrt|DBG:Loading a component description file
> 'nox/netapps/routeinstaller/meta.xml'.
> 00017|pyrt|DBG:Loading a component description file
> 'nox/netapps/hoststate/meta.xml'.
> 00018|pyrt|DBG:Loading a component description file
> 'nox/netapps/tablog/meta.xml'.
> 00019|pyrt|DBG:Loading a component description file
> 'nox/netapps/storage/t/meta.xml'.
> 00020|pyrt|DBG:Loading a component description file
> 'nox/netapps/storage/meta.xml'.
> 00021|pyrt|DBG:Loading a component description file
> 'nox/netapps/user_event_log/meta.xml'.
> 00022|pyrt|DBG:Loading a component description file
> 'nox/netapps/switch_management/meta.xml'.
> 00023|pyrt|DBG:Loading a component description file
> 'nox/netapps/topology/meta.xml'.
> 00024|pyrt|DBG:Loading a component description file
> 'nox/netapps/switchstats/meta.xml'.
> 00025|pyrt|DBG:Loading a component description file
> 'nox/netapps/routing/meta.xml'.
> 00026|pyrt|DBG:Loading a component description file
> 'nox/netapps/bindings_storage/t/meta.xml'.
> 00027|pyrt|DBG:Loading a component description file
> 'nox/netapps/bindings_storage/meta.xml'.
> 00028|pyrt|DBG:Loading a component description file
> 'nox/netapps/networkstate/meta.xml'.
> 00029|pyrt|DBG:Loading a component description file
> 'nox/netapps/authenticator/meta.xml'.
> 00030|pyrt|DBG:Loading a component description file
> 'nox/webapps/webservice/meta.xml'.
> 00031|pyrt|DBG:Loading a component description file
> 'nox/webapps/miscws/meta.xml'.
> 00032|pyrt|DBG:Loading a component description file
> 'nox/webapps/webserver/meta.xml'.
> 00033|pycomponent|DBG:Importing Python module nox.coreapps.examples.pyswitch
> 00034|nox|DBG:Application installation report:
> 00035|nox|DBG:built-in event dispatcher:
>     Current state: INSTALLED
>     Required state: INSTALLED
>     Dependencies:
>
> 00036|nox|DBG:built-in DSO deployer:
>     Current state: INSTALLED
>     Required state: INSTALLED
>     Dependencies:
>
> 00037|nox|DBG:pyswitch:
>     Current state: INSTALLED
>     Required state: INSTALLED
>     Dependencies: 'python' OK, 'python' OK
>
> 00038|nox|DBG:python:
>     Current state: INSTALLED
>     Required state: INSTALLED
>     Dependencies:
>
> 00039|openflow|DBG:Passive tcp interface bound to port 6633
> 00040|nox|INFO:nox bootstrap complete
> ^[[A00041|openflow|DBG:Passive tcp interface received connection
> 00042|openflow|DBG:stream: negotiated OpenFlow version 0x01 (we support
> versions 0x01 to 0x01 inclusive, peer no later than version 0x01)
> 00043|nox|DBG:Success sending in 'sending switch config'
> 00044|nox|DBG:Success sending in 'receiving features reply'
> 00045|nox|DBG:Success receiving in 'receiving features reply'
> 00046|nox|DBG:Success sending in 'receiving ofmp capability reply'
> 00047|nox|DBG:Success receiving in 'receiving ofmp capability reply'
> 00048|nox|WARN:Ignoring features reply received while in state 'receiving
> ofmp capability reply'
> 00049|nox|DBG:Success receiving in 'receiving ofmp capability reply'
> 00050|nox|DBG:Datapath 002320bacaab sent error in response to capability
> reply, assuming no management support
> 00051|nox|DBG:No switch auth module registered, auto-approving switch
> 00052|nox|DBG:Registering switch with DPID = 2320bacaab
> 00053|nox.coreapps.examples.pyswitch|INFO:Switch 2320bacaab has joined the
> network
> 00054|openflow|DBG:stream: idle 15 seconds, sending inactivity probe
> 00055|openflow|DBG:stream: message received, entering CONNECTED
> 00056|openflow-event|DBG:received echo-request event from 002320bacaab
> (len:0)
> 00057|openflow|DBG:stream: idle 15 seconds, sending inactivity probe
> 00058|openflow|DBG:stream: message received, entering CONNECTED
> 00059|openflow-event|DBG:received echo-request event from 002320bacaab
> (len:0)
> 00060|openflow|DBG:stream: idle 15 seconds, sending inactivity probe
> 00061|openflow|DBG:stream: message received, entering CONNECTED
> 00062|openflow-event|DBG:received echo-request event from 002320bacaab
> (len:0)
> 00063|openflow-event|DBG:received echo-request event from 002320bacaab
> (len:0)
> 00064|openflow-event|DBG:received echo-request event from 002320bacaab
> (len:0)
>
> Switch Side:
> [root@npa openflow]# ofprotocol unix:/var/run/test tcp:198.248.242.8
> Apr 24 20:03:30|00001|secchan|INFO|OpenFlow reference implementation version
> 1.0.0
> Apr 24 20:03:30|00002|secchan|INFO|OpenFlow protocol version 0x01
> Apr 24 20:03:30|00003|secchan|WARN|new management connection will receive
> asynchronous messages
> Apr 24 20:03:30|00004|rconn|INFO|unix:/var/run/test: connecting...
> Apr 24 20:03:30|00005|rconn|INFO|tcp:198.248.242.8: connecting...
> Apr 24 20:03:30|00006|rconn|INFO|tcp:198.248.242.8: connected
> Apr 24 20:03:30|00007|rconn|INFO|unix:/var/run/test: connected
> Apr 24 20:03:30|00008|port_watcher|INFO|Datapath id is 002320bacaab
> Apr 24 20:03:30|00009|port_watcher|INFO|Identified data path local port as
> "tap1".
>
> It waits forever...
>
> The two computers couldn't ping each other.
>
> I'm quite new to OpenFlow switch and this is the first time I set up this.
> Can any one kindly tell me if I did the setup correctly and if the version
> number of OpenFlow and NOX I used are compatible? How I can do
> troubleshooting on this?
>
> If you need more details, please let me know.
>
> Thank you very much,
>
> Xuan Liu
> Department of Computer Science & Electrical Engineering
> University of Missouri - Kansas city
> [email protected]
>
> _______________________________________________
> openflow-discuss mailing list
> [email protected]
> https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
>
>
_______________________________________________
openflow-discuss mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to