]> git.proxmox.com Git - ovs.git/commitdiff
faq: Fix typo in VLAN 9 configuration examples.
authorchrone <1284195+chrone81@users.noreply.github.com>
Thu, 15 Nov 2018 07:54:39 +0000 (14:54 +0700)
committerBen Pfaff <blp@ovn.org>
Thu, 15 Nov 2018 14:33:22 +0000 (06:33 -0800)
Fixed typo on the VLAN 9 configuration example where the device name should
be vlan9 instead of vlan0.

Signed-off-by: Charles Alva <charlesalva@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Documentation/faq/vlan.rst

index 13d3cde4502dc1fb19992f95217568ca5541185c..80e6660f5e77683a0f395a8a800348a785b81f12 100644 (file)
@@ -191,7 +191,7 @@ Q: Can I configure an IP address on a VLAN?
         $ ovs-vsctl add-port br0 vlan9 tag=9 \
             -- set interface vlan9 type=internal
         $ ip addr add 192.168.0.7/24 dev vlan9
-        $ ip link set vlan0 up
+        $ ip link set vlan9 up
 
     See also the following question.
 
@@ -203,7 +203,7 @@ Q: I configured one IP address on VLAN 0 and another on VLAN 9, like this::
     $ ip link set br0 up
     $ ovs-vsctl add-port br0 vlan9 tag=9 -- set interface vlan9 type=internal
     $ ip addr add 192.168.0.9/24 dev vlan9
-    $ ip link set vlan0 up
+    $ ip link set vlan9 up
 
 but other hosts that are only on VLAN 0 can reach the IP address configured on
 VLAN 9.  What's going on?