Solved

Install ESXi 5 wothout network connection

Posted on 2012-03-22
96
1,017 Views
Last Modified: 2012-03-23
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?
0
Comment
Question by:dongocdung
  • 51
  • 43
  • 2
96 Comments
 
LVL 118
ID: 37753433
Install as normal, but DO NOT CONNECT physical management network interface.
0
 

Author Comment

by:dongocdung
ID: 37753453
you mean I can install it and do not connect to our live network
0
 

Expert Comment

by:pulantai
ID: 37753457
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.
0
 
LVL 118
ID: 37753464
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
0
 

Author Comment

by:dongocdung
ID: 37753472
The installation is ok without network connection. However, when I create the VM I need to connect to live network connection?
0
 
LVL 118
ID: 37753484
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.
0
 

Author Comment

by:dongocdung
ID: 37753485
The developers need to do their job on VM but I cannot connect to live network yet because of some security issues.
0
 
LVL 118
ID: 37753494
You can only create a VM on the Host Server if its connected to a network, because management of ESXi is via a network.
0
 
LVL 118
ID: 37753499
you could use a network crossover cable and a laptop.
0
 
LVL 118
ID: 37753516
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.
0
 

Author Comment

by:dongocdung
ID: 37753524
what do you mean?
0
 
LVL 118
ID: 37753531
you need the server to be connected to network to create a VM.
0
 
LVL 118
ID: 37753535
do you mean later you will connect to the LAN and create VM for developers.
0
 

Expert Comment

by:pulantai
ID: 37753554
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.
0
 

Author Comment

by:dongocdung
ID: 37753596
With VMware, the live network is required?
0
 
LVL 118
ID: 37753663
To Create a Virtual Machine - Yes.
0
 
LVL 118
ID: 37753666
or network cross over cable and a laptop connected to server
0
 

Author Comment

by:dongocdung
ID: 37753751
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?
0
 
LVL 118
ID: 37753842
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!)
0
 

Author Comment

by:dongocdung
ID: 37753877
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
0
 
LVL 118
ID: 37753888
Correct.
0
 

Author Comment

by:dongocdung
ID: 37753908
I will give a try tomorrow or Monday and let know later.
Thanks a lot.
0
 

Author Comment

by:dongocdung
ID: 37753917
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.
0
 
LVL 118
ID: 37753928
No.
0
 
LVL 118
ID: 37753938
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.
0
 

Author Comment

by:dongocdung
ID: 37757498
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
0
 
LVL 118
ID: 37757509
Yes, correct, you need to download and install the vSphere Client to manage the server, hence why you need a network connection.
0
 
LVL 118
ID: 37757522
with a web browser go to http://192.168.1.38 and download the vSphere Client and install on a computer.
0
 
LVL 118
ID: 37757525
but if it has an IP address by DHCP, it must be on a network?
0
 

Author Comment

by:dongocdung
ID: 37757527
For now, I don't connect to the live network yet.
0
 

Author Comment

by:dongocdung
ID: 37758937
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
0
 
LVL 118
ID: 37759017
you need to use its IP address it cannot resolve its name

use the IP address 192.168.1.38
0
 
LVL 118
ID: 37759028
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.
0
 

Author Comment

by:dongocdung
ID: 37759049
do I set dns and default gateway blank?
0
 
LVL 118
ID: 37759074
does not matter at present, or set to IP addresses used on your production network.

but this will not prevent you from connecting.
0
 

Author Comment

by:dongocdung
ID: 37759085
i used the IP address from live network before but I could not ping to the server. In additional, I got the error above.
0
 
LVL 118
ID: 37759096
where did you get the vSpherevclient from?
0
 

Author Comment

by:dongocdung
ID: 37759099
vmware website
0
 
LVL 118
ID: 37759103
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
0
 
LVL 118
ID: 37759107
so you have not test network communications between server and laptop?

where did server get DHCP IP address from?
0
 

Author Comment

by:dongocdung
ID: 37759110
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
0
 

Author Comment

by:dongocdung
ID: 37759114
When I pinged the IP Address of the server. I got this:
ping 10.10.10.40
PING: transmit failed. General failure.
0
 

Author Comment

by:dongocdung
ID: 37759117
What do you mean?
Now, I don't connect to the LAN yet.
0
 
LVL 118
ID: 37759131
ip address previously was 192 from DHCP?

what IP address does the server have?

what IP address does your laptop have?
0
 

Author Comment

by:dongocdung
ID: 37759135
IP Address:
Server: 10.10.10.40
Laptop: 10.10.10.145
Default Gateway: 10.10.10.4
0
 
LVL 118
ID: 37759138
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
0
 
LVL 118
ID: 37759150
crossover cable fault?

