Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   systemd.network    ( 5 )

конфигурация сети (Network configuration)

  Name  |  Synopsis  |  Description  |  Match section options  |  [link] section options  |  [sr-iov] section options  |  Network section options  |  [address] section options  |  [neighbor] section options  |  [ipv6addresslabel] section options  |  [routingpolicyrule] section options  |  [nexthop] section options  |  [route] section options  |  Dhcpv4 section options  |  Dhcpv6 section options  |  [dhcpv6prefixdelegation] section options  |  [ipv6acceptra] section options  |  [dhcpserver] section options  |  [dhcpserverstaticlease] section options  |  [ipv6sendra] section options  |  [ipv6prefix] section options  |  [ipv6routeprefix] section options  |  [bridge] section options  |  [bridgefdb] section options  |  [bridgemdb] section options  |  [lldp] section options  |  [can] section options  |  [qdisc] section options  |  [networkemulator] section options  |  [tokenbucketfilter] section options  |  [pie] section options  |  [flowqueuepie] section options  |  [stochasticfairblue] section options  |  [stochasticfairnessqueueing] section options  |  [bfifo] section options  |  [pfifo] section options  |  [pfifoheaddrop] section options  |  [pfifofast] section options  |  [cake] section options  |  [controlleddelay] section options  |  [deficitroundrobinscheduler] section options  |  [deficitroundrobinschedulerclass] section options  |  [enhancedtransmissionselection] section options  |  [genericrandomearlydetection] section options  |  [fairqueueingcontrolleddelay] section options  |  [fairqueueing] section options  |  [triviallinkequalizer] section options  |  [hierarchytokenbucket] section options  |  [hierarchytokenbucketclass] section options  |  [heavyhitterfilter] section options  |  [quickfairqueueing] section options  |  [quickfairqueueingclass] section options  |  [bridgevlan] section options  |  Examples  |  See also  |  Note  |

Имя (Name)

systemd.network - Network configuration


Синопсис (Synopsis)

network.network


Описание (Description)

A plain ini-style text file that encodes network configuration for matching network interfaces, used by systemd-networkd(8). See systemd.syntax(7) for a general description of the syntax.

The main network file must have the extension .network; other extensions are ignored. Networks are applied to links whenever the links appear.

The .network files are read from the files located in the system network directories /usr/lib/systemd/network and /usr/local/lib/systemd/network, the volatile runtime network directory /run/systemd/network and the local administration network directory /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 /etc/ have the highest priority, files in /run/ take precedence over files with the same name under /usr/. This can be used to override a system-supplied configuration file with a local file if needed. As a special case, an empty file (file size 0) or symlink with the same name pointing to /dev/null disables the configuration file entirely (it is "masked").

Along with the network file foo.network, a "drop-in" directory foo.network.d/ may exist. All files with the suffix ".conf" from this directory will be merged in the alphanumeric order and parsed after the main file itself has been parsed. This is useful to alter or add configuration settings, without having to modify the main configuration file. Each drop-in file must have appropriate section headers.

In addition to /etc/systemd/network, drop-in ".d" directories can be placed in /usr/lib/systemd/network or /run/systemd/network directories. Drop-in files in /etc/ take precedence over those in /run/ which in turn take precedence over those in /usr/lib/. Drop-in files under any of these directories take precedence over the main network file wherever located.