]> git.ipfire.org Git - thirdparty/systemd.git/blob - man/systemd-networkd.service.xml
man: networkd - additional examples related to bridging
[thirdparty/systemd.git] / man / systemd-networkd.service.xml
1 <?xml version='1.0'?> <!--*-nxml-*-->
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
4
5 <!--
6 This file is part of systemd.
7
8 Copyright 2013 Tom Gundersen
9
10 systemd is free software; you can redistribute it and/or modify it
11 under the terms of the GNU Lesser General Public License as published by
12 the Free Software Foundation; either version 2.1 of the License, or
13 (at your option) any later version.
14
15 systemd is distributed in the hope that it will be useful, but
16 WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Lesser General Public License for more details.
19
20 You should have received a copy of the GNU Lesser General Public License
21 along with systemd; If not, see <http://www.gnu.org/licenses/>.
22 -->
23
24 <refentry id="systemd-networkd.service" conditional='ENABLE_NETWORKD'>
25
26 <refentryinfo>
27 <title>systemd-networkd.service</title>
28 <productname>systemd</productname>
29
30 <authorgroup>
31 <author>
32 <contrib>Developer</contrib>
33 <firstname>Tom</firstname>
34 <surname>Gundersen</surname>
35 <email>teg@jklm.no</email>
36 </author>
37 </authorgroup>
38 </refentryinfo>
39
40 <refmeta>
41 <refentrytitle>systemd-networkd.service</refentrytitle>
42 <manvolnum>8</manvolnum>
43 </refmeta>
44
45 <refnamediv>
46 <refname>systemd-networkd.service</refname>
47 <refname>systemd-networkd</refname>
48 <refpurpose>Network manager</refpurpose>
49 </refnamediv>
50
51 <refsynopsisdiv>
52 <para><filename>systemd-networkd.service</filename></para>
53 <para><filename>/usr/lib/systemd/systemd-networkd</filename></para>
54 </refsynopsisdiv>
55
56 <refsect1>
57 <title>Description</title>
58
59 <para><command>systemd-networkd</command> is a system
60 service that manages networks. It detects and configures
61 network devices as they appear, as well as creating virtual
62 network devices.</para>
63
64 <para>To configure low-level link settings independently of
65 networks, see
66 <citerefentry><refentrytitle>systemd.link</refentrytitle><manvolnum>5</manvolnum></citerefentry>
67 .</para>
68
69 <para>Network configurations applied before networkd is started
70 are not removed, and static configuration applied by networkd
71 is not removed when networkd exits. Dynamic configuration applied by
72 networkd may also optionally be left in place on shut-down. This ensures
73 restarting networkd does not cut the network connection, and, in particular,
74 that it is safe to transition between the initrd and the real root,
75 and back.</para>
76
77 <para>Nameservers configured in networkd, or received over DHCP
78 are exposed in <filename>/run/systemd/network/resolv.conf</filename>.
79 This file should not be used directly, but only through a symlink
80 from <filename>/etc/resolv.conf</filename>.</para>
81 </refsect1>
82
83 <refsect1><title>Configuration Files</title>
84 <para>The configuration files are read from the files located in the
85 system network directory <filename>/usr/lib/systemd/network</filename>,
86 the volatile runtime network directory
87 <filename>/run/systemd/network</filename> and the local administration
88 network directory <filename>/etc/systemd/network</filename>.</para>
89
90 <para>Networks are configured in <filename>.network</filename> files, see
91 <citerefentry><refentrytitle>systemd.network</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
92 and virtual network devices are configured in <filename>.netdev</filename> files, see
93 <citerefentry><refentrytitle>systemd.netdev</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
94 </para>
95 </refsect1>
96
97 <refsect1>
98 <title>See Also</title>
99 <para>
100 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
101 <citerefentry><refentrytitle>systemd.link</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
102 <citerefentry><refentrytitle>systemd.network</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
103 <citerefentry><refentrytitle>systemd.netdev</refentrytitle><manvolnum>5</manvolnum></citerefentry>
104 </para>
105 </refsect1>
106
107 </refentry>