Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
97 lines (96 sloc) 3.23 KB
.de IQ
. br
. ns
. IP "\\$1"
.TH ovs\-vlan\-test 1 "December 2010" "Open vSwitch" "Open vSwitch Manual"
\fBovs\-vlan\-test\fR \- check Linux drivers for problems with vlan traffic
\fBovs\-vlan\-test\fR [\fB\-s\fR | \fB\-\-server\fR] \fIcontrol_ip\fR \fIvlan_ip\fR
.so lib/
The \fBovs\-vlan\-test\fR utility has some limitations, for example, it does
not use TCP in its tests. Also it does not take into account MTU to detect
potential edge cases. To overcome those limitations a new tool was
developed \- \fBovs\-test\fR. \fBovs\-test\fR is currently supported only
on Debian so, if possible try to use that on instead of \fBovs\-vlan\-test\fR.
The \fBovs\-vlan\-test\fR program may be used to check for problems sending
802.1Q traffic which may occur when running Open vSwitch. These problems can
occur when Open vSwitch is used to send 802.1Q traffic through physical
interfaces running certain drivers of certain Linux kernel versions. To run a
test, configure Open vSwitch to tag traffic originating from \fIvlan_ip\fR and
forward it out the target interface. Then run the \fBovs\-vlan\-test\fR in
client mode connecting to an \fBovs\-vlan\-test\fR server.
\fBovs\-vlan\-test\fR will display "OK" if it did not detect problems.
Some examples of the types of problems that may be encountered are:
.so utilities/
.SS "Client Mode"
An \fBovs\-vlan\-test\fR client may be run on a host to check for VLAN
connectivity problems. The client must be able to establish HTTP connections
with an \fBovs\-vlan\-test\fR server located at the specified \fIcontrol_ip\fR
address. UDP traffic sourced at \fIvlan_ip\fR should be tagged and directed out
the interface whose connectivity is being tested.
.SS "Server Mode"
To conduct tests, an \fBovs\-vlan\-test\fR server must be running on a host
known not to have VLAN connectivity problems. The server must have a
\fIcontrol_ip\fR on a non\-VLAN network which clients can establish
connectivity with. It must also have a \fIvlan_ip\fR address on a VLAN network
which clients will use to test their VLAN connectivity. Multiple clients may
test against a single \fBovs\-vlan\-test\fR server concurrently.
.IP "\fB\-s\fR"
.IQ "\fB\-\-server\fR"
Run in server mode.
.so lib/
Display the Linux kernel version and driver of \fBeth1\fR.
.B uname \-r
.B ethtool \-i eth1
Set up a bridge which forwards traffic originating from \fB1.2.3.4\fR out
\fBeth1\fR with VLAN tag 10.
.B ovs\-vsctl \-\- add\-br vlan\-br \(rs
.B \-\- add\-port vlan\-br eth1 \(rs
.B \-\- add\-port vlan\-br vlan\-br\-tag tag=10 \(rs
.B \-\- set Interface vlan\-br\-tag type=internal
.B ifconfig vlan\-br\-tag up
Run an \fBovs\-vlan\-test\fR server listening for client control traffic on port 8080 and VLAN traffic on the default port of
.B ovs\-vlan\-test \-s
Run an \fBovs\-vlan\-test\fR client with a control server located at port 8080 and a local VLAN ip of
.B ovs\-vlan\-test
.BR ovs\-vswitchd (8),
.BR ovs\-ofctl (8),
.BR ovs\-vsctl (8),
.BR ovs\-test (8),
.BR ethtool (8),
.BR uname (1)
Something went wrong with that request. Please try again.