All,
For both openssl and the kernel-headers, I have the same versions installed
as the ones given by the two links below and I'm still getting the same errors.
I read somewhere online that the second error (the one where the "build" folder
does not exist) occurs because I have not built my kernel. Is that possible?
--Sydney
----- Original Message -----
From: "Justin Pettit" <[email protected]>
To: "Ali Sydney" <[email protected]>
Cc: "Openvswitch" <[email protected]>
Sent: Monday, December 21, 2009 6:13:52 PM GMT -05:00 US/Canada Eastern
Subject: Re: [ovs-discuss] Assistance with setting-up Open vSwitch
On Dec 21, 2009, at 2:31 PM, Ali Sydney wrote:
ERROR 1.
checking for SSL... no
configure: WARNING: Cannot find libssl:
No package 'libssl' found
OpenFlow connections over SSL will not be supported.
ERROR 2.
checking for /lib/modules/2.6.27.41-170.2.117.fc10.x86_64/build directory... no
configure: error: source dir /lib/modules/2.6.27.41-170.2.117.fc10.x86_64/build
doesn't exist
Now I know that OpenSSL (The package which contains libssl) is installed
(because I have checked on the installed version "OpenSSL 0.9.8g 19 Oct 2007").
Can you please provide some idea as to why I would be encountering this
problem? Also, is it a MUST to install a "kernel" based switch to obtain
MAXIMUM switch performance?
My guess is that you don't have the OpenSSL development package installed (this
contains headers and libraries that we need to link against). I don't use
Fedora, but a quick search indicates that the package is called
"openssl-devel". This may be the one you want:
http://tinyurl.com/yjdyrcy
On the kernel issue, my guess is that you don't have the kernel headers
installed. I think this is the package you likely want:
http://tinyurl.com/yzqh5of
For maximum performance, you do need the kernel-based switch. If you run it
from userspace, then every packet has to make the kernel/userspace transition.
4. To bypass these 2 errors, I simply run "./configure," then "make," and
"make install." Everything seems to have worked fine.
Right, this bypasses building the kernel module and SSL support...
5. Now, I have setup a simple configuration file with a bridge named "lucia"
which has three external ports.
bridge.lucia.port=eth0
bridge.lucia.port=eth1
bridge.lucia.port=eth2
If you're not going to use the kernel module, you need to use a slightly
different configuration. It's described below:
http://tinyurl.com/yfu7abw
Note that you need to be working from the master branch in order to have
userspace support. The tarballs we've been putting up on the site are from the
"citrix" branch. You can get a snapshot of the master branch by clicking here:
http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=snapshot;sf=tgz
6. Below is the 4 final lines in the output of the command "#ovs-vswitchd":
Dec 21 16:14:46|00514|dpif|WARN|/dev/net/dp255: open failed (No such device or
address)
Dec 21 16:14:46|00515|bridge|ERR|failed to delete datapath dp255: No such
device or address
Dec 21 16:14:46|00516|dpif|WARN|/dev/net/dp0: open failed (No such device or
address)
Dec 21 16:14:46|00517|bridge|ERR|failed to create datapath lucia: No such
device or address
How do I define the device/bridge "lucia" and its 3 external ports (eth0,
eth1, eth2)?
If you follow those userspace instructions (or build the kernel module), you
shouldn't see these errors.
--Justin
----- Forwarded Message -----
From: "Ali Sydney" <[email protected]>
To: "Openvswitch" <[email protected]>
Sent: Monday, December 21, 2009 5:31:57 PM GMT -05:00 US/Canada Eastern
Subject: Assistance with setting-up Open vSwitch
All,
I have just started experimenting with open vswitch and my objective is to
use a linux host as an openflow switch and manage this switch using an openflow
controller. However, I am having difficulties building the switch. Please take
note of the following 6 points and I would appreciate it if you could provide
responses accordingly:
Note: All points are related to the document "INSTALL.Linux" found in
openvswitch-0.90.7.tar.gz file.
1. I am running Fedora 10 (2.6.27.41-170.2.117.fc10.x86_64)
2. I am pretty sure that I have all the requirements from the "INSTALL.Linux"
file
3. From the "Building and Installing Open vSwitch for Linux" section I
attempted to run the following configuration command:
./configure --with-l26=/lib/modules/`uname -r`/build --enable-ssl=yes
I am assuming that this command allows me to obtain a kernel based switch which
will be managed by an openflow controller. However, below is a snapshot of the
2 errors obtained:
ERROR 1.
checking for SSL... no
configure: WARNING: Cannot find libssl:
No package 'libssl' found
OpenFlow connections over SSL will not be supported.
ERROR 2.
checking for /lib/modules/2.6.27.41-170.2.117.fc10.x86_64/build directory... no
configure: error: source dir /lib/modules/2.6.27.41-170.2.117.fc10.x86_64/build
doesn't exist
Now I know that OpenSSL (The package which contains libssl) is installed
(because I have checked on the installed version "OpenSSL 0.9.8g 19 Oct 2007").
Can you please provide some idea as to why I would be encountering this
problem? Also, is it a MUST to install a "kernel" based switch to obtain
MAXIMUM switch performance?
4. To bypass these 2 errors, I simply run "./configure," then "make," and "make
install." Everything seems to have worked fine.
5. Now, I have setup a simple configuration file with a bridge named "lucia"
which has three external ports.
bridge.lucia.port=eth0
bridge.lucia.port=eth1
bridge.lucia.port=eth2
6. Below is the 4 final lines in the output of the command "#ovs-vswitchd":
Dec 21 16:14:46|00514|dpif|WARN|/dev/net/dp255: open failed (No such device or
address)
Dec 21 16:14:46|00515|bridge|ERR|failed to delete datapath dp255: No such
device or address
Dec 21 16:14:46|00516|dpif|WARN|/dev/net/dp0: open failed (No such device or
address)
Dec 21 16:14:46|00517|bridge|ERR|failed to create datapath lucia: No such
device or address
How do I define the device/bridge "lucia" and its 3 external ports (eth0, eth1,
eth2)?
Thanks for your assistance.
Best Regards,
Sydney
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org