IFCFG-VXLAN(5)
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 toyesand 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 viaVXLAN_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 is4789while the linux kernel is using port8472. 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 π
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
- opensuse-leap 16.0: wicked 0.6.80-bp160.2.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: wicked 0.6.80-bp160.2.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: wicked 0.6.80-bp160.2.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: wicked 0.6.80-bp160.2.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms