nettmus:vxlan_config_example
                Differences
This shows you the differences between two versions of the page.
| nettmus:vxlan_config_example [2019/02/07 13:01] – created 8a1a1133-76ab-498f-a12b-735b77fa7973 | nettmus:vxlan_config_example [2019/02/07 14:46] (current) – 8a1a1133-76ab-498f-a12b-735b77fa7973 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Vxlan config example ====== | ====== Vxlan config example ====== | ||
| + | |||
| The following recipe may configurs a vxlan tunnel between a linux host and an Aruba switch. | The following recipe may configurs a vxlan tunnel between a linux host and an Aruba switch. | ||
| ===== On Ubuntu linux host ===== | ===== On Ubuntu linux host ===== | ||
| * ([[ https:// | * ([[ https:// | ||
| - |  | + | |
| - | * | + |  | 
| + | sudo ip link add vxlan0 type vxlan id 42 dev eth1 remote 158.38.153.170 | ||
| + | </ | ||
| + | |||
| + | * Assign ip vtep address and turn up interface: < | ||
| + | ip addr add 192.168.0.1/ | ||
| + | ip link set up dev vxlan0 | ||
| + | </ | ||
| ===== On Aruba 2930F switch ===== | ===== On Aruba 2930F switch ===== | ||
| - | * Enter configuration: | + |  | 
| + | * Need vlan with static IP, i.e. vlan 2 for port 2 with IP < | ||
| + | (config)# interface 2 untagged vlan 2 | ||
| + | (config)# vlan 2 ip address 158.38.153.141 | ||
| + | </ | ||
| + | * (The IP set above cannot be on a the same subnet as other IP's set in the switch.) | ||
| + | |||
| + |  | ||
| + | # configure | ||
| + | (config)# vxlan enable | ||
| + | </ | ||
| - | * Enable vxlan tunnels: | + | * Create virtual network an associate network id 42 and Vlan 2 < | 
| - | * | + | (config)# | 
| + | </ | ||
| + | * Untested example commands from [[ https:// | ||
| + | vxlan enable | ||
| + | virtual-network 200 50 " | ||
| + | interface tunnel 13 | ||
| + | tunnel name " | ||
| + | tunnel mode vxlan | ||
| + | tunnel source 10.2.10.2 | ||
| + | tunnel destination 10.220.0.2 | ||
| + | exit | ||
| + | vxlan tunnel 13 overlay-vlan 50 | ||
| + | </ | ||
nettmus/vxlan_config_example.1549544471.txt.gz · Last modified:  by 8a1a1133-76ab-498f-a12b-735b77fa7973
                
                