Breaking News

How to setup vmware ESXi with single IPv4 and IPv6 address (Kimsufi)

If you are familiar with Kimsufi from OVH which provide really cheap servers but just one IPv4 and IPv6 address with it. When you get a good hardware for really cheap, you would probably want it virtualized and vmware will be the obvious choice.

How to setup Kimsufi vmware with just one IPv4 and IPv6?

If you talk to a Kimsufi vmware expert, he would say you need one public ip for vmware management and each IP for each of your Virtual Servers you create.

Since we got a IPv4 and a IPv6 address, we technically have two IPs. Obviously when you install ESXi, your public IPv4 will be assigned as vmware management address. What we will be doing is assign IPv6 as our management IP address.

  1. Once you installed ESXi on your new server, login with vsphere client.
  2. Under Configuration -> Networking
  3. Open properties of vSwitch 0
  4. Edit Management Network and go to IP Settings
  5. Add your IPv6 as static IP address.
  6. Ensure that IPv6 gateway is correct and click ok to save the new configuration

How to setup vmware ESXi with single IPv4 and IPv6 address (Kimsufi)

You are all set to use IPv6 as your management address. Now open Vsphere client and test to see if you are able to use IPv6 to connect to your server. Once you have confirmed you can connect using IPv6, release the IPv4 address by selecting No IP Settings for IPv4 under properties of Management Network.

Note: Your ISP need to support IPv6 protocol to use an IPv6 address to connect using Vsphere client.

Use single IPv4 address to across multiple virtual machines using NAT port mapping

Using pfSense firewall you can NAT your IPv4 address and distribute it multiple Virtual server in your network.

  1. We need to create a new virtual switch in vmware for our LAN network.
  2. Once created add all your virtual servers network card to this port group.
  3. Create a new virtual machine with two network cards. One network card should in your LAN and the other should be on vm network connecting to physical card of your ESXi
  4. Install pfSense. You can download it for free from pfsense website.
  5. Once pfSense is installed, assign your public IPv4 address to the WAN interface and a private IPv4 address to your LAN interface.
  6. Now from any of your Virtual server open web console of pfSense by entering its LAN ip in a web browser.
  7. Go to Firewall -> NAT
  8. The trick here is to create port mapping rule. If you are running a webserver then you would probably map port 80 to LAN IP of that server. So any request hitting port 80 of your public IP will be redirected to your webserver. Similarly for other servers you can map each port like 3389 for RDP.
  9. Ensure that you assign private IPv4 address in the same range as pfSense to your virtual servers with pfSense as gateway.

How to setup vmware ESXi with single IPv4 and IPv6 address (Kimsufi)

Add a private IPv4 address to manage Kimsufi vmware within VM network

Now you have IPv6 access to Kimsufi vmware, sometimes it is hard to connect using IPv6 if your ISP won’t support.

  1. In the new LAN switch you have created in above step, add a new vmkernal connection.
  2. Under properties, edit Management Network and go to IP Settings
  3. Assign a IPv4 private IP in the same range as of other virtual servers with pfSense as gateway.
  4. Remote into any of your virtual servers and install Vsphere to manage your server using the private IP.

Below is the screenshot of my vmware setup performing the above steps.

How to setup vmware ESXi with single IPv4 and IPv6 address (Kimsufi)

You can also refer a detailed french PDF document on this setup(use Google Translate if you don’t know french). Please drop a comment below if you need any help with this setup.

Reference: www.dmilz.net/share/ESXi_Kimsufi_2.0.pdf

Check Also

reliance jio logo

How to use Reliance Jio 4G SIM on 3G devices

Use Jio 4G SIM on 3G devices – 100% tested The main issue with Reliance Jio …


  1. what if we have only single public ip address, and we need internet to out all vms ?

    • You can use same configuration as above. But you have to use an internal IP for vmware management which means you can only access vmsphere from the any of the VMs. I used IPv6 as backup IP to access VMware incase internal VMs go down.

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Right Click is Disabled !!