IFCFG-VXLAN(5)

πŸ“¦ version 0.6.80, in opensuse-leap 16.0

IFCFG-VXLAN(5) β€” Virtual eXtended LAN interface configuration πŸ¦‹βœ¨

Okay bestie, gather round πŸ’… because we're about to talk about ifcfg-vxlan, the manual page that teaches you how to set up a Virtual eXtended LAN interface. No cap, this is the glow-up your network config deserves.


✨ NAME ✨

ifcfg-vxlan β€” Virtual eXtended LAN interface configuration πŸŽ€


🌸 SYNOPSIS 🌸

/etc/sysconfig/network/ifcfg-*

🧚 VXLANs 🧚

So to set up a vxlan interface, you literally need a configuration file that contains the following variable set to yes. It's giving main character energy:

  • VXLAN { yes | no } β€” Set this to yes and you're in business, bestie. πŸ’–

It may also contain the following options. Obsessed with the customization:

  • VXLAN_ID { 0..16777215 } β€” Specifies the VXLAN Network Identifier (Segment Identifier). Like a little ID card for your segment. πŸͺͺ
  • VXLAN_DEVICE { <name> } β€” Specifies the link device name to use for tunnel endpoint communication. Basically, which network buddy is carrying the tunnel vibes. 🫢
  • VXLAN_REMOTE_IP { <IPv4> | <IPv6> } β€” Specifies the unicast or multicast destination IP address. A multicast address requires a link device in via VXLAN_DEVICE. Lowkey important: multicast needs that link device, okay? 😭
  • VXLAN_LOCAL_IP { <IPv4> | <IPv6> } β€” Specifies source IP address to use in outgoing packets. Your outgoing packet's origin story. ✨
  • VXLAN_DST_PORT { 0..65535 } β€” The UDP destination port of the remote tunnel endpoint. IANA assigned port is 4789 while the linux kernel is using port 8472. Not me remembering both 😭
  • VXLAN_SRC_PORT_LOW { 0..65535 } β€” The low end of the UDP source port range to use in communication with tunnel endpoint. πŸ“
  • VXLAN_SRC_PORT_HIGH { 0..65535 } β€” The high end of the UDP source port range to use in communication with tunnel endpoint. Together with the low one, they're giving range. πŸ’…
  • VXLAN_TTL { 0..255 } β€” The TTL aka hop-limit for to use in outgoing packets. Keep those packets from living forever. πŸ’€
  • VXLAN_TOS { 0..255 } β€” The TOS to set in outgoing packets. Type of service, not type of slay. 🌈
  • VXLAN_AGEING { 0 | <secs> } β€” Lifetime in seconds of the FDB entries in the kernel. Let them age gracefully. πŸŽ€
  • VXLAN_MAX_ADDRS { 0 | <max> } β€” Maximal number of addresses/entries in the FDB. Cap the guest list. πŸ‘‘
  • VXLAN_LEARNING { yes | no } β€” Disables to not learn unknown source link layer address. Yes, the double negative is in the original, bestie. I don't make the rules. πŸ™ˆ
  • VXLAN_PROXY { yes | no } β€” Enables ARP/NDP proxy. Acting on behalf of others, iconic. ⭐
  • VXLAN_RSC { yes | no } β€” Enables route short circuit. Taking the shortcut, we love efficiency. πŸ”₯
  • VXLAN_L2MISS { yes | no } β€” Enables netlink link-layer address miss notification generation. It's giving "hey I didn't find that" energy. πŸ“£
  • VXLAN_L3MISS { yes | no } β€” Enables netlink ip address miss notification generation. Same but for IP addresses. πŸ’Œ
  • VXLAN_UDP_CSUM { yes | no } β€” Enables to calculate UDP checksums. Checksums are the vibe check for your packets. βœ…
  • VXLAN_UDP6_ZERO_CSUM_TX { yes | no } β€” Enables to calculate UDP checksums. (Yes, the original says the same thing here, I'm just the messenger bestie 😭)
  • VXLAN_UDP6_ZERO_CSUM_RX { yes | no } β€” Specified if UDP checksums are received. On the receiving end of things. 🫢
  • VXLAN_REM_CSUM_TX { yes | no } β€” Enables/disables transmit checksum offloading. Offload that work, periodt. πŸ’…
  • VXLAN_REM_CSUM_RX { yes | no } β€” Enables/disables receive checksum offloading. Receiving the offloaded vibes. 🌸
  • VXLAN_REM_CSUM_PARTIAL { yes | no } β€” Disables partial gro checksum handling. Note: disables, not enables. Read carefully bestie. 🧚
  • VXLAN_COLLECT_METADATA { yes | no } β€” Whether to collect metadata on external control plane of internal FDB. Metadata collection is very main character. πŸ¦‹
  • VXLAN_GBP { yes | no } β€” Enables Group Policy extension. Group policy but make it fashion. πŸ’œ

An ifcfg- file for the interface specified by VXLAN_DEVICE must also be provided. In the most basic case, it should at least contain STARTMODE='auto'. Don't skip this step, bestie, it's literally required. 😀

The rest of the VXLAN interface IP and routes configuration do not differ from ordinary interfaces. See also man ifcfg and man routes for details. We stan consistency. ✨


πŸ’– EXAMPLES πŸ’–

Sets up vxlan0 vxlan interface on top of eth0:

ifcfg-vxlan0
   STARTMODE='auto'
   VXLAN='yes'
   IPADDR='192.168.3.27/24'

Sets up vxlan0 vxlan interface with an ID/VNI 1 and linked to the eth0 device:

ifcfg-vxlan0
   STARTMODE='auto'
   VXLAN='yes'
   VXLAN_DEVICE='eth0'

Copyright (C) 2017 SUSE LINUX, Nuernberg, Germany.


πŸ’€ BUGS πŸ’€

Please report bugs as described at <https://bugs.opensuse.org>. Don't suffer in silence, bestie. 🫢


🌟 AUTHORS 🌟

Marius Tomaschewski β€” the icon who made this possible. πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

ifcfg(5), routes(5), wicked(8).


This page is from wicked, April 2017, and it's still serving looks. Stay config'd, bestie. πŸŽ€βœ¨
πŸ“¦ where this page comes from