My new /etc/network/interfaces is as follows:
PHP Code:
# 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
iface lo inet loopback
auto lo eth0 eth0:0 eth0:1 eth0:2
iface eth0 inet static
address 176.31.254.88
netmask 255.255.255.0
network 176.31.254.0
broadcast 176.31.254.255
gateway 176.31.254.254
post-up /sbin/ifconfig eth0:0 94.23.158.88 netmask 255.255.255.255 broadcast 94.23.158.88
post-down /sbin/ifconfig eth0:0 down
post-up /sbin/ifconfig eth0:1 94.23.158.215 netmask 255.255.255.255 broadcast 94.23.158.215
post-down /sbin/ifconfig eth0:1 down
post-up /sbin/ifconfig eth0:2 94.23.158.94 netmask 255.255.255.255 broadcast 94.23.158.94
post-down /sbin/ifconfig eth0:2 down
iface eth0 inet6 static
pre-up /sbin/modprobe -q ipv6 ; /bin/true
address 2001:41d0:8:f58::1
netmask 64
up ifconfig eth0 inet6 add 2001:41d0:8:f58::2/64
###############
iface eth0:0 inet static
address 94.23.158.88
netmask 255.255.255.0
broadcast 94.23.158.255
network 94.23.158.0
#gateway 94.23.158.254
iface eth0:1 inet static
address 94.23.158.215
netmask 255.255.255.0
broadcast 94.23.158.255
network 94.23.158.0
#gateway 94.23.158.254
iface eth0:2 inet static
address 94.23.158.94
netmask 255.255.255.0
broadcast 94.23.158.255
network 94.23.158.0
#gateway 94.23.158.254
###############
I can ping my main IP and get a pong.
I can ping eth0:0 (94.23.158.88) and get a pong.
If I ping eth0:1 (94.23.158.215) or eth0:2 (94.23.158.94) I get no reply.
Running
PHP Code:
tcpdump -ni eth0 icmp
and pinging each IP in turn I can see the following:
Code:
tcpdump -ni eth0 icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
11:23:12.391238 IP 94.172.41.234 > 94.23.158.94: ICMP echo request, id 6652, seq 1, length 64
11:23:13.397351 IP 94.172.41.234 > 94.23.158.94: ICMP echo request, id 6652, seq 2, length 64
11:23:14.403917 IP 94.172.41.234 > 94.23.158.94: ICMP echo request, id 6652, seq 3, length 64
11:23:15.413638 IP 94.172.41.234 > 94.23.158.94: ICMP echo request, id 6652, seq 4, length 64
11:23:17.524686 IP 94.172.41.234 > 94.23.158.88: ICMP echo request, id 6653, seq 1, length 64
11:23:17.524719 IP 94.23.158.88 > 94.172.41.234: ICMP echo reply, id 6653, seq 1, length 64
11:23:18.524768 IP 94.172.41.234 > 94.23.158.88: ICMP echo request, id 6653, seq 2, length 64
11:23:18.524804 IP 94.23.158.88 > 94.172.41.234: ICMP echo reply, id 6653, seq 2, length 64
11:23:19.526924 IP 94.172.41.234 > 94.23.158.88: ICMP echo request, id 6653, seq 3, length 64
11:23:19.526956 IP 94.23.158.88 > 94.172.41.234: ICMP echo reply, id 6653, seq 3, length 64
11:23:23.528926 IP 94.172.41.234 > 94.23.158.215: ICMP echo request, id 6654, seq 1, length 64
11:23:24.527076 IP 94.172.41.234 > 94.23.158.215: ICMP echo request, id 6654, seq 2, length 64
11:23:25.527213 IP 94.172.41.234 > 94.23.158.215: ICMP echo request, id 6654, seq 3, length 64
11:23:26.527370 IP 94.172.41.234 > 94.23.158.215: ICMP echo request, id 6654, seq 4, length 64
^C
14 packets captured
14 packets received by filter
0 packets dropped by kernel
As you can see the only IP that gives a reply is 94.23.158.88, the other two receive the ICMP echo request but ignore it.
I cannot understand why one failover IP works yet the other two which are identical in everything except for the last part of the IP address. I have even moved the .88 ip to a different eth0:n and restarted, I still only get a reply from .88.
I am stumped.