...
add lines below intial interface - in our vm the second nic will be ens34 (*
Info |
---|
*the second NIC name can be verified by typing ifconfig -a |
...
from system prompt |
allow-hotplug ens34
iface ens34 inet static
netmask 255.255.255.0
address 192.168.1.100
...