X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=INSTALL.userspace;h=6e6fcd49a78ab2d6d11af7635e54d39decb38c0f;hb=945cad7fb1f37dcf68cab62ccf72970bcd12fa50;hp=a0c6a266c3b022ecd265a8afa937d6abea8e79de;hpb=d377243b8557ae8e6c1d374d76b6ee29fd61ceb4;p=openvswitch diff --git a/INSTALL.userspace b/INSTALL.userspace index a0c6a266..6e6fcd49 100644 --- a/INSTALL.userspace +++ b/INSTALL.userspace @@ -31,19 +31,21 @@ 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 ----------------------------- +Using the Userspace Datapath with ovs-vswitchd +---------------------------------------------- -To use ovs-vswitchd in userspace mode, give the bridge a name that -begins with "netdev:" in the configuration file. For example: +To use ovs-vswitchd in userspace mode, create a bridge with datapath_type +"netdev" in the configuration database. For example: - bridge.netdev:br0.port=eth0 - bridge.netdev:br0.port=eth1 - bridge.netdev:br0.port=eth2 + ovs-vsctl add-br br0 + ovs-vsctl set bridge br0 datapath_type=netdev + ovs-vsctl add-port br0 eth0 + ovs-vsctl add-port br0 eth1 + ovs-vsctl add-port br0 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. +named the same as the bridge, as well as for each configured internal +interface. Bug Reporting -------------