03-27-2019, 08:19 AM
I installed OMV from ayufan
then I want to config the interface from DHCP to static ip. But When I applied after saved it, there is an "networking.service - Raise network interfaces" error occured.
I logged in and input the "hostname -I" command, it print two ip addresses as:
192.168.0.9 192.168.0.100
the first ip is from dhcp, and the second ip is static ip I hope it to be.
and I input "ifconfig eth0", there is only one ip displayed, it is 192.168.0.9.
So I had to change static ip to dhcp again, and the network is ok now.
So, the question is: how can I set static ip for it?
then I want to config the interface from DHCP to static ip. But When I applied after saved it, there is an "networking.service - Raise network interfaces" error occured.
I logged in and input the "hostname -I" command, it print two ip addresses as:
192.168.0.9 192.168.0.100
the first ip is from dhcp, and the second ip is static ip I hope it to be.
and I input "ifconfig eth0", there is only one ip displayed, it is 192.168.0.9.
So I had to change static ip to dhcp again, and the network is ok now.
So, the question is: how can I set static ip for it?