torpado
19.05.2015, 11.03
Originariamente Scritto da irox
1) You are using an failover ip WITHOUT an virtual mac as an simple ALIAS:
Use the good configuration for your Failover IP: http://guida.ovh.it/IpSupplementare
important is that you use the good netmask and the right broadcast !
1a) your IP's are an BLOC RIPE NOT SPLITTED:
use the netmask and broadcast that you have received in the email for the allocation of the bloc.
1b) if your IP's are issue from an bloc ripeand if the bloc ripe is SPLITTED and if you NOT use an virtual mac:
the rules are the same as for an normal failover ip !! ( see case 1 )
Notice
An simple failover has not to use an GATEWAY. The ip is routed over the physical IP.
2) you use an failover ip WITH an virtual mac:
so you must ensure that the GATEWAY for the IP is the REAL gateway of your server.
Example:
if the IP of your server is : 91.121.xxx.129 the gateway of your server is 91.121.xxx.254
An failover WITH virtual mac on this host: 91.121.xxx.129 must use:
- 91.121.xxx.254 as gateway
- the assigned mac as mac for the virtual interface
3) you use an failover WITHOUT an virtual mac ON an VIRTUAL MACHINE throught 'NAT'
So your IP must NOT use the default gateway of server ( ip.ser.ver.254 ) BUT the physical IP of your eth0 !!
So the gateway for an IP failover in mode NAT is ip.of.your.server
VRACK customers has not to use the explanations here. They have their OWN guides. http://guida.ovh.it/VRack !!
In vrack a lot of configurations and errors can be possible. This are too many cases for explain here but you always welcome to ask us !
Ho intenzione di collegare all'IP failover due server dedicati centos 5.2
DEVICE="eth0:0"
BOOTPROTO=static
IPADDR="IP.FAIL.OVER"
NETMASK="255.255.255.255"
BROADCAST="IP.FAIL.OVER.ICI"
ONBOOT=yes
DEVICE="eth0:0"
BOOTPROTO=static
IPADDR="xxx.xxx.xxx.xxx"
NETMASK="255.255.255.255"
BROADCAST="xxx.xxx.xxx.xxx"
ONBOOT=yes
GATEWAY="xxx.xxx.xxx.254"
auto eth0 iface eth0 inet static address xxx.xxx.xxx.xxx (IP.FAIL.OVER) netmask 255.255.255.0 broadcast xxx.xxx.xxx.255 network xxx.xxx.xxx.0 gateway IP.SERVER.ROOT.CON.254.FINALE
auto eth0 iface eth0 inet static address IP.FAIL.OVER netmask 255.255.255.255 broadcast IP.FAIL.OVER network IP.FAIL.OVER gateway IP.SERVER.ROOT.CON.254.FINALE
auto eth0 iface eth0 inet static address IP.FAIL.OVER netmask 255.255.255.255 broadcast IP.FAIL.OVER network IP.FAIL.OVER gateway IP.FAIL.OVER
# Auto generated lo interface auto lo iface lo inet loopback # Auto generated venet0 interface auto venet0 iface venet0 inet static address 127.0.0.1 netmask 255.255.255.255 broadcast 0.0.0.0 up route add -net 192.0.2.1 netmask 255.255.255.255 dev venet0 up route add default gw 192.0.2.1 auto venet0:0 iface venet0:0 inet static address 94.23.xx.xxx netmask 255.255.255.255 broadcast 0.0.0.0
auto venet0:1 iface venet0:1 inet static address 94.23.xx.xx netmask 255.255.255.255 broadcast 0.0.0.0
route add default gw dev eth0