[systemd-devel] Systemd-nspawn networkd configuration
Dmitry Kulida
vbnz at bk.ru
Tue Nov 10 04:17:33 PST 2015
Hi guys!
I'm running few systemd-nspawn containers with veth network interfaces. I'd
like to configure separate subnet for each container but all I've found in
config files is using DHCP server for each container and no option to use
fixed IP/SUBNET for each container. Could anyone please help to find option
to configure exact IP/SUBNET for each container instead of system
address/subnet selection?
80-container-ve.network
[Match]
Name=ve-*
Driver=veth
[Network]
# Default to using a /28 prefix, giving up to 13 addresses per container.
Address=1.1.1.0/30
LinkLocalAddressing=yes
DHCPServer=yes
IPMasquerade=yes
--
Thanks!
Dima
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20151110/58aa7964/attachment.html>
More information about the systemd-devel
mailing list