From 72d55cc77965857d2a404b5fa32715445008aa53 Mon Sep 17 00:00:00 2001 From: rebortg Date: Sun, 19 May 2019 22:23:25 +0200 Subject: add vxlan unicast example --- docs/interfaces/vxlan.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'docs/interfaces') diff --git a/docs/interfaces/vxlan.rst b/docs/interfaces/vxlan.rst index 4755b7c4..16b56b3b 100644 --- a/docs/interfaces/vxlan.rst +++ b/docs/interfaces/vxlan.rst @@ -277,6 +277,28 @@ gateway. You can add an IP to a bridge-group to create a gateway. } } +Unicast VXLAN +^^^^^^^^^^^^^ + +Alternative to multicast, the remote IPv4 address of the VXLAN tunnel can set directly. +Let's change the Multicast example from above: + + +.. code-block:: sh + + # leaf2 and leaf3 + delete interfaces vxlan vxlan241 group '239.0.0.241' + delete interfaces vxlan vxlan241 link 'eth0' + + # leaf2 + set interface vxlan vxlan241 remote 10.1.3.3 + set interface vxlan vxlan241 remote-port 4789 + + # leaf3 + set interface vxlan vxlan241 remote 10.1.2.2 + set interface vxlan vxlan241 remote-port 4789 + + .. target-notes:: -- cgit v1.2.3 From 4638982916765ff04901e9e32fb731a53731e06f Mon Sep 17 00:00:00 2001 From: rebortg Date: Tue, 21 May 2019 20:17:38 +0200 Subject: include default port fix from T1384 --- docs/interfaces/vxlan.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/interfaces') diff --git a/docs/interfaces/vxlan.rst b/docs/interfaces/vxlan.rst index 16b56b3b..c7333b7e 100644 --- a/docs/interfaces/vxlan.rst +++ b/docs/interfaces/vxlan.rst @@ -292,12 +292,12 @@ Let's change the Multicast example from above: # leaf2 set interface vxlan vxlan241 remote 10.1.3.3 - set interface vxlan vxlan241 remote-port 4789 # leaf3 set interface vxlan vxlan241 remote 10.1.2.2 - set interface vxlan vxlan241 remote-port 4789 +The default port udp is set to 8472 by the kernel. +It can be changed with ``set interface vxlan remote-port `` .. target-notes:: -- cgit v1.2.3 From 7d8ef86887192e02c961fee677a9074f8bdf938b Mon Sep 17 00:00:00 2001 From: rebortg Date: Tue, 21 May 2019 20:23:19 +0200 Subject: remove port setter im not sure about this --- docs/interfaces/vxlan.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/interfaces') diff --git a/docs/interfaces/vxlan.rst b/docs/interfaces/vxlan.rst index c7333b7e..75628953 100644 --- a/docs/interfaces/vxlan.rst +++ b/docs/interfaces/vxlan.rst @@ -296,7 +296,7 @@ Let's change the Multicast example from above: # leaf3 set interface vxlan vxlan241 remote 10.1.2.2 -The default port udp is set to 8472 by the kernel. +The default port udp is set to 8472. It can be changed with ``set interface vxlan remote-port `` -- cgit v1.2.3