]> git.ipfire.org Git - thirdparty/systemd.git/blame - network/80-container-ve.network
sysusers: add support for a --image= switch
[thirdparty/systemd.git] / network / 80-container-ve.network
CommitLineData
d9215cd8
ZJS
1# SPDX-License-Identifier: LGPL-2.1+
2#
4eaea664
LP
3# This file is part of systemd.
4#
5# systemd is free software; you can redistribute it and/or modify it
6# under the terms of the GNU Lesser General Public License as published by
7# the Free Software Foundation; either version 2.1 of the License, or
8# (at your option) any later version.
9
3af18d8e
LP
10# This network file matches the host-side of the virtual Ethernet link
11# created by systemd-nspawn's --network-veth switch. See systemd-nspawn(1) for
12# details.
13
4eaea664
LP
14[Match]
15Name=ve-*
16Driver=veth
17
18[Network]
2f6379a9 19# Default to using a /28 prefix, giving up to 13 addresses per container.
7826397d 20Address=0.0.0.0/28
0737984f 21LinkLocalAddressing=yes
7826397d 22DHCPServer=yes
5a8bcb67 23IPMasquerade=yes
2a5a6e05 24LLDP=yes
bbc0c094 25EmitLLDP=customer-bridge