OVH Community, your new community space.

ESXi and Failover IPs


Akito
08-09-2014, 08:46
Ok, here it goes.
Firstly you need to generate a VMWARE MAC in your SYS-panel, give it a name (whatever, it won't be visible in your panel anyway) and select to create a new virtual MAC. Don't reuse an existing one. Wait a few seconds for the generation to be completed.

Next in your VMWARE-settings paste the generated MAC in your virtual NIC-settings. This can only be done when the virtual machine is turned off.
Next boot up the virtual machine and use the IP that belongs to the generated virtual MAC. Subnetmask is 255.255.255.255. As gateway use the IP of your physical machine and replace the last octet by 254. So for example your physical host is 111.222.123.111, your gateway will be 111.222.123.254.
And use the DNS of SYS or Google or whatever.

That should work for Windows.
For Linux systems you need set a little bit of routing...

Alexsandrolm
06-09-2014, 13:44
I'm in the same situation, no one has a more complete step by step.

Akito
04-09-2014, 10:14
Hey loki have you sorted stuff out meanwhile? Or do you still need help with it?

loki1673
10-08-2014, 22:20
someone explain the working method of setitng up the failover ip vmware so can connect to everything including the ip and outside the vmconsile?
Ive been trying to do it by their damn guide for 30+ hours and no matter how u do it their way breaks networking badly and then causes more work so if someone could tell me how to do it step by step thats actually going to work Id appreciate it

maybars
10-02-2010, 19:35
I saw that you are trying to use 188.x IP which should be Ripe IP Failover. Is that right?

yallow
05-02-2010, 10:53
Just created a new virtual MAC and a new Network Adapter on the VM and it all now works with the same configuration!
The only thing I changed was the type of the network adapter on my VM - it is now VMXNET 3. Not sure if it makes any difference.

Thanks for your help!

Paw-Fox
04-02-2010, 23:42
Quote Originally Posted by yallow
I have some improvement now here, after OVH support kindly fixed the script which links the virtual MAC to my failover IP address. Now I can ping the host from the guest and vice versa, however I can't ping anything else apart from the host on my Guest, and I can't reach my Guest from anywhere apart from my Host. It seems like I need to configure some kind of routing on ESXi so that packets to my guest get forwarded to the VM, and packets from the VM get forwarded to the outside world.

Any ideas how to do that?

Many thanks in advance!!!
You shouldn't have to,

1: You activate a virtual mac in the OVH manager, using "vmware" as the option.
2: Create a new machine in vsphere, once created right click on the virtual machine and go under "NIC" and select "Manual MAC ADdress:" once done that put in the mac that was generated.
3: Connect the cd with an iso/ to the isostore or run remotely
4: The IP settings should be:

IP:
DNS: 213.186.33.99
netmask: 255.255.255.0
broadcast: x.x.x.255
gateway: x.x.x.1 (Normally you can ignore this out)
atm mine is configured as for linux:
eth0="eth0 94.23.159.38 netmask 255.255.255.0 broadcast 94.23.159.255"
gateway="default gw 94.23.159.1"
but should be the same for windows.

It should also work fine, as my site is ran off vsphere machine: http://www.noodle-net.net

yallow
04-02-2010, 20:53
I have some improvement now here, after OVH support kindly fixed the script which links the virtual MAC to my failover IP address. Now I can ping the host from the guest and vice versa, however I can't ping anything else apart from the host on my Guest, and I can't reach my Guest from anywhere apart from my Host. It seems like I need to configure some kind of routing on ESXi so that packets to my guest get forwarded to the VM, and packets from the VM get forwarded to the outside world.

Any ideas how to do that?

Many thanks in advance!!!

pdu
28-01-2010, 15:12
This functionality is still extremely hit and miss, I've had to raise tickets to get them to manually fix every single one I've created, the latest one has been outstanding 9 days now and counting.

Paw-Fox
28-01-2010, 13:33
Yallow,

set the subnet mask to: Subnet mask - 255.255.255.0 - you don't need to do the guide

In otherwise the IP settings should be:

Static IP:
DNS:
Gateway: Leave Blank

and vola should work fine.

Myatu
28-01-2010, 13:25
It simply means "apply the changes" or "click OK". A bit of French-ness Can you at least ping the host from within the VM?

yallow
28-01-2010, 13:02
Thanks for answering Myatu.
I tried both 188.x.x.182 (the IP address of my host - ESXi) and 188.x.x.254 (the gateway on my host) with the same result.
Tried 188.x.x.1 just - the same thing, but this IP doesn't answer even if I ping it from the host, so I think it should be either 188.x.x.182 or 188.x.x.254.

Maybe I missed something..

here - http://help.ovh.co.uk/BridgeClient - it says -

For the second step, via the Start menu, click Run, then type regedit.
Once in the application, you should find your ip-failover (Edit Search).
Once the IP found, double-click the parameter SubnetMask? "and change 255.255.0.0 to 255.255.255.255, then you validate.
Close the registry editor


What does validate mean? I've never done it before.

Myatu
28-01-2010, 12:09
Quote Originally Posted by yallow
Gateway - the same gateway as I have on ESXi - 188.x.x.254
There seems to be a bit of an inconsistency regarding the gateway. Try the static IP address of the host (main server) instead, ie "188.x.x.1".

yallow
28-01-2010, 11:45
Thanks Marks!
Still can't get the network to work though.

My configuration -
Host - ESXi
Guest - Windows 2003

Guest network configuration (Windows 2003) -
IP address - IP failover - 94.23.x.x
Subnet mask - 255.255.255.255
Gateway - the same gateway as I have on ESXi - 188.x.x.254

The MAC address of the VM (Windows 2003) is what I got from OVH (Home > Dedicated servers > Services > Virtual Mac).

I can't ping the gateway (188.x.x.254) from the virtual machine.
(Request time out)

Am I doing anything wrong? How can I troubleshoot this?

Thank you!

marks
28-01-2010, 09:41
yes, you can set up your IP failover in your VMs using any of the virtualization solutions we offer (VMWare, Proxmox, Xen, Citrix Xen, Virtuozzo, M$ Hyper-V and ESXi).

The advantage of virtual MAC is that now, you can use the IP failover in bridge mode, whereas before, you couldn't. ESXi only works in bridging mode, so we had to develope this virtual MAC solution before we could offer it.

yallow
27-01-2010, 19:21
Hi Myatu! You made my day! I thought bridged networks are not allowed in OVH!
Thanks, mate!

Myatu
27-01-2010, 18:52
Hi! Have a look here: http://help.ovh.co.uk/BridgeClient

Before you do follow those instructions, you need to associate a MAC address with your failover IP. You do this from the OVH Manager -> Dedicated Server -> Services -> "Mac for VPS".

Make sure that the network device of the guest has the same MAC address. See http://help.ovh.co.uk/VmwareEsxi4, last image (select "Manual" for the MAC address, and enter it as it appears on your OVH Manager).

yallow
27-01-2010, 16:53
Hello,

Is it possible to assign failover IPs to ESXi Guest OS?
On Vmware Server I use iptables for that.

Thank you!