Hello everybody,
I have an ESXI physical host, online at OVH (a server provider in France), OVH gives me an public IP for managing my esxi (37.59.42.XX), and gives me 3 fail-over IP, wich can be routed on my physical public IP address. One of these IP is designed by a virtual mac adress for a freenas VM. But the configuration of network is strange :
I must enter in freenas configuration : @ip : 87.98.144.XX/32 , and as default route : 37.59.42.254 BUT with this configuration ( wich is working on an other vm) i can't have wan access...
in ubuntu i have a /etc/network/interface like that :
# WAN
auto eth1
allow-hotplug eth1
iface eth1 inet static
address 188.165.51.***
netmask 255.255.255.255
broadcast 188.165.51.***
post-up route add 37.59.42.254 dev eth1
post-up route add default gw 37.59.42.254
post-down route del 37.59.42.254 dev eth1
post-down del default gw 37.59.42.254
And it works!!
Have you any idea? Thanks a lot!
PS : Sorry for my bad english, i'm french :)
I have an ESXI physical host, online at OVH (a server provider in France), OVH gives me an public IP for managing my esxi (37.59.42.XX), and gives me 3 fail-over IP, wich can be routed on my physical public IP address. One of these IP is designed by a virtual mac adress for a freenas VM. But the configuration of network is strange :
I must enter in freenas configuration : @ip : 87.98.144.XX/32 , and as default route : 37.59.42.254 BUT with this configuration ( wich is working on an other vm) i can't have wan access...
in ubuntu i have a /etc/network/interface like that :
# WAN
auto eth1
allow-hotplug eth1
iface eth1 inet static
address 188.165.51.***
netmask 255.255.255.255
broadcast 188.165.51.***
post-up route add 37.59.42.254 dev eth1
post-up route add default gw 37.59.42.254
post-down route del 37.59.42.254 dev eth1
post-down del default gw 37.59.42.254
And it works!!
Have you any idea? Thanks a lot!
PS : Sorry for my bad english, i'm french :)