try different IP address, no default gateway
0
 

Author Comment

by:dongocdung
ID: 37759152
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)
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 118
ID: 37759160
yes, CHANGE IP ADDRESSES ON BOTH FOR TEST
0
 

Author Comment

by:dongocdung
ID: 37759167
Do I need to set for DNS and gateway
0
 

Author Comment

by:dongocdung
ID: 37759171
It must have the gateway and DNS.
0
 
LVL 118
ID: 37759181
no need for dns or gateway for test, with crossover cable
0
 
LVL 118
ID: 37759183
at present we are trying to diagnose why you cannot simply

1. ping
2. connect
0
 
LVL 118
ID: 37759186
the less configuration we have the better
0
 

Author Comment

by:dongocdung
ID: 37759188
If I leave the gateway address blank, I get "Invalid Gateway address"
0
 
LVL 118
ID: 37759190
what is the server?
0
 
LVL 118
ID: 37759193
just put 192.168.1.254
0
 

Author Comment

by:dongocdung
ID: 37759194
ESXi host
0
 
LVL 118
ID: 37759199
check the server configuration, that networks are connected with a CROSS X in the box, on the console of server
0
 
LVL 118
ID: 37759202
MAKE AND MODEL
0
 
LVL 118
ID: 37759206
earlier in your screenshot the server got an IP address from,a DHCP server?

how did it get this IP address?
0
 

Author Comment

by:dongocdung
ID: 37759210
Where is the server configuration?
0
 

Author Comment

by:dongocdung
ID: 37759218
I see "System Customization"
0
 

Author Comment

by:dongocdung
ID: 37759221
oh, I just got the similar screenshot online. it was not mine ;)
0
 
LVL 118
ID: 37759223
thats correct
0
 
LVL 118
ID: 37759225
okay!
0
 
LVL 118
ID: 37759231
select F2 and you will see other options
0
 

Author Comment

by:dongocdung
ID: 37759235
In the  "System Customization", I don't see "F2"
0
 
LVL 118
ID: 37759240
press F2
0
 

Author Comment

by:dongocdung
ID: 37759249
In the  "System Customization, there are three options <Up/Down>, <Enter> , and <Esc>
0
 
LVL 118
ID: 37759253
press Function Key No.2 for Customize System View Logs
0
 
LVL 118
ID: 37759262
Are you at the ESXi 5.0 Console Screen?

which is yellow and black?

and has Download Tools from.....
0
 

Author Comment

by:dongocdung
ID: 37759265
I see the View System Logs, It that one?
0
 

Author Comment

by:dongocdung
ID: 37759269
I was there. Then, I pressed F2 to get into System Customization
0
 
LVL 118
ID: 37759270
did you have to Login, with root and password after press F2?
0
 

Author Comment

by:dongocdung
ID: 37759272
Yes, i did
0
 
LVL 118
ID: 37759277
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
0
 
LVL 118
ID: 37759281
is the Background Yellow on the Left and Black on the Right?
0
 

Author Comment

by:dongocdung
ID: 37759282
Yes, those are at the bottom
0
 

Author Comment

by:dongocdung
ID: 37759285
Yes, it is
0
 
LVL 118
ID: 37759289
what you should see:-

DCUI
0
 

Author Comment

by:dongocdung
ID: 37759291
Yes, it is same with that screen you attached
0
 
LVL 118
ID: 37759294
Have you not configured here before?

select Configure Management Network and add IP addresses
0
 

Author Comment

by:dongocdung
ID: 37759297
Yes, I have. I have assigned 10.10.10.40 to the host
0
 
LVL 118
ID: 37759308
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
0
 

Author Comment

by:dongocdung
ID: 37759316
There is a CROSS in Network Adepter but Status is DISCONNECTED. What can I do to have it CONNECTED.
0
 

Author Comment

by:dongocdung
ID: 37759338
It is CONNECTED now but still cannot ping
0
 

Author Comment

by:dongocdung
ID: 37759349
I am able to ping now but cannot connect to the host using vSphere
0
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 37759355
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
0
 

Author Comment

by:dongocdung
ID: 37759358
OK, finally I am able to connect to the host. I use IP Address instead of the host name
0
 
LVL 118
ID: 37759361
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.
0
 

Author Comment

by:dongocdung
ID: 37759363
Thanks very much.
How can I assign the license for it?
0
 
LVL 118
ID: 37759368
When connected to it from vSphere Client.
0
 

Author Comment

by:dongocdung
ID: 37759375
I have vSphere open now. I am looking for it and enter license key
0
 
LVL 118
ID: 37759390
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.
0
 

Author Comment

by:dongocdung
ID: 37759395
Ok, I get it.Thank you very much.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now