Solved

ESX Ip address

Posted on 2016-09-25
10
53 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
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 configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
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 …

760 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

19 Experts available now in Live!

Get 1:1 Help Now