How to create eth0 in VM

Reply

How to create eth0 in VM

I just convert the VM to ESX(i) format,

after boot up machine, how can I setup the eth0,

command ifconfig -a  show loopback interface only

L0 Member

Re: How to create eth0 in VM

I first switched the interface type from "flexible" to "E1000", and then I saw the interface (although it wasn't eth0).  Putting an IP on it was done through "sudo ifconfig" commands, and then I used the "sudo route" command to add a default gateway.  I haven't figured out a way yet to make the settings permanent, but I can at least get to the tool this way.  The tool needs a bit of work in terms of making it a smooth deployment for sure.

Ron

L7 Applicator

Re: How to create eth0 in VM

Hi,

In order to change the ip address and keep the changes use:

sudo nmtui

And edit the interface, the changes will be saved and survive to a reboot

Regards

L0 Member

Re: How to create eth0 in VM

Thanks for the tip...  that worked perfectly.

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!