Greetings,
I'm running Ubuntu server 16 in a vm through ESXi. My NIC wasn't configured for the e1000 driver. I couldn't see how I could change this without deleting the NIC so I went ahead and deleted it. I added a new one and now I have no network connection in the vm. I'm trying to static assign an IP in /etc/network/interfaces. The card isn't named eth0; its ens160. I tried to restart it after the changes using systemctl restart ifup@ens160 but it's still not getting an IP. Doing an ifconfig shows a different name for the card - ens33. At this point, I'm not sure what I should do to get my vm connected.
I'm running Ubuntu server 16 in a vm through ESXi. My NIC wasn't configured for the e1000 driver. I couldn't see how I could change this without deleting the NIC so I went ahead and deleted it. I added a new one and now I have no network connection in the vm. I'm trying to static assign an IP in /etc/network/interfaces. The card isn't named eth0; its ens160. I tried to restart it after the changes using systemctl restart ifup@ens160 but it's still not getting an IP. Doing an ifconfig shows a different name for the card - ens33. At this point, I'm not sure what I should do to get my vm connected.