]> git.proxmox.com Git - systemd.git/blame - man/systemd.netdev.html
Imported Upstream version 218
[systemd.git] / man / systemd.netdev.html
CommitLineData
60f067b4
JS
1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>systemd.netdev</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style>
2 a.headerlink {
3 color: #c60f0f;
4 font-size: 0.8em;
5 padding: 0 4px 0 4px;
6 text-decoration: none;
7 visibility: hidden;
8 }
9
10 a.headerlink:hover {
11 background-color: #c60f0f;
12 color: white;
13 }
14
15 h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink {
16 visibility: visible;
17 }
18 </style><a href="index.html">Index </a>·
19 <a href="systemd.directives.html">Directives </a>·
20 <a href="../python-systemd/index.html">Python </a>·
21 <a href="../libudev/index.html">libudev </a>·
f47781d8 22 <a href="../libudev/index.html">gudev </a><span style="float:right">systemd 218</span><hr><div class="refentry"><a name="systemd.netdev"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>systemd.netdev — Virtual Network Device configuration</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><p><code class="filename"><em class="replaceable"><code>netdev</code></em>.netdev</code></p></div><div class="refsect1"><a name="idm140323540220256"></a><h2 id="Description">Description<a class="headerlink" title="Permalink to this headline" href="#Description">¶</a></h2><p>Network setup is performed by
60f067b4
JS
23 <a href="systemd-networkd.html"><span class="citerefentry"><span class="refentrytitle">systemd-networkd</span>(8)</span></a>.
24 </p><p>Virtual Network Device files must have the extension
25 <code class="filename">.netdev</code>; other extensions are ignored. Virtual
5eef597e
MP
26 network devices are created as soon as networkd is started. If a netdev
27 with the specified name already exists, networkd will use that as-is
28 rather than create its own. Note that the settings of the pre-existing
29 netdev will not be changed by networkd.</p><p>The <code class="filename">.netdev</code> files are read from the files located in the
60f067b4
JS
30 system network directory <code class="filename">/usr/lib/systemd/network</code>,
31 the volatile runtime network directory
32 <code class="filename">/run/systemd/network</code> and the local administration
33 network directory <code class="filename">/etc/systemd/network</code>.
34 All configuration files are collectively sorted and processed in lexical order,
35 regardless of the directories in which they live. However, files with
36 identical filenames replace each other. Files in
37 <code class="filename">/etc</code> have the highest priority, files in
38 <code class="filename">/run</code> take precedence over files with the same
39 name in <code class="filename">/usr/lib</code>. This can be used to override a
40 system-supplied configuration file with a local file if needed; a symlink in
41 <code class="filename">/etc</code> with the same name as a configuration file in
42 <code class="filename">/usr/lib</code>, pointing to <code class="filename">/dev/null</code>,
f47781d8 43 disables the configuration file entirely.</p></div><div class="refsect1"><a name="idm140323540208960"></a><h2 id="[Match] Section Options">[Match] Section Options<a class="headerlink" title="Permalink to this headline" href="#%5BMatch%5D%20Section%20Options">¶</a></h2><p>A virtual network device is only created if the
60f067b4
JS
44 "<code class="literal">[Match]</code>" section matches the current
45 environment, or if the section is empty. The following keys are accepted:</p><div class="variablelist"><dl class="variablelist"><dt id="Host="><span class="term"><code class="varname">Host=</code></span><a class="headerlink" title="Permalink to this term" href="#Host=">¶</a></dt><dd><p>Matches against the hostname or machine ID of the
46 host. See "<code class="literal">ConditionHost=</code>" in
47 <a href="systemd.unit.html"><span class="citerefentry"><span class="refentrytitle">systemd.unit</span>(5)</span></a>
48 for details.
49 </p></dd><dt id="Virtualization="><span class="term"><code class="varname">Virtualization=</code></span><a class="headerlink" title="Permalink to this term" href="#Virtualization=">¶</a></dt><dd><p>Checks whether the system is executed in a virtualized
50 environment and optionally test whether it is a specific
51 implementation. See "<code class="literal">ConditionVirtualization=</code>" in
52 <a href="systemd.unit.html"><span class="citerefentry"><span class="refentrytitle">systemd.unit</span>(5)</span></a>
53 for details.
54 </p></dd><dt id="KernelCommandLine="><span class="term"><code class="varname">KernelCommandLine=</code></span><a class="headerlink" title="Permalink to this term" href="#KernelCommandLine=">¶</a></dt><dd><p>Checks whether a specific kernel command line option is
55 set (or if prefixed with the exclamation mark unset). See
56 "<code class="literal">ConditionKernelCommandLine=</code>" in
57 <a href="systemd.unit.html"><span class="citerefentry"><span class="refentrytitle">systemd.unit</span>(5)</span></a>
58 for details.
59 </p></dd><dt id="Architecture="><span class="term"><code class="varname">Architecture=</code></span><a class="headerlink" title="Permalink to this term" href="#Architecture=">¶</a></dt><dd><p>Checks whether the system is running on a specific
60 architecture. See "<code class="literal">ConditionArchitecture=</code>" in
61 <a href="systemd.unit.html"><span class="citerefentry"><span class="refentrytitle">systemd.unit</span>(5)</span></a>
62 for details.
f47781d8 63 </p></dd></dl></div></div><div class="refsect1"><a name="idm140323544142752"></a><h2 id="[NetDev] Section Options">[NetDev] Section Options<a class="headerlink" title="Permalink to this headline" href="#%5BNetDev%5D%20Section%20Options">¶</a></h2><p>The "<code class="literal">[NetDev]</code>" section accepts the following
e842803a
MB
64 keys:</p><div class="variablelist"><dl class="variablelist"><dt id="Description="><span class="term"><code class="varname">Description=</code></span><a class="headerlink" title="Permalink to this term" href="#Description=">¶</a></dt><dd><p>A free-form description of the netdev.
65 </p></dd><dt id="Name="><span class="term"><code class="varname">Name=</code></span><a class="headerlink" title="Permalink to this term" href="#Name=">¶</a></dt><dd><p>The interface name used when creating the
60f067b4 66 netdev. This option is compulsory.</p></dd><dt id="Kind="><span class="term"><code class="varname">Kind=</code></span><a class="headerlink" title="Permalink to this term" href="#Kind=">¶</a></dt><dd><p>The netdev kind. Currently, "<code class="literal">bridge</code>",
e842803a
MB
67 "<code class="literal">bond</code>", "<code class="literal">vlan</code>",
68 "<code class="literal">macvlan</code>", "<code class="literal">vxlan</code>",
69 "<code class="literal">ipip</code>", "<code class="literal">gre</code>",
70 "<code class="literal">sit</code>", "<code class="literal">vti</code>",
5eef597e
MP
71 "<code class="literal">veth</code>", "<code class="literal">tun</code>",
72 "<code class="literal">tap</code>" and "<code class="literal">dummy</code>"
e842803a
MB
73 are supported. This option is compulsory.</p></dd><dt id="MTUBytes="><span class="term"><code class="varname">MTUBytes=</code></span><a class="headerlink" title="Permalink to this term" href="#MTUBytes=">¶</a></dt><dd><p>The maximum transmission unit in bytes to
74 set for the device. The usual suffixes K, M, G,
75 are supported and are understood to the base of
5eef597e
MP
76 1024. This key is not currently suported for
77 "<code class="literal">tun</code>" or "<code class="literal">tap</code>" devices.
78 </p></dd><dt id="MACAddress="><span class="term"><code class="varname">MACAddress=</code></span><a class="headerlink" title="Permalink to this term" href="#MACAddress=">¶</a></dt><dd><p>The MAC address to use for the device.
e842803a
MB
79 If none is given, one is generated based on
80 the interface name and the
81 <a href="machine-id.html"><span class="citerefentry"><span class="refentrytitle">machine-id</span>(5)</span></a>.
5eef597e 82 This key is not currently suported for "<code class="literal">tun</code>" or "<code class="literal">tap</code>" devices.
f47781d8 83 </p></dd></dl></div></div><div class="refsect1"><a name="idm140323544110768"></a><h2 id="[VLAN] Section Options">[VLAN] Section Options<a class="headerlink" title="Permalink to this headline" href="#%5BVLAN%5D%20Section%20Options">¶</a></h2><p>The "<code class="literal">[VLAN]</code>" section only applies for netdevs of kind "<code class="literal">vlan</code>",
60f067b4 84 and accepts the following key:</p><div class="variablelist"><dl class="variablelist"><dt id="Id="><span class="term"><code class="varname">Id=</code></span><a class="headerlink" title="Permalink to this term" href="#Id=">¶</a></dt><dd><p>The VLAN ID to use. An integer in the range 0–4094.
f47781d8 85 This option is compulsory.</p></dd></dl></div></div><div class="refsect1"><a name="idm140323539144096"></a><h2 id="[MACVLAN] Section Options">[MACVLAN] Section Options<a class="headerlink" title="Permalink to this headline" href="#%5BMACVLAN%5D%20Section%20Options">¶</a></h2><p>The "<code class="literal">[MACVLAN]</code>" section only applies for netdevs of kind
60f067b4
JS
86 "<code class="literal">macvlan</code>", and accepts the following key:</p><div class="variablelist"><dl class="variablelist"><dt id="Mode="><span class="term"><code class="varname">Mode=</code></span><a class="headerlink" title="Permalink to this term" href="#Mode=">¶</a></dt><dd><p>The MACVLAN mode to use. The supported options are
87 "<code class="literal">private</code>", "<code class="literal">vepa</code>",
88 "<code class="literal">bridge</code>" and "<code class="literal">passthru</code>".
f47781d8 89 </p></dd></dl></div></div><div class="refsect1"><a name="idm140323539136800"></a><h2 id="[VXLAN] Section Options">[VXLAN] Section Options<a class="headerlink" title="Permalink to this headline" href="#%5BVXLAN%5D%20Section%20Options">¶</a></h2><p>The "<code class="literal">[VXLAN]</code>" section only applies for netdevs of kind
e842803a
MB
90 "<code class="literal">vxlan</code>", and accepts the following key:</p><div class="variablelist"><dl class="variablelist"><dt id="Id="><span class="term"><code class="varname">Id=</code></span><a class="headerlink" title="Permalink to this term" href="#Id=">¶</a></dt><dd><p>The VXLAN ID to use.</p></dd><dt id="Group="><span class="term"><code class="varname">Group=</code></span><a class="headerlink" title="Permalink to this term" href="#Group=">¶</a></dt><dd><p>An assigned multicast group IP address.</p></dd><dt id="TOS="><span class="term"><code class="varname">TOS=</code></span><a class="headerlink" title="Permalink to this term" href="#TOS=">¶</a></dt><dd><p>The Type Of Service byte value for a vxlan interface.</p></dd><dt id="TTL="><span class="term"><code class="varname">TTL=</code></span><a class="headerlink" title="Permalink to this term" href="#TTL=">¶</a></dt><dd><p>A fixed Time To Live N on Virtual eXtensible Local Area Network packets.
91 N is a number in the range 1-255. 0 is a special value meaning that packets
92 inherit the TTL value.</p></dd><dt id="MacLearning="><span class="term"><code class="varname">MacLearning=</code></span><a class="headerlink" title="Permalink to this term" href="#MacLearning=">¶</a></dt><dd><p>A boolean. When true, enables dynamic MAC learning
f47781d8 93 to discover remote MAC addresses.</p></dd><dt id="FDBAgeingSec="><span class="term"><code class="varname">FDBAgeingSec=</code></span><a class="headerlink" title="Permalink to this term" href="#FDBAgeingSec=">¶</a></dt><dd><p>The lifetime of Forwarding Database entry learnt by the kernel in seconds.</p></dd><dt id="ARPProxy="><span class="term"><code class="varname">ARPProxy=</code></span><a class="headerlink" title="Permalink to this term" href="#ARPProxy=">¶</a></dt><dd><p>A boolean. When true, enables ARP proxy.</p></dd><dt id="L2MissNotification="><span class="term"><code class="varname">L2MissNotification=</code></span><a class="headerlink" title="Permalink to this term" href="#L2MissNotification=">¶</a></dt><dd><p>A boolean. When true, enables netlink LLADDR miss notifications.</p></dd><dt id="L3MissNotification="><span class="term"><code class="varname">L3MissNotification=</code></span><a class="headerlink" title="Permalink to this term" href="#L3MissNotification=">¶</a></dt><dd><p>A boolean. When true, enables netlink IP ADDR miss notifications.</p></dd><dt id="RouteShortCircuit="><span class="term"><code class="varname">RouteShortCircuit=</code></span><a class="headerlink" title="Permalink to this term" href="#RouteShortCircuit=">¶</a></dt><dd><p>A boolean. When true route short circuit is turned on.</p></dd></dl></div></div><div class="refsect1"><a name="idm140323539116624"></a><h2 id="[Tunnel] Section Options">[Tunnel] Section Options<a class="headerlink" title="Permalink to this headline" href="#%5BTunnel%5D%20Section%20Options">¶</a></h2><p>The "<code class="literal">[Tunnel]</code>" section only applies for netdevs of kind
e842803a
MB
94 "<code class="literal">ipip</code>", "<code class="literal">sit</code>", "<code class="literal">gre</code>" and
95 "<code class="literal">vti</code>" and accepts the following keys:</p><div class="variablelist"><dl class="variablelist"><dt id="Local="><span class="term"><code class="varname">Local=</code></span><a class="headerlink" title="Permalink to this term" href="#Local=">¶</a></dt><dd><p>A static local address for tunneled packets.
96 It must be an address on another interface of this host.</p></dd><dt id="Remote="><span class="term"><code class="varname">Remote=</code></span><a class="headerlink" title="Permalink to this term" href="#Remote=">¶</a></dt><dd><p>The remote endpoint of the tunnel.</p></dd><dt id="TOS="><span class="term"><code class="varname">TOS=</code></span><a class="headerlink" title="Permalink to this term" href="#TOS=">¶</a></dt><dd><p>The Type Of Service byte value for a tunnel interface.
97 For details about the TOS see the
98 <a class="ulink" href="http://tools.ietf.org/html/rfc1349" target="_top">
99 Type of Service in the Internet Protocol Suite
100 </a> document.
101 </p></dd><dt id="TTL="><span class="term"><code class="varname">TTL=</code></span><a class="headerlink" title="Permalink to this term" href="#TTL=">¶</a></dt><dd><p>A fixed Time To Live N on tunneled packets.
102 N is a number in the range 1-255. 0 is a special value meaning that packets
103 inherit the TTL value. The default value for IPv4 tunnels is: inherit.
f47781d8 104 The default value for IPv6 tunnels is: 64.</p></dd><dt id="DiscoverPathMTU="><span class="term"><code class="varname">DiscoverPathMTU=</code></span><a class="headerlink" title="Permalink to this term" href="#DiscoverPathMTU=">¶</a></dt><dd><p>A boolean. When true, enables Path MTU Discovery on the tunnel.</p></dd></dl></div></div><div class="refsect1"><a name="idm140323539101616"></a><h2 id="[Peer] Section Options">[Peer] Section Options<a class="headerlink" title="Permalink to this headline" href="#%5BPeer%5D%20Section%20Options">¶</a></h2><p>The "<code class="literal">[Peer]</code>" section only applies for netdevs of kind "<code class="literal">veth</code>"
e842803a
MB
105 and accepts the following key:</p><div class="variablelist"><dl class="variablelist"><dt id="Name="><span class="term"><code class="varname">Name=</code></span><a class="headerlink" title="Permalink to this term" href="#Name=">¶</a></dt><dd><p>The interface name used when creating the netdev.
106 This option is compulsory.</p></dd><dt id="MACAddress="><span class="term"><code class="varname">MACAddress=</code></span><a class="headerlink" title="Permalink to this term" href="#MACAddress=">¶</a></dt><dd><p>The peer MACAddress, if not set it is generated in the same
f47781d8 107 way as the MAC address of the main interface.</p></dd></dl></div></div><div class="refsect1"><a name="idm140323539094944"></a><h2 id="[Tun] Section Options">[Tun] Section Options<a class="headerlink" title="Permalink to this headline" href="#%5BTun%5D%20Section%20Options">¶</a></h2><p>The "<code class="literal">[Tun]</code>" section only applies for netdevs of kind
e842803a
MB
108 "<code class="literal">tun</code>", and accepts the following keys:</p><div class="variablelist"><dl class="variablelist"><dt id="OneQueue="><span class="term"><code class="varname">OneQueue=</code></span><a class="headerlink" title="Permalink to this term" href="#OneQueue=">¶</a></dt><dd><p>Takes a boolean argument. Configures whether
109 all packets are queued at the device (enabled), or a fixed number
110 of packets are queued at the device and the rest at the
111 "<code class="literal">qdisc</code>". Defaults to "<code class="literal">no</code>".</p></dd><dt id="MultiQueue="><span class="term"><code class="varname">MultiQueue=</code></span><a class="headerlink" title="Permalink to this term" href="#MultiQueue=">¶</a></dt><dd><p>Takes a boolean argument. Configures whether to
112 use multiple file descriptors (queues) to parallelize packets
113 sending and receiving. Defaults to "<code class="literal">no</code>".</p></dd><dt id="PacketInfo="><span class="term"><code class="varname">PacketInfo=</code></span><a class="headerlink" title="Permalink to this term" href="#PacketInfo=">¶</a></dt><dd><p>Takes a boolean argument. Configures whether packets
114 should be prepened with four extra bytes (two flag bytes and two
115 protocol bytes). If disabled it indicates that the packets will be
116 pure IP packets. Defaults to "<code class="literal">no</code>".</p></dd><dt id="User="><span class="term"><code class="varname">User=</code></span><a class="headerlink" title="Permalink to this term" href="#User=">¶</a></dt><dd><p>User to grant access to the <code class="filename">/dev/net/tun</code>
117 device.</p></dd><dt id="Group="><span class="term"><code class="varname">Group=</code></span><a class="headerlink" title="Permalink to this term" href="#Group=">¶</a></dt><dd><p>Group to grant access to the <code class="filename">/dev/net/tun</code>
f47781d8 118 device.</p></dd></dl></div></div><div class="refsect1"><a name="idm140323539079520"></a><h2 id="[Tap] Section Options">[Tap] Section Options<a class="headerlink" title="Permalink to this headline" href="#%5BTap%5D%20Section%20Options">¶</a></h2><p>The "<code class="literal">[Tap]</code>" section only applies for netdevs of kind
e842803a 119 "<code class="literal">tap</code>", and accepts the same keys as the
f47781d8 120 "<code class="literal">[Tun]</code>" section.</p></div><div class="refsect1"><a name="idm140323539076336"></a><h2 id="[Bond] Section Options">[Bond] Section Options<a class="headerlink" title="Permalink to this headline" href="#%5BBond%5D%20Section%20Options">¶</a></h2><p>The "<code class="literal">[Bond]</code>" section accepts the following
5eef597e
MP
121 key:</p><div class="variablelist"><dl class="variablelist"><dt id="Mode="><span class="term"><code class="varname">Mode=</code></span><a class="headerlink" title="Permalink to this term" href="#Mode=">¶</a></dt><dd><p>Specifies one of the bonding policies. The default is
122 "<code class="literal">balance-rr</code>" (round robin). Possible values are
123 "<code class="literal">balance-rr</code>",
124 "<code class="literal">active-backup</code>",
125 "<code class="literal">balance-xor</code>",
126 "<code class="literal">broadcast</code>",
127 "<code class="literal">802.3ad</code>",
128 "<code class="literal">balance-tlb</code>", and
129 "<code class="literal">balance-alb</code>".
130 </p></dd><dt id="TransmitHashPolicy="><span class="term"><code class="varname">TransmitHashPolicy=</code></span><a class="headerlink" title="Permalink to this term" href="#TransmitHashPolicy=">¶</a></dt><dd><p>Selects the transmit hash policy to use for slave selection in
131 balance-xor, 802.3ad, and tlb modes. Possible values are
132 "<code class="literal">layer2</code>",
133 "<code class="literal">layer3+4</code>",
134 "<code class="literal">layer2+3</code>",
135 "<code class="literal">encap2+3</code>",
136 "<code class="literal">802.3ad</code>", and
137 "<code class="literal">encap3+4</code>".
138 </p></dd><dt id="LACPTransmitRate="><span class="term"><code class="varname">LACPTransmitRate=</code></span><a class="headerlink" title="Permalink to this term" href="#LACPTransmitRate=">¶</a></dt><dd><p>Specifies the rate with which link partner
139 transmits Link Aggregation Control Protocol Data Unit packets
140 in 802.3ad mode. Possible values are
141 "<code class="literal">slow</code>", which requests partner to transmit LACPDUs every 30 seconds, and
142 "<code class="literal">fast</code>", which requests partner to transmit LACPDUs every second.
143 The default value is "<code class="literal">slow</code>".</p></dd><dt id="MIIMonitorSec="><span class="term"><code class="varname">MIIMonitorSec=</code></span><a class="headerlink" title="Permalink to this term" href="#MIIMonitorSec=">¶</a></dt><dd><p>Specifies the frequency that Media Independent Interface link
144 monitoring will occur. A value of zero disables MII link monitoring.
145 This values is rounded down to the nearest millisecond. The default
146 value is 0.</p></dd><dt id="UpDelaySec="><span class="term"><code class="varname">UpDelaySec=</code></span><a class="headerlink" title="Permalink to this term" href="#UpDelaySec=">¶</a></dt><dd><p>Specifies the delay before a link is enabled after a link up
147 status has been detected. This value is rounded down to a multiple of
148 MIIMonitorSec. The default value is 0.</p></dd><dt id="DownDelaySec="><span class="term"><code class="varname">DownDelaySec=</code></span><a class="headerlink" title="Permalink to this term" href="#DownDelaySec=">¶</a></dt><dd><p>Specifies the delay before a link is disabled after a link down
149 status has been detected. This value is rounded down to a multiple of
f47781d8 150 MIIMonitorSec. The default value is 0.</p></dd></dl></div></div><div class="refsect1"><a name="idm140323539051488"></a><h2 id="Example">Example<a class="headerlink" title="Permalink to this headline" href="#Example">¶</a></h2><div class="example"><a name="idm140323539050848"></a><p class="title"><b>Example 1. /etc/systemd/network/bridge.netdev</b></p><div class="example-contents"><pre class="programlisting">[NetDev]
60f067b4 151Name=bridge0
f47781d8 152Kind=bridge</pre></div></div><br class="example-break"><div class="example"><a name="idm140323539049456"></a><p class="title"><b>Example 2. /etc/systemd/network/vlan1.netdev</b></p><div class="example-contents"><pre class="programlisting">[Match]
60f067b4
JS
153Virtualization=no
154
155[NetDev]
156Name=vlan1
157Kind=vlan
158
159[VLAN]
f47781d8 160Id=1</pre></div></div><br class="example-break"><div class="example"><a name="idm140323539047984"></a><p class="title"><b>Example 3. /etc/systemd/network/ipip.netdev</b></p><div class="example-contents"><pre class="programlisting">[NetDev]
e842803a
MB
161Name=ipip-tun
162Kind=ipip
163MTUBytes=1480
164
165[Tunnel]
166Local=192.168.223.238
167Remote=192.169.224.239
f47781d8 168TTL=64</pre></div></div><br class="example-break"><div class="example"><a name="idm140323539046464"></a><p class="title"><b>Example 4. /etc/systemd/network/tap.netdev</b></p><div class="example-contents"><pre class="programlisting">[NetDev]
e842803a
MB
169Name=tap-test
170Kind=tap
171
172[Tap]
173MultiQueue=true
f47781d8 174PacketInfo=true</pre></div></div><br class="example-break"><div class="example"><a name="idm140323539044992"></a><p class="title"><b>Example 5. /etc/systemd/network/sit.netdev</b></p><div class="example-contents"><pre class="programlisting">[NetDev]
e842803a
MB
175Name=sit-tun
176Kind=sit
177MTUBytes=1480
178
179[Tunnel]
180Local=10.65.223.238
f47781d8 181Remote=10.65.223.239</pre></div></div><br class="example-break"><div class="example"><a name="idm140323539043488"></a><p class="title"><b>Example 6. /etc/systemd/network/gre.netdev</b></p><div class="example-contents"><pre class="programlisting">[NetDev]
e842803a
MB
182Name=gre-tun
183Kind=gre
184MTUBytes=1480
185
186[Tunnel]
187Local=10.65.223.238
f47781d8 188Remote=10.65.223.239</pre></div></div><br class="example-break"><div class="example"><a name="idm140323539041984"></a><p class="title"><b>Example 7. /etc/systemd/network/vti.netdev</b></p><div class="example-contents"><pre class="programlisting">[NetDev]
e842803a
MB
189Name=vti-tun
190Kind=vti
191MTUBytes=1480
192
193[Tunnel]
194Local=10.65.223.238
f47781d8 195Remote=10.65.223.239</pre></div></div><br class="example-break"><div class="example"><a name="idm140323539040480"></a><p class="title"><b>Example 8. /etc/systemd/network/veth.netdev</b></p><div class="example-contents"><pre class="programlisting">[NetDev]
e842803a
MB
196Name=veth-test
197Kind=veth
198
199[Peer]
f47781d8 200Name=veth-peer</pre></div></div><br class="example-break"><div class="example"><a name="idm140323539039008"></a><p class="title"><b>Example 9. /etc/systemd/network/dummy.netdev</b></p><div class="example-contents"><pre class="programlisting">[NetDev]
e842803a
MB
201Name=dummy-test
202Kind=dummy
f47781d8 203MACAddress=12:34:56:78:9a:bc</pre></div></div><br class="example-break"></div><div class="refsect1"><a name="idm140323539037408"></a><h2 id="See Also">See Also<a class="headerlink" title="Permalink to this headline" href="#See%20Also">¶</a></h2><p>
60f067b4
JS
204 <a href="systemd.html"><span class="citerefentry"><span class="refentrytitle">systemd</span>(1)</span></a>,
205 <a href="systemd-networkd.html"><span class="citerefentry"><span class="refentrytitle">systemd-networkd</span>(8)</span></a>,
206 <a href="systemd.network.html"><span class="citerefentry"><span class="refentrytitle">systemd.network</span>(5)</span></a>
207 </p></div></div></body></html>