VMware Cloud Community
drizuid
Contributor
Contributor

ESXi 1 public ipv4

Hello,

I just got a new host setup with a plethora of ipv6 and one public ipv4 address.

I have a vswitch configured. vswitch0 has the management vmk using an ipv6 address (i can manage it fine via ipv6) and the adapter it's physically connected to also connects to a switch where the ipv4 address is usable.

to verify ipv4 connectivity, i put the ipv4 address on the management and was able to manage remotely.

i have a guest using vswitch0 with a statically configured ip (matching what i used for the host) and default gw configured. I can not ping the default gw.

--------------------------------------

I tried setting up a vswitch1 with no physical nics but added an ipv4 vmk here and statically assigned internal ips to the vmk and my guest. i can ping/manage via ipv4 from the guest to the host ipv4 vmk. i still could not ping the public gateway.

any thoughts? thanks!

Tags (1)
Reply
0 Kudos
4 Replies
crawfordm
Expert
Expert

I am a little confused about your setup.  I need you to clarify a little bit.

  • Are your ipv6 address's publicly accessible ?
  • What type of router / firewall do you have between your ESXi host and your internet connection?
  • Did you put the public ipv4 address on the management interface of your ESXi host?
  • Are the IP4V address of the ESXi host and the IPV4 address of your firewall / router on the same subnet?
  • Are you trying to use both IPV4 & IPV6 to manage your vSphere host?
  • How many physical nics do you have in your ESXi host?

If you setup a vswitch with no physical nics, the vm's on that switch will only be able to talk to vm's on that same vswitch.  They will not be able to talk to anything outside of that vswitch.

------------------------------------------------------------------ If you found this answer useful please consider the use of the Helpful or Correct buttons to award points. Thanks, Marc Crawford CCNA, MCSE, MCTS, A+, Net+, Sec +, VCA-WM, VCA-DCV, VCA-Cloud, VCA-NV, VCP-NV, VCP-DCV, VCP, VCAP5-DCA http://gplus.to/marccrawford http://blog.marccrawford.com @uber_tech_geek
Reply
0 Kudos
drizuid
Contributor
Contributor

thanks for taking a look, to answer your question, in order

ipv6 are publicly accessible

cisco asr1001

no, the ipv4 only exists on a guest

there is no ipv4 on the esxi host; the host is only reachable via ipv6. the ipv4 on the guest is on the same subnet as the router interface

no, i am only using ipv6 to manage the host

I have 2 physical nics on the host; both nics have access to the single public ipv4 and the /56 for my ipv6; both gateway IPs exist on the asr1001 interfaces the host is connected to.

to add a little more. ipv6 works fine across the board; ipv4 works fine if i do put it on the host for management. if i remove it from the host and only put it on a guest, it no longer works.

Reply
0 Kudos
crawfordm
Expert
Expert

I would use one nic for management traffic using ipv6 on vswitch0.  Then create a second vswitch with the 2nd nic for all of your vm traffic.

------------------------------------------------------------------ If you found this answer useful please consider the use of the Helpful or Correct buttons to award points. Thanks, Marc Crawford CCNA, MCSE, MCTS, A+, Net+, Sec +, VCA-WM, VCA-DCV, VCA-Cloud, VCA-NV, VCP-NV, VCP-DCV, VCP, VCAP5-DCA http://gplus.to/marccrawford http://blog.marccrawford.com @uber_tech_geek
drizuid
Contributor
Contributor

i tried that and using 1 nic to do both. I'm not wondering if it's a problem with my ISP. I have a nexus5k that connects to the ASR1001 but i do not control the 1001; im wondering if the problem is there. I just wanted to make sure it wasn't some strange thing I did first :smileygrin:

appreciate the responses!

Reply
0 Kudos