Solved

ESX Ip address

Posted on 2016-09-25
10
71 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 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) 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 119
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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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 119
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
 

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 119
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 119
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

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.
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

803 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