Solved

ESX Ip address

Posted on 2016-09-25
10
81 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
10 Comments
 
LVL 120

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 120
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

726 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