Hi Leonardo,
Thank you for the info.
For 1, actually 2.1.0 is quite old and since then some major changes
have been applied.
One of the changes from the older version is a driver, and you can't
pass packets from a later hardware (including OpenFlow implementation)
to the host via an older driver.
So you need to have at least 2.1.3 or later version of NetFPGA base
package.
You can upgrade it with "yum update netfpga-base", but please consult
the NetFPGA user guide for detail.
For 4, you need to include all the NetFPGA ports for running
ofdatapath as stated in the installation wiki, so it has to be
ofdatapath punix:/var/run/dp0 -i nf2c0,nf2c1,nf2c2,nf2c3
Just now I did the same trial with your configuration (with NetFPGA
3.0.0 on CentOS5.6, and modifying the argument as above), and the ping
worked fine for me.
If the fix above doesn't work for you, I would use wireshark to
capture local host packets and observe OpenFlow protocols.
Thank you,
Tatsuya
On 2011/10/05, at 14:55, Leonardo Linguaglossa wrote:
Hello. I'm answering your questions:
1. I installed the netfpga-base package with yum, the 2.1.0 version;
2. I followed that tutorial, and the installation went well;
3. For the regression tests I had a problem: I did not have a 4-port
NIC to use with the 4 NetFPGA interfaces, so I tryed the regression
test suite just with two connections: some initial tests went well
without error, some others failed, but I thought this could be because
there were some interfaces not connected;
4. When I say commands, I mean that i launch the controller with
controller ptcp:6633 -v
and then I do the ofdatapath and ofprotocol this way:
ofdatapath punix:/var/run/dp0 -i nf2c2,nf2c3 -v
ofprotocol unix:/var/run/dp0 tcp:localhost:6633 -v
How I said before, the nf2c3 interface is connected with the eth0 of
the pc, and the nf2c2 is connected with the eth1 of the cube itself; I
should have managed to ping the eth1 address with the pc, but i
couldn't.
I hope you could help me.
2011/10/5 Tatsuya Yabe <[email protected]>:
Hi Leonardo,
This is not a direct answer and I need to ask you from the first
step but:
1. What version of "NetFPGA base" do you have? The simplest way is
to check
"CHANGES" file in your netfpga installed directory.
2. I assume you have followed the following wiki for the
installation:
http://www.openflow.org/wk/index.php/CentOS_NetFPGA_Install
3. Did you try the openflow regression test mentioned above to make
sure
your installation was successful?
4. When you mentioned running the commands, can you show me what
exactly did
you run (with arguments)?
Thank you,
Tatsuya Yabe
On 2011/10/05, at 10:16, Leonardo Linguaglossa wrote:
Hello everybody.
I am realizing some experiments with OpenFlow, but I feel that I am
doing something incorrect.
I wanted to use my NetFPGA cube as an OpenFlow Switch with 2 ports,
and trying to communicate with a pc with this configuration:
NetFPGA cube: controller localhost + switch port nf2c3 linked with
eth0 of the PC host, and nf2c2 connected with eth1 of the cube;
Pc host: eth0 connected with nf2c3.
This way, I run all the commands (controller, ofdatapath,
ofprotocol)
and I wanted to ping the eth1 with the eth0 of pc host and vice
versa.
Addresses are:
PC -> eth0:192.168.2.10
CUBE-> eht1:192.168.2.5
The problem is that when I try to ping each other, it says
destination
unreachable.
Am I doing something wrong with this configuration? May be the other
"terminal" to ping can't stay in the same place of the switch, and
so
I need to add another host?
Thank you.
--
Leonardo
_______________________________________________
openflow-discuss mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
--
Leonardo
_______________________________________________
openflow-discuss mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss