The following recipe may configurs a vxlan tunnel between a linux host and an Aruba switch.
vxlan0
with vxlan network identifier 42
, remote tunnel host ip and (default) port 4789: sudo ip link add vxlan0 type vxlan id 42 dev eth1 remote 158.38.153.170 dstport 4789
ip addr add 192.168.0.1/24 dev vxlan0 ip link set up dev vxlan0
(config)# interface 2 untagged vlan 2 (config)# vlan 2 ip address 158.38.153.141
# configure (config)# vxlan enable
(config)# virtual-network 42 2 "Vxlan-net1"
vxlan enable virtual-network 200 50 "vni200" interface tunnel 13 tunnel name "VXLAN_Tunnel02" tunnel mode vxlan tunnel source 10.2.10.2 tunnel destination 10.220.0.2 exit vxlan tunnel 13 overlay-vlan 50