mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 17:51:22 +03:00
2a5a6e05ca
Containers are relatively trusted and the veth tunnels are small networks, hence let's turn on LLDP both ways for them.
20 lines
504 B
SYSTEMD
20 lines
504 B
SYSTEMD
# This file is part of systemd.
|
|
#
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
[Match]
|
|
Name=ve-*
|
|
Driver=veth
|
|
|
|
[Network]
|
|
# Default to using a /28 prefix, giving up to 13 addresses per container.
|
|
Address=0.0.0.0/28
|
|
LinkLocalAddressing=yes
|
|
DHCPServer=yes
|
|
IPMasquerade=yes
|
|
LLDP=yes
|
|
EmitLLDP=yes
|