forked from openvswitch/ovs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
69 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
Using Open vSwitch without kernel support | ||
========================================= | ||
|
||
Open vSwitch can operate, at a cost in performance, entirely in | ||
userspace, without assistance from a kernel module. This file | ||
explains how to install Open vSwitch in such a mode. | ||
|
||
The userspace-only mode of Open vSwitch is considered experimental. | ||
It has not been thoroughly tested. | ||
|
||
This version of Open vSwitch should be built manually with "configure" | ||
and "make". Debian packaging for Open vSwitch is also included, but | ||
it has not been recently tested, and so Debian packages are not a | ||
recommended way to use this version of Open vSwitch. | ||
|
||
Building and Installing | ||
----------------------- | ||
|
||
The requirements and procedure for building, installing, and | ||
configuring Open vSwitch are the same as those given in INSTALL.Linux. | ||
You may omit configuring, building, and installing the kernel module, | ||
and the related requirements. | ||
|
||
On Linux, the userspace switch additionally requires the kernel | ||
TUN/TAP driver to be available, either built into the kernel or loaded | ||
as a module. If you are not sure, check for a directory named | ||
/sys/class/misc/tun. If it does not exist, then attempt to load the | ||
module with "modprobe tun". | ||
|
||
The tun device must also exist as /dev/net/tun. If it does not exist, | ||
then create /dev/net (if necessary) with "mkdir /dev/net", then create | ||
/dev/net/tun with "mknod /dev/net/tun c 10 200". | ||
|
||
Using the Userspace Datapath | ||
---------------------------- | ||
|
||
To use ovs-vswitchd in userspace mode, give the bridge a name that | ||
begins with "netdev:" in the configuration file. For example: | ||
|
||
bridge.netdev:br0.port=eth0 | ||
bridge.netdev:br0.port=eth1 | ||
bridge.netdev:br0.port=eth2 | ||
|
||
ovs-vswitchd will create a TAP device as the bridge's local interface, | ||
named the same as the bridge minus the "netdev:" prefix, as well as | ||
for each configured internal interface. | ||
|
||
Bug Reporting | ||
------------- | ||
|
||
Please report problems to [email protected]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters