X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=vswitchd%2Fovs-vswitchd.conf.5.in;h=af3ff27f5ec37a3022a81c6590294cac690b5406;hb=8398cf7efc3979cd6c8152915a584c13873ee322;hp=0dbf94dc267b1330c9ab96647587ef3de13b6748;hpb=8fef8c7121222233075a03d57db7e0b48d5f6be5;p=openvswitch diff --git a/vswitchd/ovs-vswitchd.conf.5.in b/vswitchd/ovs-vswitchd.conf.5.in index 0dbf94dc..af3ff27f 100644 --- a/vswitchd/ovs-vswitchd.conf.5.in +++ b/vswitchd/ovs-vswitchd.conf.5.in @@ -266,6 +266,22 @@ a trunk port, the frame's VLAN tag will be set to \fIvid\fR, replacing any existing tag; when it is sent out an implicit VLAN port, the frame will not be tagged. This type of mirroring may be referred to as RSPAN. +.IP +Please note that mirroring to a VLAN can disrupt a network that +contains unmanaged switches. Consider an unmanaged physical switch +with two ports: port 1, connected to an end host, and port 2, +connected to an Open vSwitch configured to mirror received packets +into VLAN 123 on port 2. Suppose that the end host sends a packet on +port 1 that the physical switch forwards to port 2. The Open vSwitch +forwards this packet to its destination and then reflects it back on +port 2 in VLAN 123. This reflected packet causes the unmanaged +physical switch to replace the MAC learning table entry, which +correctly pointed to port 1, with one that incorrectly points to port +2. Afterward, the physical switch will direct packets destined for +the end host to the Open vSwitch on port 2, instead of to the end host +on port 1, disrupting connectivity. If mirroring to a VLAN is desired +in this scenario, then the physical switch must be replaced by one +that learns Ethernet addresses on a per-VLAN basis. .ST "Example" The following \fBovs\-vswitchd\fR configuration copies all frames received on \fBeth1\fR or \fBeth2\fR to \fBeth3\fR.