summaryrefslogtreecommitdiff
path: root/Documentation/howto
diff options
context:
space:
mode:
authorCian Ferriter <cian.ferriter@intel.com>2021-09-22 13:00:33 +0100
committerIlya Maximets <i.maximets@ovn.org>2021-10-12 17:49:11 +0200
commitd41cac475c4cabcf2fa9785a5a4f53fc70967571 (patch)
tree18a0a157b0659dbef27e40a53cda9b2a95c7c5d3 /Documentation/howto
parent32899c8247e039c09e5c311ed56f7adcbce4665e (diff)
downloadopenvswitch-d41cac475c4cabcf2fa9785a5a4f53fc70967571.tar.gz
docs/userspace-tunneling: Fix IP addresses for host2.
The IP addresses being recommended for the VM interface and the "remote_ip" on the tunnel port are wrong. The host1 values were being used before. Update to use the host2 values. Signed-off-by: Cian Ferriter <cian.ferriter@intel.com> Acked-by: Kevin Traynor <ktraynor@redhat.com> Acked-by: Paolo Valerio <pvalerio@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'Documentation/howto')
-rw-r--r--Documentation/howto/userspace-tunneling.rst12
1 files changed, 10 insertions, 2 deletions
diff --git a/Documentation/howto/userspace-tunneling.rst b/Documentation/howto/userspace-tunneling.rst
index 4e23b2e0c..31d82fd5e 100644
--- a/Documentation/howto/userspace-tunneling.rst
+++ b/Documentation/howto/userspace-tunneling.rst
@@ -175,8 +175,16 @@ If the tunnel route is missing, adding it now::
$ ovs-appctl ovs/route/add 172.168.1.1/24 br-phy
-Repeat these steps if necessary for `host2`, but using ``192.168.1.1`` and
-``172.168.1.2`` for the VM and tunnel interface IP addresses, respectively.
+Repeat these steps if necessary for `host2`, but using the below commands for
+the VM interface IP address::
+
+ $ ip addr add 192.168.1.2/24 dev eth0
+ $ ip link set eth0 up
+
+And the below command for the the `host2` VXLAN tunnel::
+
+ $ ovs-vsctl add-port br-int vxlan0 \
+ -- set interface vxlan0 type=vxlan options:remote_ip=172.168.1.1
Testing
-------