VXLAN: Difference between revisions
| (2 intermediate revisions by the same user not shown) | |||
| Line 29: | Line 29: | ||
* Get information with <tt>ip -d -s l sh VXLANDEV</tt> | * Get information with <tt>ip -d -s l sh VXLANDEV</tt> | ||
** Note: <tt>ip l s</tt> will ''not'' work, as <tt>s</tt> will be interpreted as <tt>set</tt> | ** Note: <tt>ip l s</tt> will ''not'' work, as <tt>s</tt> will be interpreted as <tt>set</tt> | ||
===[[systemd]]=== | |||
Minimal <tt>systemd-networkd</tt> netdev file: | |||
<pre> | |||
[NetDev] | |||
Name=vx0 | |||
Kind=vxlan | |||
[VXLAN] | |||
VNI=whatever | |||
Independent=yes | |||
</pre> | |||
Without <tt>Independent=yes</tt>, the device must be bound to some other device via a <tt>network</tt> file, or it will be more or less silently ignored by <tt>systemd-networkd</tt>. | |||
===Forwarding tables=== | ===Forwarding tables=== | ||
| Line 41: | Line 55: | ||
===Offloading=== | ===Offloading=== | ||
Several NICs provide hardware offloading functionality, typically configured with <tt>[[ethtool]]</tt>. | Several NICs provide hardware offloading functionality, typically configured with <tt>[[ethtool]]</tt>. VXLAN offloading mainly means that other NIC offloading (UDP checksums, GRO, etc.) can be performed in the presence of VXLAN. | ||
* [https://community.mellanox.com/s/article/vxlan-considerations-for-connectx-3-pro Mellanox Connect-X 3] | * [https://community.mellanox.com/s/article/vxlan-considerations-for-connectx-3-pro Mellanox Connect-X 3] | ||
* Telefonica's "[https://engineering.telefonica.com/maximizing-performance-in-vxlan-overlay-networks-ec35ebe29440 Maximizing Performance in VXLAN Networks]", 2017-01-25 | * Telefonica's "[https://engineering.telefonica.com/maximizing-performance-in-vxlan-overlay-networks-ec35ebe29440 Maximizing Performance in VXLAN Networks]", 2017-01-25 | ||