{
    "mode": "man",
    "parameter": "systemd.netdev",
    "section": "5",
    "url": "https://www.chedong.com/phpMan.php/man/systemd.netdev/5/json",
    "generated": "2026-08-14T03:25:55Z",
    "synopsis": "netdev.netdev",
    "sections": {
        "NAME": {
            "content": "systemd.netdev - Virtual Network Device configuration\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "netdev.netdev\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "A plain ini-style text file that encodes configuration about a virtual network device, used\nby systemd-networkd(8). See systemd.syntax(7) for a general description of the syntax.\n\nThe main Virtual Network Device file must have the extension .netdev; other extensions are\nignored. Virtual network devices are created as soon as networkd is started. If a netdev with\nthe specified name already exists, networkd will use that as-is rather than create its own.\nNote that the settings of the pre-existing netdev will not be changed by networkd.\n\nThe .netdev files are read from the files located in the system network directory\n/usr/lib/systemd/network and /usr/local/lib/systemd/network, the volatile runtime network\ndirectory /run/systemd/network and the local administration network directory\n/etc/systemd/network. All configuration files are collectively sorted and processed in\nalphanumeric order, regardless of the directories in which they live. However, files with\nidentical filenames replace each other. It is recommended that each filename is prefixed with\na number smaller than \"70\" (e.g.  10-vlan.netdev). Otherwise, .netdev files generated by\nsystemd-network-generator.service(8) may take precedence over user configured files. Files in\n/etc/ have the highest priority, files in /run/ take precedence over files with the same name\nin /usr/lib/. This can be used to override a system-supplied configuration file with a local\nfile if needed. As a special case, an empty file (file size 0) or symlink with the same name\npointing to /dev/null disables the configuration file entirely (it is \"masked\").\n\nAlong with the netdev file foo.netdev, a \"drop-in\" directory foo.netdev.d/ may exist. All\nfiles with the suffix \".conf\" from this directory will be merged in the alphanumeric order\nand parsed after the main file itself has been parsed. This is useful to alter or add\nconfiguration settings, without having to modify the main configuration file. Each drop-in\nfile must have appropriate section headers.\n\nIn addition to /etc/systemd/network, drop-in \".d\" directories can be placed in\n/usr/lib/systemd/network or /run/systemd/network directories. Drop-in files in /etc/ take\nprecedence over those in /run/ which in turn take precedence over those in /usr/lib/. Drop-in\nfiles under any of these directories take precedence over the main netdev file wherever\nlocated. (Of course, since /run/ is temporary and /usr/lib/ is for vendors, it is unlikely\ndrop-ins should be used in either of those places.)\n",
            "subsections": []
        },
        "SUPPORTED NETDEV KINDS": {
            "content": "The following kinds of virtual network devices may be configured in .netdev files:\n",
            "subsections": [
                {
                    "name": "Table 1. Supported kinds of virtual network devices",
                    "content": "┌───────────┬───────────────────────────────────┐\n│ Kind      │ Description                       │\n├───────────┼───────────────────────────────────┤\n│ bond      │ A bond device is an aggregation   │\n│           │ of all its slave devices. See     │\n│           │ \u001b[34mLinux Ethernet Bonding Driver     \u001b[0m│\n│           │ \u001b[34mHOWTO[1] for details.             │\n├───────────┼───────────────────────────────────┤\n│ bridge    │ A bridge device is a software     │\n│           │ switch, and each of its slave     │\n│           │ devices and the bridge itself are │\n│           │ ports of the switch.              │\n├───────────┼───────────────────────────────────┤\n│ dummy     │ A dummy device drops all packets  │\n│           │ sent to it.                       │\n├───────────┼───────────────────────────────────┤\n│ gre       │ A Level 3 GRE tunnel over IPv4.   │\n│           │ See \u001b[34mRFC 2784[2] for details. Name │\n│           │ \"gre0\" should not be used, as the │\n│           │ kernel creates a device with this │\n│           │ name when the corresponding       │\n│           │ kernel module is loaded.          │\n├───────────┼───────────────────────────────────┤\n│ gretap    │ A Level 2 GRE tunnel over IPv4.   │\n│           │ Name \"gretap0\" should not be      │\n│           │ used, as the kernel creates a     │\n│           │ device with this name when the    │\n│           │ corresponding kernel module is    │\n│           │ loaded.                           │\n├───────────┼───────────────────────────────────┤\n│ erspan    │ ERSPAN mirrors traffic on one or  │\n│           │ more source ports and delivers    │\n│           │ the mirrored traffic to one or    │\n│           │ more destination ports on another │\n│           │ switch. The traffic is            │\n│           │ encapsulated in generic routing   │\n│           │ encapsulation (GRE) and is        │\n│           │ therefore routable across a layer │\n│           │ 3 network between the source      │\n│           │ switch and the destination        │\n│           │ switch. Name \"erspan0\" should not │\n│           │ be used, as the kernel creates a  │\n│           │ device with this name when the    │\n│           │ corresponding kernel module is    │\n│           │ loaded.                           │\n├───────────┼───────────────────────────────────┤\n│ ip6gre    │ A Level 3 GRE tunnel over IPv6.   │\n├───────────┼───────────────────────────────────┤\n│ ip6tnl    │ An IPv4 or IPv6 tunnel over IPv6  │\n├───────────┼───────────────────────────────────┤\n│ ip6gretap │ A Level 2 GRE tunnel over IPv6.   │\n├───────────┼───────────────────────────────────┤\n│ ipip      │ An IPv4 over IPv4 tunnel.         │\n├───────────┼───────────────────────────────────┤\n│ ipvlan    │ An IPVLAN device is a stacked     │\n│           │ device which receives packets     │\n│           │ from its underlying device based  │\n│           │ on IP address filtering.          │\n├───────────┼───────────────────────────────────┤\n│ ipvtap    │ An IPVTAP device is a stacked     │\n│           │ device which receives packets     │\n│           │ from its underlying device based  │\n│           │ on IP address filtering and can   │\n│           │ be accessed using the tap user    │\n│           │ space interface.                  │\n├───────────┼───────────────────────────────────┤\n│ macvlan   │ A macvlan device is a stacked     │\n│           │ device which receives packets     │\n│           │ from its underlying device based  │\n│           │ on MAC address filtering.         │\n├───────────┼───────────────────────────────────┤\n│ macvtap   │ A macvtap device is a stacked     │\n│           │ device which receives packets     │\n│           │ from its underlying device based  │\n│           │ on MAC address filtering.         │\n├───────────┼───────────────────────────────────┤\n│ sit       │ An IPv6 over IPv4 tunnel.         │\n├───────────┼───────────────────────────────────┤\n│ tap       │ A persistent Level 2 tunnel       │\n│           │ between a network device and a    │\n│           │ device node.                      │\n├───────────┼───────────────────────────────────┤\n│ tun       │ A persistent Level 3 tunnel       │\n│           │ between a network device and a    │\n│           │ device node.                      │\n├───────────┼───────────────────────────────────┤\n│ veth      │ An Ethernet tunnel between a pair │\n│           │ of network devices.               │\n├───────────┼───────────────────────────────────┤\n│ vlan      │ A VLAN is a stacked device which  │\n│           │ receives packets from its         │\n│           │ underlying device based on VLAN   │\n│           │ tagging. See \u001b[34mIEEE 802.1Q[3] for   │\n│           │ details.                          │\n├───────────┼───────────────────────────────────┤\n│ vti       │ An IPv4 over IPSec tunnel.        │\n├───────────┼───────────────────────────────────┤\n│ vti6      │ An IPv6 over IPSec tunnel.        │\n├───────────┼───────────────────────────────────┤\n│ vxlan     │ A virtual extensible LAN (vxlan), │\n│           │ for connecting Cloud computing    │\n│           │ deployments.                      │\n├───────────┼───────────────────────────────────┤\n│ geneve    │ A GEneric NEtwork Virtualization  │\n│           │ Encapsulation (GENEVE) netdev     │\n│           │ driver.                           │\n├───────────┼───────────────────────────────────┤\n│ l2tp      │ A Layer 2 Tunneling Protocol      │\n│           │ (L2TP) is a tunneling protocol    │\n│           │ used to support virtual private   │\n│           │ networks (VPNs) or as part of the │\n│           │ delivery of services by ISPs. It  │\n│           │ does not provide any encryption   │\n│           │ or confidentiality by itself      │\n├───────────┼───────────────────────────────────┤\n│ macsec    │ Media Access Control Security     │\n│           │ (MACsec) is an 802.1AE IEEE       │\n│           │ industry-standard security        │\n│           │ technology that provides secure   │\n│           │ communication for all traffic on  │\n│           │ Ethernet links. MACsec provides   │\n│           │ point-to-point security on        │\n│           │ Ethernet links between directly   │\n│           │ connected nodes and is capable of │\n│           │ identifying and preventing most   │\n│           │ security threats.                 │\n├───────────┼───────────────────────────────────┤\n│ vrf       │ A Virtual Routing and Forwarding  │\n│           │ (\u001b[34mVRF[4]) interface to create      │\n│           │ separate routing and forwarding   │\n│           │ domains.                          │\n├───────────┼───────────────────────────────────┤\n│ vcan      │ The virtual CAN driver (vcan).    │\n│           │ Similar to the network loopback   │\n│           │ devices, vcan offers a virtual    │\n│           │ local CAN interface.              │\n├───────────┼───────────────────────────────────┤\n│ vxcan     │ The virtual CAN tunnel driver     │\n│           │ (vxcan). Similar to the virtual   │\n│           │ ethernet driver veth, vxcan       │\n│           │ implements a local CAN traffic    │\n│           │ tunnel between two virtual CAN    │\n│           │ network devices. When creating a  │\n│           │ vxcan, two vxcan devices are      │\n│           │ created as pair. When one end     │\n│           │ receives the packet it appears on │\n│           │ its pair and vice versa. The      │\n│           │ vxcan can be used for cross       │\n│           │ namespace communication.          │\n├───────────┼───────────────────────────────────┤\n│ wireguard │ WireGuard Secure Network Tunnel.  │\n├───────────┼───────────────────────────────────┤\n│ nlmon     │ A Netlink monitor device. Use an  │\n│           │ nlmon device when you want to     │\n│           │ monitor system Netlink messages.  │\n├───────────┼───────────────────────────────────┤\n│ fou       │ Foo-over-UDP tunneling.           │\n├───────────┼───────────────────────────────────┤\n│ xfrm      │ A virtual tunnel interface like   │\n│           │ vti/vti6 but with several         │\n│           │ advantages.                       │\n├───────────┼───────────────────────────────────┤\n│ ifb       │ The Intermediate Functional Block │\n│           │ (ifb) pseudo network interface    │\n│           │ acts as a QoS concentrator for    │\n│           │ multiple different sources of     │\n│           │ traffic.                          │\n├───────────┼───────────────────────────────────┤\n│ bareudp   │ Bare UDP tunnels provide a        │\n│           │ generic L3 encapsulation support  │\n│           │ for tunnelling different L3       │\n│           │ protocols like MPLS, IP etc.      │\n│           │ inside of a UDP tunnel.           │\n├───────────┼───────────────────────────────────┤\n│ batadv    │ \u001b[34mB.A.T.M.A.N. Advanced[5] is a     │\n│           │ routing protocol for multi-hop    │\n│           │ mobile ad-hoc networks which      │\n│           │ operates on layer 2.              │\n├───────────┼───────────────────────────────────┤\n│ ipoib     │ An IP over Infiniband             │\n│           │ subinterface.                     │\n├───────────┼───────────────────────────────────┤\n│ wlan      │ A virtual wireless network (WLAN) │\n│           │ interface.                        │\n└───────────┴───────────────────────────────────┘\n\n\n[MATCH] SECTION OPTIONS\nA virtual network device is only created if the [Match] section matches the current\nenvironment, or if the section is empty. The following keys are accepted:\n\nHost=\nMatches against the hostname or machine ID of the host. See ConditionHost= in\nsystemd.unit(5) for details. When prefixed with an exclamation mark (\"!\"), the result is\nnegated. If an empty string is assigned, the previously assigned value is cleared.\n\nAdded in version 211.\n\nVirtualization=\nChecks whether the system is executed in a virtualized environment and optionally test\nwhether it is a specific implementation. See ConditionVirtualization= in systemd.unit(5)\nfor details. When prefixed with an exclamation mark (\"!\"), the result is negated. If an\nempty string is assigned, the previously assigned value is cleared.\n\nAdded in version 211.\n\nKernelCommandLine=\nChecks whether a specific kernel command line option is set. See\nConditionKernelCommandLine= in systemd.unit(5) for details. When prefixed with an\nexclamation mark (\"!\"), the result is negated. If an empty string is assigned, the\npreviously assigned value is cleared.\n\nAdded in version 211.\n\nKernelVersion=\nChecks whether the kernel version (as reported by uname -r) matches a certain expression.\nSee ConditionKernelVersion= in systemd.unit(5) for details. When prefixed with an\nexclamation mark (\"!\"), the result is negated. If an empty string is assigned, the\npreviously assigned value is cleared.\n\nAdded in version 237.\n\nCredential=\nChecks whether the specified credential was passed to the systemd-udevd.service service.\nSee \u001b[34mSystem and Service Credentials[6] for details. When prefixed with an exclamation mark\n(\"!\"), the result is negated. If an empty string is assigned, the previously assigned\nvalue is cleared.\n\nAdded in version 252.\n\nArchitecture=\nChecks whether the system is running on a specific architecture. See\nConditionArchitecture= in systemd.unit(5) for details. When prefixed with an exclamation\nmark (\"!\"), the result is negated. If an empty string is assigned, the previously\nassigned value is cleared.\n\nAdded in version 211.\n\nFirmware=\nChecks whether the system is running on a machine with the specified firmware. See\nConditionFirmware= in systemd.unit(5) for details. When prefixed with an exclamation mark\n(\"!\"), the result is negated. If an empty string is assigned, the previously assigned\nvalue is cleared.\n\nAdded in version 249.\n\n[NETDEV] SECTION OPTIONS\nThe [NetDev] section accepts the following keys:\n\nDescription=\nA free-form description of the netdev.\n\nAdded in version 215.\n\nName=\nThe interface name used when creating the netdev. This setting is compulsory.\n\nAdded in version 211.\n\nKind=\nThe netdev kind. This setting is compulsory. See the \"Supported netdev kinds\" section for\nthe valid keys.\n\nAdded in version 211.\n\nMTUBytes=\nThe maximum transmission unit in bytes to set for the device. The usual suffixes K, M, G\nare supported and are understood to the base of 1024. For \"tun\" or \"tap\" devices,\nMTUBytes= setting is not currently supported in [NetDev] section. Please specify it in\n[Link] section of corresponding systemd.network(5) files.\n\nAdded in version 215.\n\nMACAddress=\nSpecifies the MAC address to use for the device, or takes the special value \"none\". When\n\"none\", systemd-networkd does not request the MAC address for the device, and the kernel\nwill assign a random MAC address. For \"tun\", \"tap\", or \"l2tp\" devices, the MACAddress=\nsetting in the [NetDev] section is not supported and will be ignored. Please specify it\nin the [Link] section of the corresponding systemd.network(5) file. If this option is not\nset, \"vlan\" device inherits the MAC address of the master interface. For other kind of\nnetdevs, if this option is not set, then the MAC address is generated based on the\ninterface name and the machine-id(5).\n\nNote, even if \"none\" is specified, systemd-udevd will assign the persistent MAC address\nfor the device, as 99-default.link has MACAddressPolicy=persistent. So, it is also\nnecessary to create a custom .link file for the device, if the MAC address assignment is\nnot desired.\n\nAdded in version 215.\n\n[BRIDGE] SECTION OPTIONS\nThe [Bridge] section only applies for netdevs of kind \"bridge\", and accepts the following\nkeys:\n\nHelloTimeSec=\nHelloTimeSec specifies the number of seconds between two hello packets sent out by the\nroot bridge and the designated bridges. Hello packets are used to communicate information\nabout the topology throughout the entire bridged local area network.\n\nAdded in version 227.\n\nMaxAgeSec=\nMaxAgeSec specifies the number of seconds of maximum message age. If the last seen\n(received) hello packet is more than this number of seconds old, the bridge in question\nwill start the takeover procedure in attempt to become the Root Bridge itself.\n\nAdded in version 227.\n\nForwardDelaySec=\nForwardDelaySec specifies the number of seconds spent in each of the Listening and\nLearning states before the Forwarding state is entered.\n\nAdded in version 227.\n\nAgeingTimeSec=\nThis specifies the number of seconds a MAC Address will be kept in the forwarding\ndatabase after having a packet received from this MAC Address.\n\nAdded in version 232.\n\nPriority=\nThe priority of the bridge. An integer between 0 and 65535. A lower value means higher\npriority. The bridge having the lowest priority will be elected as root bridge.\n\nAdded in version 232.\n\nGroupForwardMask=\nA 16-bit bitmask represented as an integer which allows forwarding of link local frames\nwith 802.1D reserved addresses (01:80:C2:00:00:0X). A logical AND is performed between\nthe specified bitmask and the exponentiation of 2^X, the lower nibble of the last octet\nof the MAC address. For example, a value of 8 would allow forwarding of frames addressed\nto 01:80:C2:00:00:03 (802.1X PAE).\n\nAdded in version 235.\n\nDefaultPVID=\nThis specifies the default port VLAN ID of a newly attached bridge port. Set this to an\ninteger in the range 1...4094 or \"none\" to disable the PVID.\n\nAdded in version 232.\n\nMulticastQuerier=\nTakes a boolean. This setting controls the IFLABRMCASTQUERIER option in the kernel. If\nenabled, the kernel will send general ICMP queries from a zero source address. This\nfeature should allow faster convergence on startup, but it causes some multicast-aware\nswitches to misbehave and disrupt forwarding of multicast packets. When unset, the\nkernel's default will be used.\n\nAdded in version 230.\n\nMulticastSnooping=\nTakes a boolean. This setting controls the IFLABRMCASTSNOOPING option in the kernel.\nIf enabled, IGMP snooping monitors the Internet Group Management Protocol (IGMP) traffic\nbetween hosts and multicast routers. When unset, the kernel's default will be used.\n\nAdded in version 230.\n\nVLANFiltering=\nTakes a boolean. This setting controls the IFLABRVLANFILTERING option in the kernel.\nIf enabled, the bridge will be started in VLAN-filtering mode. When unset, the kernel's\ndefault will be used.\n\nAdded in version 231.\n\nVLANProtocol=\nAllows setting the protocol used for VLAN filtering. Takes 802.1q or, 802.1ad, and\ndefaults to unset and kernel's default is used.\n\nAdded in version 246.\n\nSTP=\nTakes a boolean. This enables the bridge's Spanning Tree Protocol (STP). When unset, the\nkernel's default will be used.\n\nAdded in version 232.\n\nMulticastIGMPVersion=\nAllows changing bridge's multicast Internet Group Management Protocol (IGMP) version.\nTakes an integer 2 or 3. When unset, the kernel's default will be used.\n\nAdded in version 243.\n\n[VLAN] SECTION OPTIONS\nThe [VLAN] section only applies for netdevs of kind \"vlan\", and accepts the following key:\n\nId=\nThe VLAN ID to use. An integer in the range 0...4094. This setting is compulsory.\n\nAdded in version 211.\n\nProtocol=\nAllows setting the protocol used for the VLAN interface. Takes \"802.1q\" or, \"802.1ad\",\nand defaults to unset and kernel's default is used.\n\nAdded in version 248.\n\nGVRP=\nTakes a boolean. The Generic VLAN Registration Protocol (GVRP) is a protocol that allows\nautomatic learning of VLANs on a network. When unset, the kernel's default will be used.\n\nAdded in version 234.\n\nMVRP=\nTakes a boolean. Multiple VLAN Registration Protocol (MVRP) formerly known as GARP VLAN\nRegistration Protocol (GVRP) is a standards-based Layer 2 network protocol, for automatic\nconfiguration of VLAN information on switches. It was defined in the 802.1ak amendment to\n802.1Q-2005. When unset, the kernel's default will be used.\n\nAdded in version 234.\n\nLooseBinding=\nTakes a boolean. The VLAN loose binding mode, in which only the operational state is\npassed from the parent to the associated VLANs, but the VLAN device state is not changed.\nWhen unset, the kernel's default will be used.\n\nAdded in version 234.\n\nReorderHeader=\nTakes a boolean. When enabled, the VLAN reorder header is used and VLAN interfaces behave\nlike physical interfaces. When unset, the kernel's default will be used.\n\nAdded in version 234.\n\nEgressQOSMaps=, IngressQOSMaps=\nDefines a mapping of Linux internal packet priority (SOPRIORITY) to VLAN header PCP\nfield for outgoing and incoming frames, respectively. Takes a whitespace-separated list\nof integer pairs, where each integer must be in the range 1...4294967294, in the format\n\"from\"-\"to\", e.g., \"21-7 45-5\". Note that \"from\" must be greater than or equal to \"to\".\nWhen unset, the kernel's default will be used.\n\nAdded in version 248.\n\n[MACVLAN] SECTION OPTIONS\nThe [MACVLAN] section only applies for netdevs of kind \"macvlan\", and accepts the following\nkey:\n\nMode=\nThe MACVLAN mode to use. The supported options are \"private\", \"vepa\", \"bridge\",\n\"passthru\", and \"source\".\n\nAdded in version 211.\n\nSourceMACAddress=\nA whitespace-separated list of remote hardware addresses allowed on the MACVLAN. This\noption only has an effect in source mode. Use full colon-, hyphen- or dot-delimited\nhexadecimal. This option may appear more than once, in which case the lists are merged.\nIf the empty string is assigned to this option, the list of hardware addresses defined\nprior to this is reset. Defaults to unset.\n\nAdded in version 246.\n\nBroadcastMulticastQueueLength=\nSpecifies the length of the receive queue for broadcast/multicast packets. An unsigned\ninteger in the range 0...4294967294. Defaults to unset.\n\nAdded in version 248.\n\n[MACVTAP] SECTION OPTIONS\nThe [MACVTAP] section applies for netdevs of kind \"macvtap\" and accepts the same keys as\n[MACVLAN].\n\n[IPVLAN] SECTION OPTIONS\nThe [IPVLAN] section only applies for netdevs of kind \"ipvlan\", and accepts the following\nkey:\n\nMode=\nThe IPVLAN mode to use. The supported options are \"L2\",\"L3\" and \"L3S\".\n\nAdded in version 219.\n\nFlags=\nThe IPVLAN flags to use. The supported options are \"bridge\",\"private\" and \"vepa\".\n\nAdded in version 237.\n\n[IPVTAP] SECTION OPTIONS\nThe [IPVTAP] section only applies for netdevs of kind \"ipvtap\" and accepts the same keys as\n[IPVLAN].\n\n[VXLAN] SECTION OPTIONS\nThe [VXLAN] section only applies for netdevs of kind \"vxlan\", and accepts the following keys:\n\nVNI=\nThe VXLAN Network Identifier (or VXLAN Segment ID). Takes a number in the range\n1...16777215.\n\nAdded in version 243.\n\nRemote=\nConfigures destination IP address.\n\nAdded in version 233.\n\nLocal=\nConfigures local IP address. It must be an address on the underlying interface of the\nVXLAN interface, or one of the special values \"ipv4linklocal\", \"ipv6linklocal\",\n\"dhcp4\", \"dhcp6\", and \"slaac\". If one of the special values is specified, an address\nwhich matches the corresponding type on the underlying interface will be used. Defaults\nto unset.\n\nAdded in version 233.\n\nGroup=\nConfigures VXLAN multicast group IP address. All members of a VXLAN must use the same\nmulticast group address.\n\nAdded in version 243.\n\nTOS=\nThe Type Of Service byte value for a vxlan interface.\n\nAdded in version 215.\n\nTTL=\nA fixed Time To Live N on Virtual eXtensible Local Area Network packets. Takes \"inherit\"\nor a number in the range 0...255. 0 is a special value meaning inherit the inner\nprotocol's TTL value.  \"inherit\" means that it will inherit the outer protocol's TTL\nvalue.\n\nAdded in version 215.\n\nMacLearning=\nTakes a boolean. When true, enables dynamic MAC learning to discover remote MAC\naddresses.\n\nAdded in version 215.\n\nFDBAgeingSec=\nThe lifetime of Forwarding Database entry learnt by the kernel, in seconds.\n\nAdded in version 218.\n\nMaximumFDBEntries=\nConfigures maximum number of FDB entries.\n\nAdded in version 228.\n\nReduceARPProxy=\nTakes a boolean. When true, bridge-connected VXLAN tunnel endpoint answers ARP requests\nfrom the local bridge on behalf of remote \u001b[34mDistributed Overlay Virtual Ethernet (DOVE)[7]\nclients. Defaults to false.\n\nAdded in version 233.\n\nL2MissNotification=\nTakes a boolean. When true, enables netlink LLADDR miss notifications.\n\nAdded in version 218.\n\nL3MissNotification=\nTakes a boolean. When true, enables netlink IP address miss notifications.\n\nAdded in version 218.\n\nRouteShortCircuit=\nTakes a boolean. When true, route short circuiting is turned on.\n\nAdded in version 218.\n\nUDPChecksum=\nTakes a boolean. When true, transmitting UDP checksums when doing VXLAN/IPv4 is turned\non.\n\nAdded in version 220.\n\nUDP6ZeroChecksumTx=\nTakes a boolean. When true, sending zero checksums in VXLAN/IPv6 is turned on.\n\nAdded in version 220.\n\nUDP6ZeroChecksumRx=\nTakes a boolean. When true, receiving zero checksums in VXLAN/IPv6 is turned on.\n\nAdded in version 220.\n\nRemoteChecksumTx=\nTakes a boolean. When true, remote transmit checksum offload of VXLAN is turned on.\n\nAdded in version 232.\n\nRemoteChecksumRx=\nTakes a boolean. When true, remote receive checksum offload in VXLAN is turned on.\n\nAdded in version 232.\n\nGroupPolicyExtension=\nTakes a boolean. When true, it enables Group Policy VXLAN extension security label\nmechanism across network peers based on VXLAN. For details about the Group Policy VXLAN,\nsee the \u001b[34mVXLAN Group Policy[8] document. Defaults to false.\n\nAdded in version 224.\n\nGenericProtocolExtension=\nTakes a boolean. When true, Generic Protocol Extension extends the existing VXLAN\nprotocol to provide protocol typing, OAM, and versioning capabilities. For details about\nthe VXLAN GPE Header, see the \u001b[34mGeneric Protocol Extension for VXLAN[9] document. If\ndestination port is not specified and Generic Protocol Extension is set then default port\nof 4790 is used. Defaults to false.\n\nAdded in version 243.\n\nDestinationPort=\nConfigures the default destination UDP port. If the destination port is not specified\nthen Linux kernel default will be used. Set to 4789 to get the IANA assigned value.\n\nAdded in version 229.\n\nPortRange=\nConfigures the source port range for the VXLAN. The kernel assigns the source UDP port\nbased on the flow to help the receiver to do load balancing. When this option is not set,\nthe normal range of local UDP ports is used.\n\nAdded in version 229.\n\nFlowLabel=\nSpecifies the flow label to use in outgoing packets. The valid range is 0-1048575.\n\nAdded in version 234.\n\nIPDoNotFragment=\nAllows setting the IPv4 Do not Fragment (DF) bit in outgoing packets, or to inherit its\nvalue from the IPv4 inner header. Takes a boolean value, or \"inherit\". Set to \"inherit\"\nif the encapsulated protocol is IPv6. When unset, the kernel's default will be used.\n\nAdded in version 243.\n\nIndependent=\nTakes a boolean. When true, the vxlan interface is created without any underlying network\ninterface. Defaults to false, which means that a .network file that requests this VXLAN\ninterface using VXLAN= is required for the VXLAN to be created.\n\nAdded in version 247.\n\n[GENEVE] SECTION OPTIONS\nThe [GENEVE] section only applies for netdevs of kind \"geneve\", and accepts the following\nkeys:\n\nId=\nSpecifies the Virtual Network Identifier (VNI) to use, a number between 0 and 16777215.\nThis field is mandatory.\n\nAdded in version 234.\n\nRemote=\nSpecifies the unicast destination IP address to use in outgoing packets.\n\nAdded in version 234.\n\nTOS=\nSpecifies the TOS value to use in outgoing packets. Takes a number between 1 and 255.\n\nAdded in version 234.\n\nTTL=\nAccepts the same values as in the [VXLAN] section, except that when unset or set to 0,\nthe kernel's default will be used, meaning that packet TTL will be set from\n/proc/sys/net/ipv4/ipdefaultttl.\n\nAdded in version 234.\n\nUDPChecksum=\nTakes a boolean. When true, specifies that UDP checksum is calculated for transmitted\npackets over IPv4.\n\nAdded in version 234.\n\nUDP6ZeroChecksumTx=\nTakes a boolean. When true, skip UDP checksum calculation for transmitted packets over\nIPv6.\n\nAdded in version 234.\n\nUDP6ZeroChecksumRx=\nTakes a boolean. When true, allows incoming UDP packets over IPv6 with zero checksum\nfield.\n\nAdded in version 234.\n\nDestinationPort=\nSpecifies destination port. Defaults to 6081. If not set or assigned the empty string,\nthe default port of 6081 is used.\n\nAdded in version 234.\n\nFlowLabel=\nSpecifies the flow label to use in outgoing packets.\n\nAdded in version 234.\n\nIPDoNotFragment=\nAccepts the same key as in [VXLAN] section.\n\nAdded in version 243.\n\nInheritInnerProtocol=\nTakes a boolean. When true, inner Layer 3 protocol is set as Protocol Type in the GENEVE\nheader instead of Ethernet. Defaults to false.\n\nAdded in version 254.\n\n[BAREUDP] SECTION OPTIONS\nThe [BareUDP] section only applies for netdevs of kind \"bareudp\", and accepts the following\nkeys:\n\nDestinationPort=\nSpecifies the destination UDP port (in range 1...65535). This is mandatory.\n\nAdded in version 247.\n\nEtherType=\nSpecifies the L3 protocol. Takes one of \"ipv4\", \"ipv6\", \"mpls-uc\" or \"mpls-mc\". This is\nmandatory.\n\nAdded in version 247.\n\n[L2TP] SECTION OPTIONS\nThe [L2TP] section only applies for netdevs of kind \"l2tp\", and accepts the following keys:\n\nTunnelId=\nSpecifies the tunnel identifier. Takes an number in the range 1...4294967295. The value\nused must match the \"PeerTunnelId=\" value being used at the peer. This setting is\ncompulsory.\n\nAdded in version 242.\n\nPeerTunnelId=\nSpecifies the peer tunnel id. Takes a number in the range 1...4294967295. The value used\nmust match the \"TunnelId=\" value being used at the peer. This setting is compulsory.\n\nAdded in version 242.\n\nRemote=\nSpecifies the IP address of the remote peer. This setting is compulsory.\n\nAdded in version 242.\n\nLocal=\nSpecifies the IP address of a local interface. Takes an IP address, or the special values\n\"auto\", \"static\", or \"dynamic\". Optionally a name of a local interface can be specified\nafter \"@\", e.g.  \"192.168.0.1@eth0\" or \"auto@eth0\". When an address is specified, then a\nlocal or specified interface must have the address, and the remote address must be\naccessible through the local address. If \"auto\", then one of the addresses on a local or\nspecified interface which is accessible to the remote address will be used. Similarly, if\n\"static\" or \"dynamic\" is set, then one of the static or dynamic addresses will be used.\nDefaults to \"auto\".\n\nAdded in version 242.\n\nEncapsulationType=\nSpecifies the encapsulation type of the tunnel. Takes one of \"udp\" or \"ip\".\n\nAdded in version 242.\n\nUDPSourcePort=\nSpecifies the UDP source port to be used for the tunnel. When UDP encapsulation is\nselected it's mandatory. Ignored when IP encapsulation is selected.\n\nAdded in version 242.\n\nUDPDestinationPort=\nSpecifies destination port. When UDP encapsulation is selected it's mandatory. Ignored\nwhen IP encapsulation is selected.\n\nAdded in version 245.\n\nUDPChecksum=\nTakes a boolean. When true, specifies that UDP checksum is calculated for transmitted\npackets over IPv4.\n\nAdded in version 242.\n\nUDP6ZeroChecksumTx=\nTakes a boolean. When true, skip UDP checksum calculation for transmitted packets over\nIPv6.\n\nAdded in version 242.\n\nUDP6ZeroChecksumRx=\nTakes a boolean. When true, allows incoming UDP packets over IPv6 with zero checksum\nfield.\n\nAdded in version 242.\n\n[L2TPSESSION] SECTION OPTIONS\nThe [L2TPSession] section only applies for netdevs of kind \"l2tp\", and accepts the following\nkeys:\n\nName=\nSpecifies the name of the session. This setting is compulsory.\n\nAdded in version 242.\n\nSessionId=\nSpecifies the session identifier. Takes an number in the range 1...4294967295. The value\nused must match the \"SessionId=\" value being used at the peer. This setting is\ncompulsory.\n\nAdded in version 242.\n\nPeerSessionId=\nSpecifies the peer session identifier. Takes an number in the range 1...4294967295. The\nvalue used must match the \"PeerSessionId=\" value being used at the peer. This setting is\ncompulsory.\n\nAdded in version 242.\n\nLayer2SpecificHeader=\nSpecifies layer2specific header type of the session. One of \"none\" or \"default\". Defaults\nto \"default\".\n\nAdded in version 242.\n\n[MACSEC] SECTION OPTIONS\nThe [MACsec] section only applies for network devices of kind \"macsec\", and accepts the\nfollowing keys:\n\nPort=\nSpecifies the port to be used for the MACsec transmit channel. The port is used to make\nsecure channel identifier (SCI). Takes a value between 1 and 65535. Defaults to unset.\n\nAdded in version 243.\n\nEncrypt=\nTakes a boolean. When true, enable encryption. Defaults to unset.\n\nAdded in version 243.\n\n[MACSECRECEIVECHANNEL] SECTION OPTIONS\nThe [MACsecReceiveChannel] section only applies for network devices of kind \"macsec\", and\naccepts the following keys:\n\nPort=\nSpecifies the port to be used for the MACsec receive channel. The port is used to make\nsecure channel identifier (SCI). Takes a value between 1 and 65535. This option is\ncompulsory, and is not set by default.\n\nAdded in version 243.\n\nMACAddress=\nSpecifies the MAC address to be used for the MACsec receive channel. The MAC address used\nto make secure channel identifier (SCI). This setting is compulsory, and is not set by\ndefault.\n\nAdded in version 243.\n\n[MACSECTRANSMITASSOCIATION] SECTION OPTIONS\nThe [MACsecTransmitAssociation] section only applies for network devices of kind \"macsec\",\nand accepts the following keys:\n\nPacketNumber=\nSpecifies the packet number to be used for replay protection and the construction of the\ninitialization vector (along with the secure channel identifier [SCI]). Takes a value\nbetween 1-4,294,967,295. Defaults to unset.\n\nAdded in version 243.\n\nKeyId=\nSpecifies the identification for the key. Takes a number between 0-255. This option is\ncompulsory, and is not set by default.\n\nAdded in version 243.\n\nKey=\nSpecifies the encryption key used in the transmission channel. The same key must be\nconfigured on the peer’s matching receive channel. This setting is compulsory, and is not\nset by default. Takes a 128-bit key encoded in a hexadecimal string, for example\n\"dffafc8d7b9a43d5b9a3dfbbf6a30c16\".\n\nAdded in version 243.\n\nKeyFile=\nTakes an absolute path to a file which contains a 128-bit key encoded in a hexadecimal\nstring, which will be used in the transmission channel. When this option is specified,\nKey= is ignored. Note that the file must be readable by the user \"systemd-network\", so it\nshould be, e.g., owned by \"root:systemd-network\" with a \"0640\" file mode. If the path\nrefers to an AFUNIX stream socket in the file system a connection is made to it and the\nkey read from it.\n\nAdded in version 243.\n\nActivate=\nTakes a boolean. If enabled, then the security association is activated. Defaults to\nunset.\n\nAdded in version 243.\n\nUseForEncoding=\nTakes a boolean. If enabled, then the security association is used for encoding. Only one\n[MACsecTransmitAssociation] section can enable this option. When enabled, Activate=yes is\nimplied. Defaults to unset.\n\nAdded in version 243.\n\n[MACSECRECEIVEASSOCIATION] SECTION OPTIONS\nThe [MACsecReceiveAssociation] section only applies for network devices of kind \"macsec\", and\naccepts the following keys:\n\nPort=\nAccepts the same key as in [MACsecReceiveChannel] section.\n\nAdded in version 243.\n\nMACAddress=\nAccepts the same key as in [MACsecReceiveChannel] section.\n\nAdded in version 243.\n\nPacketNumber=\nAccepts the same key as in [MACsecTransmitAssociation] section.\n\nAdded in version 243.\n\nKeyId=\nAccepts the same key as in [MACsecTransmitAssociation] section.\n\nAdded in version 243.\n\nKey=\nAccepts the same key as in [MACsecTransmitAssociation] section.\n\nAdded in version 243.\n\nKeyFile=\nAccepts the same key as in [MACsecTransmitAssociation] section.\n\nAdded in version 243.\n\nActivate=\nAccepts the same key as in [MACsecTransmitAssociation] section.\n\nAdded in version 243.\n\n[TUNNEL] SECTION OPTIONS\nThe [Tunnel] section only applies for netdevs of kind \"ipip\", \"sit\", \"gre\", \"gretap\",\n\"ip6gre\", \"ip6gretap\", \"vti\", \"vti6\", \"ip6tnl\", and \"erspan\" and accepts the following keys:\n\nExternal=\nTakes a boolean value. When true, then the tunnel is externally controlled, which is also\nknown as collect metadata mode, and most settings below like Local= or Remote= are\nignored. This implies Independent=. Defaults to false.\n\nAdded in version 251.\n\nLocal=\nA static local address for tunneled packets. It must be an address on another interface\nof this host, or one of the special values \"any\", \"ipv4linklocal\", \"ipv6linklocal\",\n\"dhcp4\", \"dhcp6\", and \"slaac\". If one of the special values except for \"any\" is\nspecified, an address which matches the corresponding type on the underlying interface\nwill be used. Defaults to \"any\".\n\nAdded in version 215.\n\nRemote=\nThe remote endpoint of the tunnel. Takes an IP address or the special value \"any\".\n\nAdded in version 215.\n\nTOS=\nThe Type Of Service byte value for a tunnel interface. For details about the TOS, see the\n\u001b[34mType of Service in the Internet Protocol Suite[10] document.\n\nAdded in version 215.\n\nTTL=\nA fixed Time To Live N on tunneled packets. N is a number in the range 1...255. 0 is a\nspecial value meaning that packets inherit the TTL value. The default value for IPv4\ntunnels is 0 (inherit). The default value for IPv6 tunnels is 64.\n\nAdded in version 215.\n\nDiscoverPathMTU=\nTakes a boolean. When true, enables Path MTU Discovery on the tunnel. When\nIgnoreDontFragment= is enabled, defaults to false. Otherwise, defaults to true.\n\nAdded in version 215.\n\nIgnoreDontFragment=\nTakes a boolean. When true, enables IPv4 Don't Fragment (DF) suppression on the tunnel.\nDefaults to false. Note that if IgnoreDontFragment= is set to true, DiscoverPathMTU=\ncannot be set to true. Only applicable to GRE, GRETAP, and ERSPAN tunnels.\n\nAdded in version 254.\n\nIPv6FlowLabel=\nConfigures the 20-bit flow label (see \u001b[34mRFC 6437[11]) field in the IPv6 header (see \u001b[34mRFC\n\u001b[34m2460[12]), which is used by a node to label packets of a flow. It is only used for IPv6\ntunnels. A flow label of zero is used to indicate packets that have not been labeled. It\ncan be configured to a value in the range 0...0xFFFFF, or be set to \"inherit\", in which\ncase the original flowlabel is used.\n\nAdded in version 223.\n\nCopyDSCP=\nTakes a boolean. When true, the Differentiated Service Code Point (DSCP) field will be\ncopied to the inner header from outer header during the decapsulation of an IPv6 tunnel\npacket. DSCP is a field in an IP packet that enables different levels of service to be\nassigned to network traffic. Defaults to \"no\".\n\nAdded in version 223.\n\nEncapsulationLimit=\nThe Tunnel Encapsulation Limit option specifies how many additional levels of\nencapsulation are permitted to be prepended to the packet. For example, a Tunnel\nEncapsulation Limit option containing a limit value of zero means that a packet carrying\nthat option may not enter another tunnel before exiting the current tunnel. (see \u001b[34mRFC\n\u001b[34m2473[13]). The valid range is 0...255 and \"none\". Defaults to 4.\n\nAdded in version 226.\n\nKey=\nThe Key= parameter specifies the same key to use in both directions (InputKey= and\nOutputKey=). The Key= is either a number or an IPv4 address-like dotted quad. It is used\nas mark-configured SAD/SPD entry as part of the lookup key (both in data and control\npath) in IP XFRM (framework used to implement IPsec protocol). See \u001b[34mip-xfrm — transform\n\u001b[34mconfiguration[14] for details. It is only used for VTI/VTI6, GRE, GRETAP, and ERSPAN\ntunnels.\n\nAdded in version 231.\n\nInputKey=\nThe InputKey= parameter specifies the key to use for input. The format is same as Key=.\nIt is only used for VTI/VTI6, GRE, GRETAP, and ERSPAN tunnels.\n\nAdded in version 231.\n\nOutputKey=\nThe OutputKey= parameter specifies the key to use for output. The format is same as Key=.\nIt is only used for VTI/VTI6, GRE, GRETAP, and ERSPAN tunnels.\n\nAdded in version 231.\n\nMode=\nAn \"ip6tnl\" tunnel can be in one of three modes \"ip6ip6\" for IPv6 over IPv6, \"ipip6\" for\nIPv4 over IPv6 or \"any\" for either.\n\nAdded in version 219.\n\nIndependent=\nTakes a boolean. When false (the default), the tunnel is always created over some network\ndevice, and a .network file that requests this tunnel using Tunnel= is required for the\ntunnel to be created. When true, the tunnel is created independently of any network as\n\"tunnel@NONE\".\n\nAdded in version 235.\n\nAssignToLoopback=\nTakes a boolean. If set to \"yes\", the loopback interface \"lo\" is used as the underlying\ndevice of the tunnel interface. Defaults to \"no\".\n\nAdded in version 243.\n\nAllowLocalRemote=\nTakes a boolean. When true allows tunnel traffic on ip6tnl devices where the remote\nendpoint is a local host address. When unset, the kernel's default will be used.\n\nAdded in version 237.\n\nFooOverUDP=\nTakes a boolean. Specifies whether FooOverUDP= tunnel is to be configured. Defaults to\nfalse. This takes effects only for IPIP, SIT, GRE, and GRETAP tunnels. For more detail\ninformation see \u001b[34mFoo over UDP[15]\n\nAdded in version 240.\n\nFOUDestinationPort=\nThis setting specifies the UDP destination port for encapsulation. This field is\nmandatory when FooOverUDP=yes, and is not set by default.\n\nAdded in version 240.\n\nFOUSourcePort=\nThis setting specifies the UDP source port for encapsulation. Defaults to 0 — that is,\nthe source port for packets is left to the network stack to decide.\n\nAdded in version 240.\n\nEncapsulation=\nAccepts the same key as in the [FooOverUDP] section.\n\nAdded in version 240.\n\nIPv6RapidDeploymentPrefix=\nReconfigure the tunnel for \u001b[34mIPv6 Rapid Deployment[16], also known as 6rd. The value is an\nISP-specific IPv6 prefix with a non-zero length. Only applicable to SIT tunnels.\n\nAdded in version 240.\n\nISATAP=\nTakes a boolean. If set, configures the tunnel as Intra-Site Automatic Tunnel Addressing\nProtocol (ISATAP) tunnel. Only applicable to SIT tunnels. When unset, the kernel's\ndefault will be used.\n\nAdded in version 240.\n\nSerializeTunneledPackets=\nTakes a boolean. If set to yes, then packets are serialized. Only applies for GRE,\nGRETAP, and ERSPAN tunnels. When unset, the kernel's default will be used.\n\nAdded in version 240.\n\nERSPANVersion=\nSpecifies the ERSPAN version number. Takes 0 for version 0 (a.k.a. type I), 1 for version\n1 (a.k.a. type II), or 2 for version 2 (a.k.a. type III). Defaults to 1.\n\nAdded in version 252.\n\nERSPANIndex=\nSpecifies the ERSPAN v1 index field for the interface. Takes an integer in the range\n0...1048575, which is associated with the ERSPAN traffic's source port and direction.\nOnly used when ERSPANVersion=1. Defaults to 0.\n\nAdded in version 240.\n\nERSPANDirection=\nSpecifies the ERSPAN v2 mirrored traffic's direction. Takes \"ingress\" or \"egress\". Only\nused when ERSPANVersion=2. Defaults to \"ingress\".\n\nAdded in version 252.\n\nERSPANHardwareId=\nSpecifies an unique identifier of the ERSPAN v2 engine. Takes an integer in the range\n0...63. Only used when ERSPANVersion=2. Defaults to 0.\n\nAdded in version 252.\n\n[FOOOVERUDP] SECTION OPTIONS\nThe [FooOverUDP] section only applies for netdevs of kind \"fou\" and accepts the following\nkeys:\n\nEncapsulation=\nSpecifies the encapsulation mechanism used to store networking packets of various\nprotocols inside the UDP packets. Supports the following values: \"FooOverUDP\" provides\nthe simplest no-frills model of UDP encapsulation, it simply encapsulates packets\ndirectly in the UDP payload.  \"GenericUDPEncapsulation\" is a generic and extensible\nencapsulation, it allows encapsulation of packets for any IP protocol and optional data\nas part of the encapsulation. For more detailed information see \u001b[34mGeneric UDP\n\u001b[34mEncapsulation[17]. Defaults to \"FooOverUDP\".\n\nAdded in version 240.\n\nPort=\nSpecifies the port number where the encapsulated packets will arrive. Those packets will\nbe removed and manually fed back into the network stack with the encapsulation removed to\nbe sent to the real destination. This option is mandatory.\n\nAdded in version 240.\n\nPeerPort=\nSpecifies the peer port number. Defaults to unset. Note that when peer port is set\n\"Peer=\" address is mandatory.\n\nAdded in version 243.\n\nProtocol=\nThe Protocol= specifies the protocol number of the packets arriving at the UDP port. When\nEncapsulation=FooOverUDP, this field is mandatory and is not set by default. Takes an IP\nprotocol name such as \"gre\" or \"ipip\", or an integer within the range 1...255. When\nEncapsulation=GenericUDPEncapsulation, this must not be specified.\n\nAdded in version 240.\n\nPeer=\nConfigures peer IP address. Note that when peer address is set \"PeerPort=\" is mandatory.\n\nAdded in version 243.\n\nLocal=\nConfigures local IP address.\n\nAdded in version 243.\n\n[PEER] SECTION OPTIONS\nThe [Peer] section only applies for netdevs of kind \"veth\" and accepts the following keys:\n\nName=\nThe interface name used when creating the netdev. This setting is compulsory.\n\nAdded in version 215.\n\nMACAddress=\nThe peer MACAddress, if not set, it is generated in the same way as the MAC address of\nthe main interface.\n\nAdded in version 215.\n\n[VXCAN] SECTION OPTIONS\nThe [VXCAN] section only applies for netdevs of kind \"vxcan\" and accepts the following key:\n\nPeer=\nThe peer interface name used when creating the netdev. This setting is compulsory.\n\nAdded in version 236.\n\n[TUN] SECTION OPTIONS\nThe [Tun] section only applies for netdevs of kind \"tun\", and accepts the following keys:\n\nMultiQueue=\nTakes a boolean. Configures whether to use multiple file descriptors (queues) to\nparallelize packets sending and receiving. Defaults to \"no\".\n\nAdded in version 215.\n\nPacketInfo=\nTakes a boolean. Configures whether packets should be prepended with four extra bytes\n(two flag bytes and two protocol bytes). If disabled, it indicates that the packets will\nbe pure IP packets. Defaults to \"no\".\n\nAdded in version 215.\n\nVNetHeader=\nTakes a boolean. Configures IFFVNETHDR flag for a tun or tap device. It allows sending\nand receiving larger Generic Segmentation Offload (GSO) packets. This may increase\nthroughput significantly. Defaults to \"no\".\n\nAdded in version 223.\n\nUser=\nUser to grant access to the /dev/net/tun device.\n\nAdded in version 215.\n\nGroup=\nGroup to grant access to the /dev/net/tun device.\n\nAdded in version 215.\n\nKeepCarrier=\nTakes a boolean. If enabled, to make the interface maintain its carrier status, the file\ndescriptor of the interface is kept open. This may be useful to keep the interface in\nrunning state, for example while the backing process is temporarily shutdown. Defaults to\n\"no\".\n\nAdded in version 252.\n\n[TAP] SECTION OPTIONS\nThe [Tap] section only applies for netdevs of kind \"tap\", and accepts the same keys as the\n[Tun] section.\n\n[WIREGUARD] SECTION OPTIONS\nThe [WireGuard] section accepts the following keys:\n\nPrivateKey=\nThe Base64 encoded private key for the interface. It can be generated using the wg genkey\ncommand (see wg(8)). This option or PrivateKeyFile= is mandatory to use WireGuard. Note\nthat because this information is secret, you may want to set the permissions of the\n.netdev file to be owned by \"root:systemd-network\" with a \"0640\" file mode.\n\nAdded in version 237.\n\nPrivateKeyFile=\nTakes an absolute path to a file which contains the Base64 encoded private key for the\ninterface. When this option is specified, then PrivateKey= is ignored. Note that the file\nmust be readable by the user \"systemd-network\", so it should be, e.g., owned by\n\"root:systemd-network\" with a \"0640\" file mode. If the path refers to an AFUNIX stream\nsocket in the file system a connection is made to it and the key read from it.\n\nAdded in version 242.\n\nListenPort=\nSets UDP port for listening. Takes either value between 1 and 65535 or \"auto\". If \"auto\"\nis specified, the port is automatically generated based on interface name. Defaults to\n\"auto\".\n\nAdded in version 237.\n\nFirewallMark=\nSets a firewall mark on outgoing WireGuard packets from this interface. Takes a number\nbetween 1 and 4294967295.\n\nAdded in version 243.\n\nRouteTable=\nThe table identifier for the routes to the addresses specified in the AllowedIPs=. Takes\na negative boolean value, one of the predefined names \"default\", \"main\", and \"local\",\nnames defined in RouteTable= in networkd.conf(5), or a number in the range\n1...4294967295. When \"off\" the routes to the addresses specified in the AllowedIPs=\nsetting will not be configured. Defaults to false. This setting will be ignored when the\nsame setting is specified in the [WireGuardPeer] section.\n\nAdded in version 250.\n\nRouteMetric=\nThe priority of the routes to the addresses specified in the AllowedIPs=. Takes an\ninteger in the range 0...4294967295. Defaults to 0 for IPv4 addresses, and 1024 for IPv6\naddresses. This setting will be ignored when the same setting is specified in the\n[WireGuardPeer] section.\n\nAdded in version 250.\n\n[WIREGUARDPEER] SECTION OPTIONS\nThe [WireGuardPeer] section accepts the following keys:\n\nPublicKey=\nSets a Base64 encoded public key calculated by wg pubkey (see wg(8)) from a private key,\nand usually transmitted out of band to the author of the configuration file. This option\nis mandatory for this section.\n\nAdded in version 237.\n\nPresharedKey=\nOptional preshared key for the interface. It can be generated by the wg genpsk command.\nThis option adds an additional layer of symmetric-key cryptography to be mixed into the\nalready existing public-key cryptography, for post-quantum resistance. Note that because\nthis information is secret, you may want to set the permissions of the .netdev file to be\nowned by \"root:systemd-network\" with a \"0640\" file mode.\n\nAdded in version 237.\n\nPresharedKeyFile=\nTakes an absolute path to a file which contains the Base64 encoded preshared key for the\npeer. When this option is specified, then PresharedKey= is ignored. Note that the file\nmust be readable by the user \"systemd-network\", so it should be, e.g., owned by\n\"root:systemd-network\" with a \"0640\" file mode. If the path refers to an AFUNIX stream\nsocket in the file system a connection is made to it and the key read from it.\n\nAdded in version 242.\n\nAllowedIPs=\nSets a comma-separated list of IP (v4 or v6) addresses with CIDR masks from which this\npeer is allowed to send incoming traffic and to which outgoing traffic for this peer is\ndirected. This setting can be specified multiple times. If an empty string is assigned,\nthen the all previous assignments are cleared.\n\nThe catch-all 0.0.0.0/0 may be specified for matching all IPv4 addresses, and ::/0 may be\nspecified for matching all IPv6 addresses.\n\nNote that this only affects routing inside the network interface itself, i.e. the packets\nthat pass through the tunnel itself. To cause packets to be sent via the tunnel in the\nfirst place, an appropriate route needs to be added as well — either in the \"[Routes]\"\nsection on the \".network\" matching the wireguard interface, or externally to\nsystemd-networkd.\n\nAdded in version 237.\n\nEndpoint=\nSets an endpoint IP address or hostname, followed by a colon, and then a port number.\nIPv6 address must be in the square brackets. For example, \"111.222.333.444:51820\" for\nIPv4 and \"[1111:2222::3333]:51820\" for IPv6 address. This endpoint will be updated\nautomatically once to the most recent source IP address and port of correctly\nauthenticated packets from the peer at configuration time.\n\nAdded in version 237.\n\nPersistentKeepalive=\nSets a seconds interval, between 1 and 65535 inclusive, of how often to send an\nauthenticated empty packet to the peer for the purpose of keeping a stateful firewall or\nNAT mapping valid persistently. For example, if the interface very rarely sends traffic,\nbut it might at anytime receive traffic from a peer, and it is behind NAT, the interface\nmight benefit from having a persistent keepalive interval of 25 seconds. If set to 0 or\n\"off\", this option is disabled. By default or when unspecified, this option is off. Most\nusers will not need this.\n\nAdded in version 237.\n\nRouteTable=\nThe table identifier for the routes to the addresses specified in the AllowedIPs=. Takes\na negative boolean value, one of the predefined names \"default\", \"main\", and \"local\",\nnames defined in RouteTable= in networkd.conf(5), or a number in the range\n1...4294967295. Defaults to unset, and the value specified in the same setting in the\n[WireGuard] section will be used.\n\nAdded in version 250.\n\nRouteMetric=\nThe priority of the routes to the addresses specified in the AllowedIPs=. Takes an\ninteger in the range 0...4294967295. Defaults to unset, and the value specified in the\nsame setting in the [WireGuard] section will be used.\n\nAdded in version 250.\n\n[BOND] SECTION OPTIONS\nThe [Bond] section accepts the following key:\n\nMode=\nSpecifies one of the bonding policies. The default is \"balance-rr\" (round robin).\nPossible values are \"balance-rr\", \"active-backup\", \"balance-xor\", \"broadcast\", \"802.3ad\",\n\"balance-tlb\", and \"balance-alb\".\n\nAdded in version 216.\n\nTransmitHashPolicy=\nSelects the transmit hash policy to use for slave selection in balance-xor, 802.3ad, and\ntlb modes. Possible values are \"layer2\", \"layer3+4\", \"layer2+3\", \"encap2+3\", and\n\"encap3+4\".\n\nAdded in version 216.\n\nLACPTransmitRate=\nSpecifies the rate with which link partner transmits Link Aggregation Control Protocol\nData Unit packets in 802.3ad mode. Possible values are \"slow\", which requests partner to\ntransmit LACPDUs every 30 seconds, and \"fast\", which requests partner to transmit LACPDUs\nevery second. The default value is \"slow\".\n\nAdded in version 216.\n\nMIIMonitorSec=\nSpecifies the frequency that Media Independent Interface link monitoring will occur. A\nvalue of zero disables MII link monitoring. This value is rounded down to the nearest\nmillisecond. The default value is 0.\n\nAdded in version 216.\n\nUpDelaySec=\nSpecifies the delay before a link is enabled after a link up status has been detected.\nThis value is rounded down to a multiple of MIIMonitorSec=. The default value is 0.\n\nAdded in version 216.\n\nDownDelaySec=\nSpecifies the delay before a link is disabled after a link down status has been detected.\nThis value is rounded down to a multiple of MIIMonitorSec=. The default value is 0.\n\nAdded in version 216.\n\nLearnPacketIntervalSec=\nSpecifies the number of seconds between instances where the bonding driver sends learning\npackets to each slave peer switch. The valid range is 1...0x7fffffff; the default value\nis 1. This option has an effect only for the balance-tlb and balance-alb modes.\n\nAdded in version 220.\n\nAdSelect=\nSpecifies the 802.3ad aggregation selection logic to use. Possible values are \"stable\",\n\"bandwidth\" and \"count\".\n\nAdded in version 220.\n\nAdActorSystemPriority=\nSpecifies the 802.3ad actor system priority. Takes a number in the range 1...65535.\n\nAdded in version 240.\n\nAdUserPortKey=\nSpecifies the 802.3ad user defined portion of the port key. Takes a number in the range\n0...1023.\n\nAdded in version 240.\n\nAdActorSystem=\nSpecifies the 802.3ad system MAC address. This cannot be a null or multicast address.\n\nAdded in version 240.\n\nFailOverMACPolicy=\nSpecifies whether the active-backup mode should set all slaves to the same MAC address at\nthe time of enslavement or, when enabled, to perform special handling of the bond's MAC\naddress in accordance with the selected policy. The default policy is none. Possible\nvalues are \"none\", \"active\" and \"follow\".\n\nAdded in version 220.\n\nARPValidate=\nSpecifies whether or not ARP probes and replies should be validated in any mode that\nsupports ARP monitoring, or whether non-ARP traffic should be filtered (disregarded) for\nlink monitoring purposes. Possible values are \"none\", \"active\", \"backup\" and \"all\".\n\nAdded in version 220.\n\nARPIntervalSec=\nSpecifies the ARP link monitoring frequency. A value of 0 disables ARP monitoring. The\ndefault value is 0, and the default unit seconds.\n\nAdded in version 220.\n\nARPIPTargets=\nSpecifies the IP addresses to use as ARP monitoring peers when ARPIntervalSec= is greater\nthan 0. These are the targets of the ARP request sent to determine the health of the link\nto the targets. Specify these values in IPv4 dotted decimal format. At least one IP\naddress must be given for ARP monitoring to function. The maximum number of targets that\ncan be specified is 16. The default value is no IP addresses.\n\nAdded in version 220.\n\nARPAllTargets=\nSpecifies the quantity of ARPIPTargets= that must be reachable in order for the ARP\nmonitor to consider a slave as being up. This option affects only active-backup mode for\nslaves with ARPValidate enabled. Possible values are \"any\" and \"all\".\n\nAdded in version 220.\n\nPrimaryReselectPolicy=\nSpecifies the reselection policy for the primary slave. This affects how the primary\nslave is chosen to become the active slave when failure of the active slave or recovery\nof the primary slave occurs. This option is designed to prevent flip-flopping between the\nprimary slave and other slaves. Possible values are \"always\", \"better\" and \"failure\".\n\nAdded in version 220.\n\nResendIGMP=\nSpecifies the number of IGMP membership reports to be issued after a failover event. One\nmembership report is issued immediately after the failover, subsequent packets are sent\nin each 200ms interval. The valid range is 0...255. Defaults to 1. A value of 0 prevents\nthe IGMP membership report from being issued in response to the failover event.\n\nAdded in version 220.\n\nPacketsPerSlave=\nSpecify the number of packets to transmit through a slave before moving to the next one.\nWhen set to 0, then a slave is chosen at random. The valid range is 0...65535. Defaults\nto 1. This option only has effect when in balance-rr mode.\n\nAdded in version 220.\n\nGratuitousARP=\nSpecify the number of peer notifications (gratuitous ARPs and unsolicited IPv6 Neighbor\nAdvertisements) to be issued after a failover event. As soon as the link is up on the new\nslave, a peer notification is sent on the bonding device and each VLAN sub-device. This\nis repeated at each link monitor interval (ARPIntervalSec or MIIMonitorSec, whichever is\nactive) if the number is greater than 1. The valid range is 0...255. The default value is\n1. These options affect only the active-backup mode.\n\nAdded in version 220.\n\nAllSlavesActive=\nTakes a boolean. Specifies that duplicate frames (received on inactive ports) should be\ndropped when false, or delivered when true. Normally, bonding will drop duplicate frames\n(received on inactive ports), which is desirable for most users. But there are some times\nit is nice to allow duplicate frames to be delivered. The default value is false (drop\nduplicate frames received on inactive ports).\n\nAdded in version 220.\n\nDynamicTransmitLoadBalancing=\nTakes a boolean. Specifies if dynamic shuffling of flows is enabled. Applies only for\nbalance-tlb mode. Defaults to unset.\n\nAdded in version 240.\n\nMinLinks=\nSpecifies the minimum number of links that must be active before asserting carrier. The\ndefault value is 0.\n\nAdded in version 220.\n\nFor more detail information see \u001b[34mLinux Ethernet Bonding Driver HOWTO[1]\n\n[XFRM] SECTION OPTIONS\nThe [Xfrm] section accepts the following keys:\n\nInterfaceId=\nSets the ID/key of the xfrm interface which needs to be associated with a SA/policy. Can\nbe decimal or hexadecimal, valid range is 1-0xffffffff. This is mandatory.\n\nAdded in version 243.\n\nIndependent=\nTakes a boolean. If false (the default), the xfrm interface must have an underlying\ndevice which can be used for hardware offloading.\n\nAdded in version 243.\n\nFor more detail information see \u001b[34mVirtual XFRM Interfaces[18].\n\n[VRF] SECTION OPTIONS\nThe [VRF] section only applies for netdevs of kind \"vrf\" and accepts the following key:\n\nTable=\nThe numeric routing table identifier. This setting is compulsory.\n\nAdded in version 243.\n\n[BATMANADVANCED] SECTION OPTIONS\nThe [BatmanAdvanced] section only applies for netdevs of kind \"batadv\" and accepts the\nfollowing keys:\n\nGatewayMode=\nTakes one of \"off\", \"server\", or \"client\". A batman-adv node can either run in server\nmode (sharing its internet connection with the mesh) or in client mode (searching for the\nmost suitable internet connection in the mesh) or having the gateway support turned off\nentirely (which is the default setting).\n\nAdded in version 248.\n\nAggregation=\nTakes a boolean value. Enables or disables aggregation of originator messages. Defaults\nto true.\n\nAdded in version 248.\n\nBridgeLoopAvoidance=\nTakes a boolean value. Enables or disables avoidance of loops on bridges. Defaults to\ntrue.\n\nAdded in version 248.\n\nDistributedArpTable=\nTakes a boolean value. Enables or disables the distributed ARP table. Defaults to true.\n\nAdded in version 248.\n\nFragmentation=\nTakes a boolean value. Enables or disables fragmentation. Defaults to true.\n\nAdded in version 248.\n\nHopPenalty=\nThe hop penalty setting allows one to modify batctl(8) preference for multihop routes vs.\nshort routes. This integer value is applied to the TQ (Transmit Quality) of each\nforwarded OGM (Originator Message), thereby propagating the cost of an extra hop (the\npacket has to be received and retransmitted which costs airtime). A higher hop penalty\nwill make it more unlikely that other nodes will choose this node as intermediate hop\ntowards any given destination. The default hop penalty of '15' is a reasonable value for\nmost setups and probably does not need to be changed. However, mobile nodes could choose\na value of 255 (maximum value) to avoid being chosen as a router by other nodes. The\nminimum value is 0.\n\nAdded in version 248.\n\nOriginatorIntervalSec=\nThe value specifies the interval in seconds, unless another time unit is specified in\nwhich batman-adv floods the network with its protocol information. See systemd.time(7)\nfor more information.\n\nAdded in version 248.\n\nGatewayBandwidthDown=\nIf the node is a server, this parameter is used to inform other nodes in the network\nabout this node's internet connection download bandwidth in bits per second. Just enter\nany number suffixed with K, M, G or T (base 1000) and the batman-adv module will\npropagate the entered value in the mesh.\n\nAdded in version 248.\n\nGatewayBandwidthUp=\nIf the node is a server, this parameter is used to inform other nodes in the network\nabout this node's internet connection upload bandwidth in bits per second. Just enter any\nnumber suffixed with K, M, G or T (base 1000) and the batman-adv module will propagate\nthe entered value in the mesh.\n\nAdded in version 248.\n\nRoutingAlgorithm=\nThis can be either \"batman-v\" or \"batman-iv\" and describes which routingalgo of\nbatctl(8) to use. The algorithm cannot be changed after interface creation. Defaults to\n\"batman-v\".\n\nAdded in version 248.\n\n[IPOIB] SECTION OPTIONS\nThe [IPoIB] section only applies for netdevs of kind \"ipoib\" and accepts the following keys:\n\nPartitionKey=\nTakes an integer in the range 1...0xffff, except for 0x8000. Defaults to unset, and the\nkernel's default is used.\n\nAdded in version 250.\n\nMode=\nTakes one of the special values \"datagram\" or \"connected\". Defaults to unset, and the\nkernel's default is used.\n\nWhen \"datagram\", the Infiniband unreliable datagram (UD) transport is used, and so the\ninterface MTU is equal to the IB L2 MTU minus the IPoIB encapsulation header (4 bytes).\nFor example, in a typical IB fabric with a 2K MTU, the IPoIB MTU will be 2048 - 4 = 2044\nbytes.\n\nWhen \"connected\", the Infiniband reliable connected (RC) transport is used. Connected\nmode takes advantage of the connected nature of the IB transport and allows an MTU up to\nthe maximal IP packet size of 64K, which reduces the number of IP packets needed for\nhandling large UDP datagrams, TCP segments, etc and increases the performance for large\nmessages.\n\nAdded in version 250.\n\nIgnoreUserspaceMulticastGroup=\nTakes an boolean value. When true, the kernel ignores multicast groups handled by\nuserspace. Defaults to unset, and the kernel's default is used.\n\nAdded in version 250.\n\n[WLAN] SECTION OPTIONS\nThe [WLAN] section only applies to WLAN interfaces, and accepts the following keys:\n\nPhysicalDevice=\nSpecifies the name or index of the physical WLAN device (e.g.  \"0\" or \"phy0\"). The list\nof the physical WLAN devices that exist on the host can be obtained by iw phy command.\nThis option is mandatory.\n\nAdded in version 251.\n\nType=\nSpecifies the type of the interface. Takes one of the \"ad-hoc\", \"station\", \"ap\",\n\"ap-vlan\", \"wds\", \"monitor\", \"mesh-point\", \"p2p-client\", \"p2p-go\", \"p2p-device\", \"ocb\",\nand \"nan\". This option is mandatory.\n\nAdded in version 251.\n\nWDS=\nEnables the Wireless Distribution System (WDS) mode on the interface. The mode is also\nknown as the \"4 address mode\". Takes a boolean value. Defaults to unset, and the kernel's\ndefault will be used.\n\nAdded in version 251.\n"
                }
            ]
        },
        "EXAMPLES": {
            "content": "",
            "subsections": [
                {
                    "name": "Example 1. /etc/systemd/network/25-bridge.netdev",
                    "content": "[NetDev]\nName=bridge0\nKind=bridge\n"
                },
                {
                    "name": "Example 2. /etc/systemd/network/25-vlan1.netdev",
                    "content": "[Match]\nVirtualization=no\n\n[NetDev]\nName=vlan1\nKind=vlan\n\n[VLAN]\nId=1\n"
                },
                {
                    "name": "Example 3. /etc/systemd/network/25-ipip.netdev",
                    "content": "[NetDev]\nName=ipip-tun\nKind=ipip\nMTUBytes=1480\n\n[Tunnel]\nLocal=192.168.223.238\nRemote=192.169.224.239\nTTL=64\n"
                },
                {
                    "name": "Example 4. /etc/systemd/network/1-fou-tunnel.netdev",
                    "content": "[NetDev]\nName=fou-tun\nKind=fou\n\n[FooOverUDP]\nPort=5555\nProtocol=4\n\n"
                },
                {
                    "name": "Example 5. /etc/systemd/network/25-fou-ipip.netdev",
                    "content": "[NetDev]\nName=ipip-tun\nKind=ipip\n\n[Tunnel]\nIndependent=yes\nLocal=10.65.208.212\nRemote=10.65.208.211\nFooOverUDP=yes\nFOUDestinationPort=5555\n\n"
                },
                {
                    "name": "Example 6. /etc/systemd/network/25-tap.netdev",
                    "content": "[NetDev]\nName=tap-test\nKind=tap\n\n[Tap]\nMultiQueue=yes\nPacketInfo=yes\n"
                },
                {
                    "name": "Example 7. /etc/systemd/network/25-sit.netdev",
                    "content": "[NetDev]\nName=sit-tun\nKind=sit\nMTUBytes=1480\n\n[Tunnel]\nLocal=10.65.223.238\nRemote=10.65.223.239\n"
                },
                {
                    "name": "Example 8. /etc/systemd/network/25-6rd.netdev",
                    "content": "[NetDev]\nName=6rd-tun\nKind=sit\nMTUBytes=1480\n\n[Tunnel]\nLocal=10.65.223.238\nIPv6RapidDeploymentPrefix=2602::/24\n"
                },
                {
                    "name": "Example 9. /etc/systemd/network/25-gre.netdev",
                    "content": "[NetDev]\nName=gre-tun\nKind=gre\nMTUBytes=1480\n\n[Tunnel]\nLocal=10.65.223.238\nRemote=10.65.223.239\n"
                },
                {
                    "name": "Example 10. /etc/systemd/network/25-ip6gre.netdev",
                    "content": "[NetDev]\nName=ip6gre-tun\nKind=ip6gre\n\n[Tunnel]\nKey=123\n"
                },
                {
                    "name": "Example 11. /etc/systemd/network/25-vti.netdev",
                    "content": "[NetDev]\nName=vti-tun\nKind=vti\nMTUBytes=1480\n\n[Tunnel]\nLocal=10.65.223.238\nRemote=10.65.223.239\n"
                },
                {
                    "name": "Example 12. /etc/systemd/network/25-veth.netdev",
                    "content": "[NetDev]\nName=veth-test\nKind=veth\n\n[Peer]\nName=veth-peer\n"
                },
                {
                    "name": "Example 13. /etc/systemd/network/25-bond.netdev",
                    "content": "[NetDev]\nName=bond1\nKind=bond\n\n[Bond]\nMode=802.3ad\nTransmitHashPolicy=layer3+4\nMIIMonitorSec=1s\nLACPTransmitRate=fast\n"
                },
                {
                    "name": "Example 14. /etc/systemd/network/25-dummy.netdev",
                    "content": "[NetDev]\nName=dummy-test\nKind=dummy\nMACAddress=12:34:56:78:9a:bc\n"
                },
                {
                    "name": "Example 15. /etc/systemd/network/25-vrf.netdev",
                    "content": "Create a VRF interface with table 42.\n\n[NetDev]\nName=vrf-test\nKind=vrf\n\n[VRF]\nTable=42\n"
                },
                {
                    "name": "Example 16. /etc/systemd/network/25-macvtap.netdev",
                    "content": "Create a MacVTap device.\n\n[NetDev]\nName=macvtap-test\nKind=macvtap\n\n"
                },
                {
                    "name": "Example 17. /etc/systemd/network/25-wireguard.netdev",
                    "content": "[NetDev]\nName=wg0\nKind=wireguard\n\n[WireGuard]\nPrivateKey=EEGlnEPYJV//kbvvIqxKkQwOiS+UENyPncC4bF46ong=\nListenPort=51820\n\n[WireGuardPeer]\nPublicKey=RDf+LSpeEre7YEIKaxg+wbpsNV7du+ktR99uBEtIiCA=\nAllowedIPs=fd31:bf08:57cb::/48,192.168.26.0/24\nEndpoint=wireguard.example.com:51820\n"
                },
                {
                    "name": "Example 18. /etc/systemd/network/27-xfrm.netdev",
                    "content": "[NetDev]\nName=xfrm0\nKind=xfrm\n\n[Xfrm]\nIndependent=yes\n"
                }
            ]
        },
        "SEE ALSO": {
            "content": "systemd(1), systemd-networkd(8), systemd.link(5), systemd.network(5), systemd-network-\ngenerator.service(8)\n",
            "subsections": []
        },
        "NOTES": {
            "content": "1. Linux Ethernet Bonding Driver HOWTO\nhttps://docs.kernel.org/networking/bonding.html\n\n2. RFC 2784\nhttps://tools.ietf.org/html/rfc2784\n\n3. IEEE 802.1Q\nhttp://www.ieee802.org/1/pages/802.1Q.html\n\n4. VRF\nhttps://docs.kernel.org/networking/vrf.html\n\n5. B.A.T.M.A.N. Advanced\nhttps://www.open-mesh.org/projects/open-mesh/wiki\n\n6. System and Service Credentials\nhttps://systemd.io/CREDENTIALS\n\n7. Distributed Overlay Virtual Ethernet (DOVE)\nhttps://en.wikipedia.org/wiki/DistributedOverlayVirtualEthernet\n\n8. VXLAN Group Policy\nhttps://tools.ietf.org/html/draft-smith-vxlan-group-policy\n\n9. Generic Protocol Extension for VXLAN\nhttps://tools.ietf.org/html/draft-ietf-nvo3-vxlan-gpe-07\n\n10. Type of Service in the Internet Protocol Suite\nhttp://tools.ietf.org/html/rfc1349\n\n11. RFC 6437\nhttps://tools.ietf.org/html/rfc6437\n\n12. RFC 2460\nhttps://tools.ietf.org/html/rfc2460\n\n13. RFC 2473\nhttps://tools.ietf.org/html/rfc2473#section-4.1.1\n\n14. ip-xfrm — transform configuration\nhttps://man7.org/linux/man-pages/man8/ip-xfrm.8.html\n\n15. Foo over UDP\nhttps://lwn.net/Articles/614348\n\n16. IPv6 Rapid Deployment\nhttps://tools.ietf.org/html/rfc5569\n\n17. Generic UDP Encapsulation\nhttps://lwn.net/Articles/615044\n\n18. Virtual XFRM Interfaces\nhttps://lwn.net/Articles/757391\n\nsystemd 255                                                                        SYSTEMD.NETDEV(5)",
            "subsections": []
        }
    },
    "summary": "systemd.netdev - Virtual Network Device configuration",
    "flags": [],
    "examples": [
        "[NetDev]",
        "Name=bridge0",
        "Kind=bridge",
        "[Match]",
        "Virtualization=no",
        "[NetDev]",
        "Name=vlan1",
        "Kind=vlan",
        "[VLAN]",
        "Id=1",
        "[NetDev]",
        "Name=ipip-tun",
        "Kind=ipip",
        "MTUBytes=1480",
        "[Tunnel]",
        "Local=192.168.223.238",
        "Remote=192.169.224.239",
        "TTL=64",
        "[NetDev]",
        "Name=fou-tun",
        "Kind=fou",
        "[FooOverUDP]",
        "Port=5555",
        "Protocol=4",
        "[NetDev]",
        "Name=ipip-tun",
        "Kind=ipip",
        "[Tunnel]",
        "Independent=yes",
        "Local=10.65.208.212",
        "Remote=10.65.208.211",
        "FooOverUDP=yes",
        "FOUDestinationPort=5555",
        "[NetDev]",
        "Name=tap-test",
        "Kind=tap",
        "[Tap]",
        "MultiQueue=yes",
        "PacketInfo=yes",
        "[NetDev]",
        "Name=sit-tun",
        "Kind=sit",
        "MTUBytes=1480",
        "[Tunnel]",
        "Local=10.65.223.238",
        "Remote=10.65.223.239",
        "[NetDev]",
        "Name=6rd-tun",
        "Kind=sit",
        "MTUBytes=1480",
        "[Tunnel]",
        "Local=10.65.223.238",
        "IPv6RapidDeploymentPrefix=2602::/24",
        "[NetDev]",
        "Name=gre-tun",
        "Kind=gre",
        "MTUBytes=1480",
        "[Tunnel]",
        "Local=10.65.223.238",
        "Remote=10.65.223.239",
        "[NetDev]",
        "Name=ip6gre-tun",
        "Kind=ip6gre",
        "[Tunnel]",
        "Key=123",
        "[NetDev]",
        "Name=vti-tun",
        "Kind=vti",
        "MTUBytes=1480",
        "[Tunnel]",
        "Local=10.65.223.238",
        "Remote=10.65.223.239",
        "[NetDev]",
        "Name=veth-test",
        "Kind=veth",
        "[Peer]",
        "Name=veth-peer",
        "[NetDev]",
        "Name=bond1",
        "Kind=bond",
        "[Bond]",
        "Mode=802.3ad",
        "TransmitHashPolicy=layer3+4",
        "MIIMonitorSec=1s",
        "LACPTransmitRate=fast",
        "[NetDev]",
        "Name=dummy-test",
        "Kind=dummy",
        "MACAddress=12:34:56:78:9a:bc",
        "Create a VRF interface with table 42.",
        "[NetDev]",
        "Name=vrf-test",
        "Kind=vrf",
        "[VRF]",
        "Table=42",
        "Create a MacVTap device.",
        "[NetDev]",
        "Name=macvtap-test",
        "Kind=macvtap",
        "[NetDev]",
        "Name=wg0",
        "Kind=wireguard",
        "[WireGuard]",
        "PrivateKey=EEGlnEPYJV//kbvvIqxKkQwOiS+UENyPncC4bF46ong=",
        "ListenPort=51820",
        "[WireGuardPeer]",
        "PublicKey=RDf+LSpeEre7YEIKaxg+wbpsNV7du+ktR99uBEtIiCA=",
        "AllowedIPs=fd31:bf08:57cb::/48,192.168.26.0/24",
        "Endpoint=wireguard.example.com:51820",
        "[NetDev]",
        "Name=xfrm0",
        "Kind=xfrm",
        "[Xfrm]",
        "Independent=yes"
    ],
    "see_also": [
        {
            "name": "systemd",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/systemd/1/json"
        },
        {
            "name": "systemd-networkd",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/systemd-networkd/8/json"
        },
        {
            "name": "systemd.link",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/systemd.link/5/json"
        },
        {
            "name": "systemd.network",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/systemd.network/5/json"
        },
        {
            "name": "generator.service",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/generator.service/8/json"
        }
    ]
}