Solved

ESX Ip address

Posted on 2016-09-25
10
63 Views
Last Modified: 2016-10-27
When setting up ESXi server, you can specify IP address (Static or through DHCP). on the DUCI
Well, ESX servers usually have many physical Network Adapters , probably(If I am correct) each Network Adapter can be connected to separate physical Switch and separate VLAN.

So how do you know which Network Adapter the IP address of ESXi server is tied to.

I also want to know whether the IP address of ESXi server is the Default Gateway IP ADDRESS for each VMKernel Port, or the Layer 3 IP address (SVI or Router interface) is the Default Gateway for each Vmkernel Port ?

For instance when you create VMkernel port, you specify IP address, Mask and DG.. in this case the DG points to  an IP address (SVI on the switch or Interface of the router) OR it points to the IP address of the ESXi server ?

Thank you
0
Comment
Question by:jskfan
  • 5
  • 5
10 Comments
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 41814668
So how do you know which Network Adapter the IP address of ESXi server is tied to.

that depends on which physical network interface is connected to the vSwitch the management interface is connected to.

Check your networking.

Also you can check, the IP Address, against the MAC Address, can sometimes be the MAC Address of the physical nic, e.g. vmnic0

But it is possible that you can have a management IP Address, on a virtual mac address, which is NOT, related t a physical mac address on the server.

I also want to know whether the IP address of ESXi server is the Default Gateway IP ADDRESS for each VMKernel Port, or the Layer 3 IP address (SVI or Router interface) is the Default Gateway for each Vmkernel Port ?

These can be different, depends which VMKernel Portgroup you are referring to. e.g. Management Interface, the Default Gateway would be the Default Gateway for your network/subnet.

For instance when you create VMkernel port, you specify IP address, Mask and DG.. in this case the DG points to  an IP address (SVI on the switch or Interface of the router) OR it points to the IP address of the ESXi server ?

Default Gateway is for your Default Gateway for that LAN, if you have a default gateway.

You don't generally use the IP Address of the server as the default gateway, you would not be able to route packets anywhere.
0
 

Author Comment

by:jskfan
ID: 41818035
Ok Andrew..
How do you provide Network High Availability for ESX host.

Let's say it has 2 Physical Network Adapters that are teamed, or not teamed. Do you connect them to 2 separate physical switches ?

Also if I am not wrong , the Trunk port configuration is done only at the Physical switch ports, nothing to be done at the physical Nics of the ESX host as it automatically negotiate the trunk.... Correct?
0
 
LVL 118
ID: 41818196
Let's say it has 2 Physical Network Adapters that are teamed, or not teamed. Do you connect them to 2 separate physical switches ?

Correct, to avoid single points of failure.

Also if I am not wrong , the Trunk port configuration is done only at the Physical switch ports, nothing to be done at the physical Nics of the ESX host as it automatically negotiate the trunk.... Correct?

Correct, apart from making sure the teaming policy configuration matches, your physical configuration.
0
 

Author Comment

by:jskfan
ID: 41823241
If I am not wrong , even the IP address of ESX host, that you configure on the DCUI, is considered as Virtual IP address, means not tied to the physical NICs.....
Example:
 the Physical Nics of ESX1 are "Trunk" , VMs on the ESX1 host can be on separate subnets and have separate IP addresses.
if you ping them from other ESX2 host, the ping packet will go through the Physical NICs of ESX1 to reach the VMs, so if ESX1 IP address was tied to its physical Nics , you will only be able to ping the ESX1 IP address and not the VMs on the ESX1
0
 
LVL 118
ID: 41823285
If I am not wrong , even the IP address of ESX host, that you configure on the DCUI, is considered as Virtual IP address, means not tied to the physical NICs.....

Check and confirm, by the MAC Address. Usually the first IP Address configured is a real MAC Address, on the actually nic, but this can change.

Remember the VMs are connected to a vSwitch, via a Virtual Machine Portgroup, and the vSwitch is connected to an uplink (physical nic).

Check out your assumptions, and obtain the MAC Address for the ESXi Management IP Address, is it virtual or is it physical ?
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:jskfan
ID: 41834769
Andrew,
I am following the Analogy of a Cisco Physical Switch..

A physical Switch with a Port (interface) configured as Trunk port, will not have an IP address tied to it.
So, Vmware Virtual Switch can be the same, since the Physical Nics act as Trunk ports
0
 
LVL 118
ID: 41834932
A physical switch does have an IP Address.

But there trunk ports do not.

Check out your assumptions, and obtain the MAC Address for the ESXi Management IP Address, is it virtual or is it physical ?
0
 

Author Comment

by:jskfan
ID: 41835735
A physical switch does have an IP Address.

Layer 3 does but layer 2 does not as far as I know.


Layer 3 can have Many IPs (Each SVI can have one) and a Physical Port can have an IP address, when "No Switchport" is configured on the port.


What I was trying to understand:
in ESX physical Nic , if it has  the role of Trunk port and has IP address tied to the Nic then it is a different concept than the Trunk port of a physical switch
0
 
LVL 118
ID: 41840918
That is correct.

But look at the MAC Address of the IP Address of your ESXi host and it will reveal if it's a physical or virtual Mac address which was original question.
0
 

Author Closing Comment

by:jskfan
ID: 41862942
Thank you
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

895 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