Solved

ESX Ip address

Posted on 2016-09-25
10
90 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 121

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 121
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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

690 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