Had problems configuring the static network inside a gentoo VM.

The network never came up but when I logged in and started the
network.service manually it worked. Strange.

The mentioned service-file was the one here (my posting with /bin/ip):

http://gentoo.2317880.n4.nabble.com/Systemd-and-static-network-td265801.html

So I googled some more and used the more complex file from arch:

https://wiki.archlinux.org/index.php/Network_Configuration#Manual_connection_at_boot_using_systemd

With this the VM gets connected fine now.

It's even more flexible as it allows to set up multiple NICs by simply
creating the corresponding config-file in /etc/conf.d

Reply via email to