Install ESXi 5 wothout network connection

Hello there,
I am going to install ESXi 5 for the lab. However, I cannot connect to the LAN for some security now. Someone asked me just install ESXi without network connection for that lab. Then, I will create some VM later for developers.

Could you please assist me with this issue?
dongocdungAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Install as normal, but DO NOT CONNECT physical management network interface.
dongocdungAuthor Commented:
you mean I can install it and do not connect to our live network
pulantaiCommented:
As far as i understand,  install the EXSi need to perform on the host itself. Just put in the installer CD and install.

Only to manage the Host and the VMs need to done with networking.
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, but there is also an option to Mark NIC as disconnected in Network Options on the console.

or remove network cable which ever is easiest
dongocdungAuthor Commented:
The installation is ok without network connection. However, when I create the VM I need to connect to live network connection?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
yes, no network is needed for installation.

when you are readybto create a VM you WILL NEED TO CONNECT TO NETWORK TO MANAGE AND CREATE VM.
dongocdungAuthor Commented:
The developers need to do their job on VM but I cannot connect to live network yet because of some security issues.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You can only create a VM on the Host Server if its connected to a network, because management of ESXi is via a network.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
you could use a network crossover cable and a laptop.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Summary.

1. you can install ESXi on server without network connection.

2. you cannot create a VM unless connected to a network management station. You cannot create a VM from the console of the server and install OS.
dongocdungAuthor Commented:
what do you mean?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
you need the server to be connected to network to create a VM.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
do you mean later you will connect to the LAN and create VM for developers.
pulantaiCommented:
Perhaps you can consider Hyper-V?

Install the OS , add Hyper-V role , create and manage VM from the OS itself  , no need to connect to network

However, if other user need to access the VM , networking is required.
dongocdungAuthor Commented:
With VMware, the live network is required?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
To Create a Virtual Machine - Yes.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
or network cross over cable and a laptop connected to server
dongocdungAuthor Commented:
I am confused now. What do I do with the laptop? Do you mean that I use the laptop connects to server and use the network cable connect the laptop to the wall jack?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
if you cannot connect the ESXi server to your LAN - you cannot create a VM.

If you want to build your ESXi server, and create a VM, without connecting to you LAN at present, you could use

1. A Laptop
2. A Network crossover cable (this is not the same cable that connects your laptop to wall jack!)
dongocdungAuthor Commented:
I think the second choice would work in my situation now.
Do you mean that I use the laptop to connect directly to HP server which I will install ESXi on it and create the VM later?
Thanks
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Correct.
dongocdungAuthor Commented:
I will give a try tomorrow or Monday and let know later.
Thanks a lot.
dongocdungAuthor Commented:
I am using the KVM to connect to HP servers. May I use that instead of the laptop? I might not have the crossover cable.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
No.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You need networking, from A PC to server, with crossover.

you will havebto install ESXi without networking, and later when you get the all clear connect to network, and create VM.
dongocdungAuthor Commented:
I just installed ESXi 5 and get into this screen. Do I need to install vSphere on the laptop in order to connect to ESXi 5 server?
11-esxi-5-install.png
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, correct, you need to download and install the vSphere Client to manage the server, hence why you need a network connection.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
with a web browser go to http://192.168.1.38 and download the vSphere Client and install on a computer.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
but if it has an IP address by DHCP, it must be on a network?
dongocdungAuthor Commented:
For now, I don't connect to the live network yet.
dongocdungAuthor Commented:
I used the crossover cable to connect directly to ESXi host. However, I got this error msg "vSphere Client could not connect to "server". An unknown connection error occurred. (The request failed because the server name could not be resolved. (The remote name could not be resolved: 'server'))
I made a crossover cable. I tested it by connecting the laptop to the switch. It works fine.
Please assist me.
Thanks
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
you need to use its IP address it cannot resolve its name

use the IP address 192.168.1.38
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
check you can ping the server 192.168.2,38, but if you havevdownloaded the client via web browser your cross over cable must be working.
dongocdungAuthor Commented:
do I set dns and default gateway blank?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
does not matter at present, or set to IP addresses used on your production network.

but this will not prevent you from connecting.
dongocdungAuthor Commented:
i used the IP address from live network before but I could not ping to the server. In additional, I got the error above.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
where did you get the vSpherevclient from?
dongocdungAuthor Commented:
vmware website
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
if your laptop and server have IP addresses on the same IP network and subnet, working croos over cable between server and laptop, you should

1. be able to ping
2. be able to connect to server using IP address
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
so you have not test network communications between server and laptop?

where did server get DHCP IP address from?
dongocdungAuthor Commented:
The laptop and server have the same network. The NIC on the laptop is flashing. However, I am not able to ping and connect to server using IP Address
dongocdungAuthor Commented:
When I pinged the IP Address of the server. I got this:
ping 10.10.10.40
PING: transmit failed. General failure.
dongocdungAuthor Commented:
What do you mean?
Now, I don't connect to the LAN yet.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
ip address previously was 192 from DHCP?

