This is my take at the FreeBSD 11 network configuration on fail-over IPs. Append the following to
/etc/rc.conf. In my example
em0 is the network interface (use
ifconfig to confirm),
220.127.116.11 is the VMs IP-address and
18.104.22.168 is the ESXi host.
ifconfig_em0="inet 22.214.171.124 netmask 255.255.255.255 broadcast 126.96.36.199" static_routes="em0_iface" routes_em_iface="-net 188.8.131.52 -iface em0" defaultrouter="184.108.40.206"
We configure DNS resolving using the OVH DNS server
220.127.116.11 by creating
/etc/nslookup.conf with the following contents:
If you lose connectivity after a while check your
dmesg for ARP entries changes mac-address (especially your ESXi host/gateway). If this happens you can create
It might not be the most OS-native way, if you have improvements please let me know.