Re: systemd-nspawn + systemd-networkd

2019-06-08 Thread Alexandre Rossi

Hi,

For the container I need a static address, I know in can be configured
on container side.
Is there a way to do this config only on host side?
Edit a file to bind mac address and ip for example.
Like kvm network or "real" dhcp can do?


There does not seem to be any other option than running a full featured 
DHCP server or configuring networking in the container.


Alex



systemd-nspawn + systemd-networkd

2019-06-07 Thread basti
Hello,
i have some systemd-nspan containers with  systemd-networkd and dhcp. so
far so good.
For the container I need a static address, I know in can be configured
on container side.

Is there a way to do this config only on host side?
Edit a file to bind mac address and ip for example.
Like kvm network or "real" dhcp can do?

Best Regards,