]> git.proxmox.com Git - systemd.git/blame - man/systemd.netdev.5
Imported Upstream version 220
[systemd.git] / man / systemd.netdev.5
CommitLineData
60f067b4 1'\" t
e3bff60a 2.TH "SYSTEMD\&.NETDEV" "5" "" "systemd 220" "systemd.network"
60f067b4
JS
3.\" -----------------------------------------------------------------
4.\" * Define some portability stuff
5.\" -----------------------------------------------------------------
6.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7.\" http://bugs.debian.org/507673
8.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
9.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10.ie \n(.g .ds Aq \(aq
11.el .ds Aq '
12.\" -----------------------------------------------------------------
13.\" * set default formatting
14.\" -----------------------------------------------------------------
15.\" disable hyphenation
16.nh
17.\" disable justification (adjust text to left margin only)
18.ad l
19.\" -----------------------------------------------------------------
20.\" * MAIN CONTENT STARTS HERE *
21.\" -----------------------------------------------------------------
22.SH "NAME"
23systemd.netdev \- Virtual Network Device configuration
24.SH "SYNOPSIS"
25.PP
26\fInetdev\fR\&.netdev
27.SH "DESCRIPTION"
28.PP
29Network setup is performed by
30\fBsystemd-networkd\fR(8)\&.
31.PP
32Virtual Network Device files must have the extension
5eef597e 33\&.netdev; other extensions are ignored\&. Virtual network devices are created as soon as networkd is started\&. If a netdev with the specified name already exists, networkd will use that as\-is rather than create its own\&. Note that the settings of the pre\-existing netdev will not be changed by networkd\&.
60f067b4
JS
34.PP
35The
36\&.netdev
37files are read from the files located in the system network directory
38/usr/lib/systemd/network, the volatile runtime network directory
39/run/systemd/network
40and the local administration network directory
41/etc/systemd/network\&. All configuration files are collectively sorted and processed in lexical order, regardless of the directories in which they live\&. However, files with identical filenames replace each other\&. Files in
42/etc
43have the highest priority, files in
44/run
45take precedence over files with the same name in
46/usr/lib\&. This can be used to override a system\-supplied configuration file with a local file if needed; a symlink in
47/etc
48with the same name as a configuration file in
49/usr/lib, pointing to
50/dev/null, disables the configuration file entirely\&.
e735f4d4
MP
51.SH "SUPPORTED NETDEV KINDS"
52.PP
53The following kinds of virtual network devices may be configured in
54\&.netdev
55files:
56.sp
57.it 1 an-trap
58.nr an-no-space-flag 1
59.nr an-break-flag 1
60.br
61.B Table\ \&1.\ \&Supported kinds of virtual network devices
62.TS
63allbox tab(:);
64lB lB.
65T{
66Kind
67T}:T{
68Description
69T}
70.T&
71l l
72l l
73l l
74l l
75l l
76l l
77l l
78l l
79l l
80l l
81l l
82l l
83l l
84l l
85l l
86l l
87l l
e3bff60a 88l l
e735f4d4
MP
89l l.
90T{
91\fIbond\fR
92T}:T{
93A bond device is an aggregation of all its slave devices\&. See \m[blue]\fBLinux Ethernet Bonding Driver HOWTO\fR\m[]\&\s-2\u[1]\d\s+2 for details\&.Local configuration
94T}
95T{
96\fIbridge\fR
97T}:T{
e3bff60a 98A bridge device is a software switch, each of its slave devices and the bridge itself are ports of the switch\&.
e735f4d4
MP
99T}
100T{
101\fIdummy\fR
102T}:T{
103A dummy device drops all packets sent to it\&.
104T}
105T{
106\fIgre\fR
107T}:T{
108A Level 3 GRE tunnel over IPv4\&. See \m[blue]\fBRFC 2784\fR\m[]\&\s-2\u[2]\d\s+2 for details\&.
109T}
110T{
111\fIgretap\fR
112T}:T{
113A Level 2 GRE tunnel over IPv4\&.
114T}
115T{
116\fIip6gre\fR
117T}:T{
118A Level 3 GRE tunnel over IPv6\&.
119T}
120T{
121\fIip6tnl\fR
122T}:T{
123An IPv4 or IPv6 tunnel over IPv6
124T}
125T{
126\fIip6gretap\fR
127T}:T{
128An Level 2 GRE tunnel over IPv6\&.
129T}
130T{
131\fIipip\fR
132T}:T{
133An IPv4 over IPv4 tunnel\&.
134T}
135T{
136\fIipvlan\fR
137T}:T{
138An ipvlan device is a stacked device which receives packets from its underlying device based on IP address filtering\&.
139T}
140T{
141\fImacvlan\fR
142T}:T{
143A macvlan device is a stacked device which receives packets from its underlying device based on MAC address filtering\&.
144T}
145T{
146\fIsit\fR
147T}:T{
148An IPv6 over IPv4 tunnel\&.
149T}
150T{
151\fItap\fR
152T}:T{
153A persistent Level 2 tunnel between a network device and a device node\&.
154T}
155T{
156\fItun\fR
157T}:T{
158A persistent Level 3 tunnel between a network device and a device node\&.
159T}
160T{
161\fIveth\fR
162T}:T{
163An ethernet tunnel between a pair of network devices\&.
164T}
165T{
166\fIvlan\fR
167T}:T{
168A VLAN is a stacked device which receives packets from its underlying device based on VLAN tagging\&. See \m[blue]\fBIEEE 802\&.1Q\fR\m[]\&\s-2\u[3]\d\s+2 for details\&.
169T}
170T{
171\fIvti\fR
172T}:T{
173An IPv4 over IPSec tunnel\&.
174T}
175T{
e3bff60a
MP
176\fIvti6\fR
177T}:T{
178An IPv6 over IPSec tunnel\&.
179T}
180T{
e735f4d4
MP
181\fIvxlan\fR
182T}:T{
183A virtual extensible LAN (vxlan), for connecting Cloud computing deployments\&.
184T}
185.TE
186.sp 1
e842803a 187.SH "[MATCH] SECTION OPTIONS"
60f067b4
JS
188.PP
189A virtual network device is only created if the
190"[Match]"
191section matches the current environment, or if the section is empty\&. The following keys are accepted:
192.PP
193\fIHost=\fR
194.RS 4
195Matches against the hostname or machine ID of the host\&. See
196"ConditionHost="
197in
198\fBsystemd.unit\fR(5)
199for details\&.
200.RE
201.PP
202\fIVirtualization=\fR
203.RS 4
204Checks whether the system is executed in a virtualized environment and optionally test whether it is a specific implementation\&. See
205"ConditionVirtualization="
206in
207\fBsystemd.unit\fR(5)
208for details\&.
209.RE
210.PP
211\fIKernelCommandLine=\fR
212.RS 4
213Checks whether a specific kernel command line option is set (or if prefixed with the exclamation mark unset)\&. See
214"ConditionKernelCommandLine="
215in
216\fBsystemd.unit\fR(5)
217for details\&.
218.RE
219.PP
220\fIArchitecture=\fR
221.RS 4
222Checks whether the system is running on a specific architecture\&. See
223"ConditionArchitecture="
224in
225\fBsystemd.unit\fR(5)
226for details\&.
227.RE
e842803a 228.SH "[NETDEV] SECTION OPTIONS"
60f067b4
JS
229.PP
230The
231"[NetDev]"
232section accepts the following keys:
233.PP
e842803a
MB
234\fIDescription=\fR
235.RS 4
236A free\-form description of the netdev\&.
237.RE
238.PP
60f067b4
JS
239\fIName=\fR
240.RS 4
241The interface name used when creating the netdev\&. This option is compulsory\&.
242.RE
243.PP
244\fIKind=\fR
245.RS 4
e735f4d4
MP
246The netdev kind\&. This option is compulsory\&. See the
247"Supported netdev kinds"
248section for the valid keys\&.
60f067b4
JS
249.RE
250.PP
e842803a
MB
251\fIMTUBytes=\fR
252.RS 4
e3bff60a 253The maximum transmission unit in bytes to set for the device\&. The usual suffixes K, M, G, are supported and are understood to the base of 1024\&. This key is not currently supported for
5eef597e
MP
254"tun"
255or
256"tap"
257devices\&.
e842803a
MB
258.RE
259.PP
260\fIMACAddress=\fR
261.RS 4
262The MAC address to use for the device\&. If none is given, one is generated based on the interface name and the
e3bff60a 263\fBmachine-id\fR(5)\&. This key is not currently supported for
5eef597e
MP
264"tun"
265or
266"tap"
267devices\&.
e842803a
MB
268.RE
269.SH "[VLAN] SECTION OPTIONS"
270.PP
60f067b4
JS
271The
272"[VLAN]"
273section only applies for netdevs of kind
274"vlan", and accepts the following key:
275.PP
276\fIId=\fR
277.RS 4
278The VLAN ID to use\&. An integer in the range 0\(en4094\&. This option is compulsory\&.
279.RE
e842803a 280.SH "[MACVLAN] SECTION OPTIONS"
60f067b4
JS
281.PP
282The
283"[MACVLAN]"
284section only applies for netdevs of kind
285"macvlan", and accepts the following key:
286.PP
287\fIMode=\fR
288.RS 4
289The MACVLAN mode to use\&. The supported options are
290"private",
291"vepa",
e735f4d4 292"bridge", and
60f067b4
JS
293"passthru"\&.
294.RE
e735f4d4
MP
295.SH "[IPVLAN] SECTION OPTIONS"
296.PP
297The
298"[IPVLAN]"
299section only applies for netdevs of kind
300"ipvlan", and accepts the following key:
301.PP
302\fIMode=\fR
303.RS 4
304The IPVLAN mode to use\&. The supported options are
305"L2"
306and
307"L3"\&.
308.RE
e842803a
MB
309.SH "[VXLAN] SECTION OPTIONS"
310.PP
311The
312"[VXLAN]"
313section only applies for netdevs of kind
e735f4d4 314"vxlan", and accepts the following keys:
e842803a
MB
315.PP
316\fIId=\fR
317.RS 4
318The VXLAN ID to use\&.
319.RE
320.PP
321\fIGroup=\fR
322.RS 4
323An assigned multicast group IP address\&.
324.RE
325.PP
326\fITOS=\fR
327.RS 4
328The Type Of Service byte value for a vxlan interface\&.
329.RE
330.PP
331\fITTL=\fR
332.RS 4
333A fixed Time To Live N on Virtual eXtensible Local Area Network packets\&. N is a number in the range 1\-255\&. 0 is a special value meaning that packets inherit the TTL value\&.
334.RE
335.PP
336\fIMacLearning=\fR
337.RS 4
338A boolean\&. When true, enables dynamic MAC learning to discover remote MAC addresses\&.
339.RE
f47781d8
MP
340.PP
341\fIFDBAgeingSec=\fR
342.RS 4
343The lifetime of Forwarding Database entry learnt by the kernel in seconds\&.
344.RE
345.PP
346\fIARPProxy=\fR
347.RS 4
348A boolean\&. When true, enables ARP proxy\&.
349.RE
350.PP
351\fIL2MissNotification=\fR
352.RS 4
353A boolean\&. When true, enables netlink LLADDR miss notifications\&.
354.RE
355.PP
356\fIL3MissNotification=\fR
357.RS 4
358A boolean\&. When true, enables netlink IP ADDR miss notifications\&.
359.RE
360.PP
361\fIRouteShortCircuit=\fR
362.RS 4
363A boolean\&. When true route short circuit is turned on\&.
364.RE
e3bff60a
MP
365.PP
366\fIUDPCheckSum=\fR
367.RS 4
368A boolean\&. When true transmitting UDP checksums when doing VXLAN/IPv4 is turned on\&.
369.RE
370.PP
371\fIUDP6ZeroChecksumTx=\fR
372.RS 4
373A boolean\&. When true sending zero checksums in VXLAN/IPv6 is turned on\&.
374.RE
375.PP
376\fIUDP6ZeroCheckSumRx=\fR
377.RS 4
378A boolean\&. When true receiving zero checksums in VXLAN/IPv6 is turned on\&.
379.RE
e842803a
MB
380.SH "[TUNNEL] SECTION OPTIONS"
381.PP
382The
383"[Tunnel]"
384section only applies for netdevs of kind
385"ipip",
386"sit",
e735f4d4
MP
387"gre",
388"gretap",
389"ip6gre",
390"ip6gretap",
e3bff60a
MP
391"vti",
392"vti6", and
e735f4d4 393"ip6tnl"
e842803a
MB
394and accepts the following keys:
395.PP
396\fILocal=\fR
397.RS 4
398A static local address for tunneled packets\&. It must be an address on another interface of this host\&.
399.RE
400.PP
401\fIRemote=\fR
402.RS 4
403The remote endpoint of the tunnel\&.
404.RE
405.PP
406\fITOS=\fR
407.RS 4
408The Type Of Service byte value for a tunnel interface\&. For details about the TOS see the
e735f4d4 409\m[blue]\fBType of Service in the Internet Protocol Suite\fR\m[]\&\s-2\u[4]\d\s+2
e842803a
MB
410document\&.
411.RE
412.PP
413\fITTL=\fR
414.RS 4
415A fixed Time To Live N on tunneled packets\&. N is a number in the range 1\-255\&. 0 is a special value meaning that packets inherit the TTL value\&. The default value for IPv4 tunnels is: inherit\&. The default value for IPv6 tunnels is: 64\&.
416.RE
417.PP
418\fIDiscoverPathMTU=\fR
419.RS 4
420A boolean\&. When true, enables Path MTU Discovery on the tunnel\&.
421.RE
e735f4d4
MP
422.PP
423\fIMode=\fR
424.RS 4
425An
426"ip6tnl"
427tunnels can have three modes
428"ip6ip6"
429for IPv6 over IPv6,
430"ipip6"
431for IPv4 over IPv6 or
432"any"
433for either\&.
434.RE
e842803a
MB
435.SH "[PEER] SECTION OPTIONS"
436.PP
437The
438"[Peer]"
439section only applies for netdevs of kind
440"veth"
441and accepts the following key:
442.PP
443\fIName=\fR
444.RS 4
445The interface name used when creating the netdev\&. This option is compulsory\&.
446.RE
447.PP
448\fIMACAddress=\fR
449.RS 4
450The peer MACAddress, if not set it is generated in the same way as the MAC address of the main interface\&.
451.RE
452.SH "[TUN] SECTION OPTIONS"
453.PP
454The
455"[Tun]"
456section only applies for netdevs of kind
457"tun", and accepts the following keys:
458.PP
459\fIOneQueue=\fR
460.RS 4
461Takes a boolean argument\&. Configures whether all packets are queued at the device (enabled), or a fixed number of packets are queued at the device and the rest at the
462"qdisc"\&. Defaults to
463"no"\&.
464.RE
465.PP
466\fIMultiQueue=\fR
467.RS 4
468Takes a boolean argument\&. Configures whether to use multiple file descriptors (queues) to parallelize packets sending and receiving\&. Defaults to
469"no"\&.
470.RE
471.PP
472\fIPacketInfo=\fR
473.RS 4
e3bff60a 474Takes a boolean argument\&. Configures whether packets should be prepended with four extra bytes (two flag bytes and two protocol bytes)\&. If disabled it indicates that the packets will be pure IP packets\&. Defaults to
e842803a
MB
475"no"\&.
476.RE
477.PP
478\fIUser=\fR
479.RS 4
480User to grant access to the
481/dev/net/tun
482device\&.
483.RE
484.PP
485\fIGroup=\fR
486.RS 4
487Group to grant access to the
488/dev/net/tun
489device\&.
490.RE
491.SH "[TAP] SECTION OPTIONS"
492.PP
493The
494"[Tap]"
495section only applies for netdevs of kind
496"tap", and accepts the same keys as the
497"[Tun]"
498section\&.
5eef597e
MP
499.SH "[BOND] SECTION OPTIONS"
500.PP
501The
502"[Bond]"
503section accepts the following key:
504.PP
505\fIMode=\fR
506.RS 4
507Specifies one of the bonding policies\&. The default is
508"balance\-rr"
509(round robin)\&. Possible values are
510"balance\-rr",
511"active\-backup",
512"balance\-xor",
513"broadcast",
514"802\&.3ad",
515"balance\-tlb", and
516"balance\-alb"\&.
517.RE
518.PP
519\fITransmitHashPolicy=\fR
520.RS 4
521Selects the transmit hash policy to use for slave selection in balance\-xor, 802\&.3ad, and tlb modes\&. Possible values are
522"layer2",
523"layer3+4",
524"layer2+3",
525"encap2+3",
526"802\&.3ad", and
527"encap3+4"\&.
528.RE
529.PP
530\fILACPTransmitRate=\fR
531.RS 4
532Specifies the rate with which link partner transmits Link Aggregation Control Protocol Data Unit packets in 802\&.3ad mode\&. Possible values are
533"slow", which requests partner to transmit LACPDUs every 30 seconds, and
534"fast", which requests partner to transmit LACPDUs every second\&. The default value is
535"slow"\&.
536.RE
537.PP
538\fIMIIMonitorSec=\fR
539.RS 4
540Specifies the frequency that Media Independent Interface link monitoring will occur\&. A value of zero disables MII link monitoring\&. This values is rounded down to the nearest millisecond\&. The default value is 0\&.
541.RE
542.PP
543\fIUpDelaySec=\fR
544.RS 4
545Specifies the delay before a link is enabled after a link up status has been detected\&. This value is rounded down to a multiple of MIIMonitorSec\&. The default value is 0\&.
546.RE
547.PP
548\fIDownDelaySec=\fR
549.RS 4
550Specifies the delay before a link is disabled after a link down status has been detected\&. This value is rounded down to a multiple of MIIMonitorSec\&. The default value is 0\&.
551.RE
e3bff60a
MP
552.PP
553\fILearnPacketIntervalSec=\fR
554.RS 4
555Specifies the number of seconds between instances where the bonding driver sends learning packets to each slaves peer switch\&. The valid range is 1 \- 0x7fffffff; the default value is 1\&. This Option has effect only in balance\-tlb and balance\-alb modes\&.
556.RE
557.PP
558\fIAdSelect=\fR
559.RS 4
560Specifies the 802\&.3ad aggregation selection logic to use\&. Possible values are
561"stable",
562"bandwidth",
563"count"
564.RE
565.PP
566\fIFailOverMACPolicy=\fR
567.RS 4
568Specifies whether active\-backup mode should set all slaves to the same MAC address at enslavement or, when enabled, perform special handling of the bond\*(Aqs MAC address in accordance with the selected policy\&. The default policy is none\&. Possible values are
569"none",
570"active",
571"follow"
572.RE
573.PP
574\fIARPValidate=\fR
575.RS 4
576Specifies whether or not ARP probes and replies should be validated in any mode that supports ARP monitoring, or whether non\-ARP traffic should be filtered (disregarded) for link monitoring purposes\&. Possible values are
577"none",
578"active",
579"backup",
580"all"
581.RE
582.PP
583\fIARPIntervalSec=\fR
584.RS 4
585Specifies the ARP link monitoring frequency in milliseconds\&. A value of 0 disables ARP monitoring\&. The default value is 0\&.
586.RE
587.PP
588\fIARPIPTargets=\fR
589.RS 4
590Specifies the IP addresses to use as ARP monitoring peers when ARPIntervalSec is greater than 0\&. These are the targets of the ARP request sent to determine the health of the link to the targets\&. Specify these values in ipv4 dotted decimal format\&. At least one IP address must be given for ARP monitoring to function\&. The maximum number of targets that can be specified is 16\&. The default value is no IP addresses\&.
591.RE
592.PP
593\fIARPAllTargets=\fR
594.RS 4
595Specifies the quantity of ARPIPTargets that must be reachable in order for the ARP monitor to consider a slave as being up\&. This option affects only active\-backup mode for slaves with ARPValidate enabled\&. Possible values are
596"any",
597"all"
598.RE
599.PP
600\fIPrimaryReselectPolicy=\fR
601.RS 4
602Specifies the reselection policy for the primary slave\&. This affects how the primary slave is chosen to become the active slave when failure of the active slave or recovery of the primary slave occurs\&. This option is designed to prevent flip\-flopping between the primary slave and other slaves\&. Possible values are
603"always",
604"better",
605"failure"
606.RE
607.PP
608\fIResendIGMP=\fR
609.RS 4
610Specifies the number of IGMP membership reports to be issued after a failover event\&. One membership report is issued immediately after the failover, subsequent packets are sent in each 200ms interval\&. The valid range is (0 \- 255)\&. Defaults to 1\&. A value of 0 prevents the IGMP membership report from being issued in response to the failover event\&.
611.RE
612.PP
613\fIPacketsPerSlave=\fR
614.RS 4
615Specify the number of packets to transmit through a slave before moving to the next one\&. When set to 0 then a slave is chosen at random\&.The valid range is (0 \- 65535)\&. Defaults to 1\&. This option has effect only in balance\-rr mode\&.
616.RE
617.PP
618\fIGratuitousARP=\fR
619.RS 4
620Specify the number of peer notifications (gratuitous ARPs and unsolicited IPv6 Neighbor Advertisements) to be issued after a failover event\&. As soon as the link is up on the new slave a peer notification is sent on the bonding device and each VLAN sub\-device\&. This is repeated at each link monitor interval (ARPIntervalSec or MIIMonitorSec, whichever is active) if the number is greater than 1\&. The valid range is (0 \- 255)\&. Default value is 1\&. These options affect only the active\-backup mode\&.
621.RE
622.PP
623\fIAllSlavesActive=\fR
624.RS 4
625A boolean\&. Specifies that duplicate frames (received on inactive ports) should be dropped false or delivered true\&. Normally, bonding will drop duplicate frames (received on inactive ports), which is desirable for most users\&. But there are some times it is nice to allow duplicate frames to be delivered\&. The default value is false (drop duplicate frames received on inactive ports)\&.
626.RE
627.PP
628\fIMinLinks=\fR
629.RS 4
630Specifies the minimum number of links that must be active before asserting carrier\&. The default value is 0\&.
631.RE
632.PP
633For more detail information see
634\m[blue]\fBLinux Ethernet Bonding Driver HOWTO\fR\m[]\&\s-2\u[1]\d\s+2
60f067b4
JS
635.SH "EXAMPLE"
636.PP
637\fBExample\ \&1.\ \&/etc/systemd/network/bridge.netdev\fR
638.sp
639.if n \{\
640.RS 4
641.\}
642.nf
643[NetDev]
644Name=bridge0
645Kind=bridge
646.fi
647.if n \{\
648.RE
649.\}
650.PP
651\fBExample\ \&2.\ \&/etc/systemd/network/vlan1.netdev\fR
652.sp
653.if n \{\
654.RS 4
655.\}
656.nf
657[Match]
658Virtualization=no
659
660[NetDev]
661Name=vlan1
662Kind=vlan
663
664[VLAN]
665Id=1
666.fi
667.if n \{\
668.RE
669.\}
e842803a
MB
670.PP
671\fBExample\ \&3.\ \&/etc/systemd/network/ipip.netdev\fR
672.sp
673.if n \{\
674.RS 4
675.\}
676.nf
677[NetDev]
678Name=ipip\-tun
679Kind=ipip
680MTUBytes=1480
681
682[Tunnel]
683Local=192\&.168\&.223\&.238
684Remote=192\&.169\&.224\&.239
685TTL=64
686.fi
687.if n \{\
688.RE
689.\}
690.PP
691\fBExample\ \&4.\ \&/etc/systemd/network/tap.netdev\fR
692.sp
693.if n \{\
694.RS 4
695.\}
696.nf
697[NetDev]
698Name=tap\-test
699Kind=tap
700
701[Tap]
702MultiQueue=true
703PacketInfo=true
704.fi
705.if n \{\
706.RE
707.\}
708.PP
709\fBExample\ \&5.\ \&/etc/systemd/network/sit.netdev\fR
710.sp
711.if n \{\
712.RS 4
713.\}
714.nf
715[NetDev]
716Name=sit\-tun
717Kind=sit
718MTUBytes=1480
719
720[Tunnel]
721Local=10\&.65\&.223\&.238
722Remote=10\&.65\&.223\&.239
723.fi
724.if n \{\
725.RE
726.\}
727.PP
728\fBExample\ \&6.\ \&/etc/systemd/network/gre.netdev\fR
729.sp
730.if n \{\
731.RS 4
732.\}
733.nf
734[NetDev]
735Name=gre\-tun
736Kind=gre
737MTUBytes=1480
738
739[Tunnel]
740Local=10\&.65\&.223\&.238
741Remote=10\&.65\&.223\&.239
742.fi
743.if n \{\
744.RE
745.\}
746.PP
747\fBExample\ \&7.\ \&/etc/systemd/network/vti.netdev\fR
748.sp
749.if n \{\
750.RS 4
751.\}
752.nf
753[NetDev]
754Name=vti\-tun
755Kind=vti
756MTUBytes=1480
757
758[Tunnel]
759Local=10\&.65\&.223\&.238
760Remote=10\&.65\&.223\&.239
761.fi
762.if n \{\
763.RE
764.\}
765.PP
766\fBExample\ \&8.\ \&/etc/systemd/network/veth.netdev\fR
767.sp
768.if n \{\
769.RS 4
770.\}
771.nf
772[NetDev]
773Name=veth\-test
774Kind=veth
775
776[Peer]
777Name=veth\-peer
778.fi
779.if n \{\
780.RE
781.\}
782.PP
783\fBExample\ \&9.\ \&/etc/systemd/network/dummy.netdev\fR
784.sp
785.if n \{\
786.RS 4
787.\}
788.nf
789[NetDev]
790Name=dummy\-test
791Kind=dummy
792MACAddress=12:34:56:78:9a:bc
793.fi
794.if n \{\
795.RE
796.\}
60f067b4
JS
797.SH "SEE ALSO"
798.PP
799\fBsystemd\fR(1),
800\fBsystemd-networkd\fR(8),
e735f4d4 801\fBsystemd.link\fR(5),
60f067b4 802\fBsystemd.network\fR(5)
e842803a
MB
803.SH "NOTES"
804.IP " 1." 4
e735f4d4
MP
805Linux Ethernet Bonding Driver HOWTO
806.RS 4
807\%https://www.kernel.org/doc/Documentation/networking/bonding.txt
808.RE
809.IP " 2." 4
810RFC 2784
811.RS 4
812\%https://tools.ietf.org/html/rfc2784
813.RE
814.IP " 3." 4
815IEEE 802.1Q
816.RS 4
817\%http://www.ieee802.org/1/pages/802.1Q.html
818.RE
819.IP " 4." 4
e842803a
MB
820Type of Service in the Internet Protocol Suite
821.RS 4
822\%http://tools.ietf.org/html/rfc1349
823.RE