what IP address does the server have?

what IP address does your laptop have?
dongocdungAuthor Commented:
IP Address:
Server: 10.10.10.40
Laptop: 10.10.10.145
Default Gateway: 10.10.10.4
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
have you got the cable in the server correct LAN socket?

are Link lights on both network cards on laptop and server?

try different IP addresses 192.168.1.1 and 192.168.1.2 subnet 255.255.255.0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
crossover cable fault?

try different IP address, no default gateway
dongocdungAuthor Commented:
The link light on both network cards on laptop and server
If I use IP address (192.168.1.1), it is different from the laptop (10.10.10.145)
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
yes, CHANGE IP ADDRESSES ON BOTH FOR TEST
dongocdungAuthor Commented:
Do I need to set for DNS and gateway
dongocdungAuthor Commented:
It must have the gateway and DNS.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
no need for dns or gateway for test, with crossover cable
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
at present we are trying to diagnose why you cannot simply

1. ping
2. connect
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
the less configuration we have the better
dongocdungAuthor Commented:
If I leave the gateway address blank, I get "Invalid Gateway address"
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
what is the server?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
just put 192.168.1.254
dongocdungAuthor Commented:
ESXi host
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
check the server configuration, that networks are connected with a CROSS X in the box, on the console of server
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
MAKE AND MODEL
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
earlier in your screenshot the server got an IP address from,a DHCP server?

how did it get this IP address?
dongocdungAuthor Commented:
Where is the server configuration?
dongocdungAuthor Commented:
I see "System Customization"
dongocdungAuthor Commented:
oh, I just got the similar screenshot online. it was not mine ;)
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
thats correct
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
okay!
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
select F2 and you will see other options
dongocdungAuthor Commented:
In the  "System Customization", I don't see "F2"
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
press F2
dongocdungAuthor Commented:
In the  "System Customization, there are three options <Up/Down>, <Enter> , and <Esc>
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
press Function Key No.2 for Customize System View Logs
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Are you at the ESXi 5.0 Console Screen?

which is yellow and black?

and has Download Tools from.....
dongocdungAuthor Commented:
I see the View System Logs, It that one?
dongocdungAuthor Commented:
I was there. Then, I pressed F2 to get into System Customization
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
did you have to Login, with root and password after press F2?
dongocdungAuthor Commented:
Yes, i did
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
you should see a list of options in that menu

<Up/Down>, <Enter> , and <Esc>
those are at the bottom, above is a list of options
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
is the Background Yellow on the Left and Black on the Right?
dongocdungAuthor Commented:
Yes, those are at the bottom
dongocdungAuthor Commented:
Yes, it is
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
what you should see:-

DCUI
dongocdungAuthor Commented:
Yes, it is same with that screen you attached
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Have you not configured here before?

select Configure Management Network and add IP addresses
dongocdungAuthor Commented:
Yes, I have. I have assigned 10.10.10.40 to the host
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
change the IP address, also check Configure Management Network, Network Adaptors, states CONNECTED and there is a CROSS in.

also use the Test Management Network to also ping you laptop
dongocdungAuthor Commented:
There is a CROSS in Network Adepter but Status is DISCONNECTED. What can I do to have it CONNECTED.
dongocdungAuthor Commented:
It is CONNECTED now but still cannot ping
dongocdungAuthor Commented:
I am able to ping now but cannot connect to the host using vSphere
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
This is the issue, either you've got the crossover cable connected into the wrong network port, or the crossover cable is not working correctly with your laptop.

it could be that the server is trying to Negiotate a 1GBe link, and your laptop is only 100Mbps?

you would need to login to the console, ALT-F1 after enabling in Troubleshooting Options
Enable SSH, Enable Shell

and then type esxcfg-nics -l

and probably try a esxcfg-nics -a vmnic0

or

esxcfg-nics --speed 100 -duplex full vmnic0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dongocdungAuthor Commented:
OK, finally I am able to connect to the host. I use IP Address instead of the host name
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
if you cannot ping, you will not be able to connect with vSphere.

this is the issue.

make sure you specift the IP address in vSphere Client.
dongocdungAuthor Commented:
Thanks very much.
How can I assign the license for it?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
When connected to it from vSphere Client.
dongocdungAuthor Commented:
I have vSphere open now. I am looking for it and enter license key
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Okay, I believe your question has been answered. We have gone off topic long ago on the question. If this answer as been helpful please assign points.

If you have any other VMware related questions, please post a new question and myself or other Experts will be glad to assist.
dongocdungAuthor Commented:
Ok, I get it.Thank you very much.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.