Keepalived不能find我的一个接口

我刚刚安装了一个新的服务器(Ubuntu 14.04)来开始testing我们的keepalivedconfiguration,这个configuration工作正常(Ubuntu 12.04)

我们不在eth1接口上分配公共IP,我们允许keepalived在我们的环境中保护公有IP。

这适用于12.04服务器

/etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback auto eth0 iface eth0 inet static address xxxx netmask xxxx auto eth1 iface eth1 inet static 

/etc/keepalived/keepalived.conf

 vrrp_script chk_haproxy { script "/usr/bin/killall -0 haproxy" interval 2 weight } vrrp_script chk_stunnel { script "/usr/bin/killall -s 0 -r 'stunnel[4]?'" interval 2 weight } global_defs { notification_email { [email protected] } notification_email_from [email protected] smtp_server xxxx smtp_connect_timeout 30 router_id somehost } vrrp_instance VI_01 { interface eth0 state MASTER virtual_router_id 1 priority 150 advert_int 1 garp_master_delay 5 smtp_alert # notify scripts and alerts are optional # # filenames of scripts to run on transitions # can be unquoted (if just filename) # or quoted (if has parameters) # to MASTER transition notify_master "/sbin/route del default gw xxxx" # to BACKUP transition notify_backup "/sbin/route add default gw xxxx" authentication { auth_type PASS auth_pass somepas } track_script { chk_stunnel chk_haproxy } virtual_ipaddress { xxxx/x dev eth1 } virtual_routes { default via xxxx dev eth1 } } 

但是,在14.04系统上,当复制粘贴(只是修改一个新子网的IP地址)keepalived说接口队列是空的,并将eth1声明为缺失的接口。

这是在Ubuntu 14.04 ipvs行为的变化? 没有IP的接口从可用中被丢弃?