well:
TRACK_INTERFACES_ONLY_WITH_GROUPS=yes
you don't have groups definitions you will have to say there no or make groups
to be honest, i've never tried it with the global setting, am always using the IPMP groups for failover interfaces, because you have the outbound multipathing feature if you work with groups.
try it my way (by the way it's also the recommended sun way )
you have to turn the global setting off
cat /etc/hosts
192.168.133.10 hostip1
192.168.133.11 hostip2
192.168.133.12 dummy1
192.168.133.13 dummy2
# ifconfig ce0 dummy1 netmask + broadcast + group PRESSY deprecated -failover up addif hostip1 netmask + broadcast + up
# ifconfig ce1 dummy2 netmask + broadcast + group PRESSY deprecated -failover up addif hostip2 netmask + broadcast + up
my ifconfig:
root@venus # ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
hme0: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2
inet 192.168.133.22 netmask ffffff00 broadcast 192.168.133.255
groupname production
ether 8:0:20:c2:d2:da
hme0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.133.20 netmask ffffff00 broadcast 192.168.133.255
hme1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 3
inet 192.168.133.23 netmask ffffff00 broadcast 192.168.133.255
groupname production
ether 8:0:20:c2:d2:db
hme1:1: flags=1000842<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 192.168.133.21 netmask ffffff00 broadcast 192.168.133.255
root@venus #
you will have to use a 100% available gateway, because the IPMP uses the gateway to test the connection. if you don't have a "good" router choose about 4 other hosts and make hostsroutes. if more then the half fail the IPMP groups will go down!
# /usr/sbin/route add -host IP IP
examples:
1:1 ifconfig command into your /etc/hostname.*
# more /etc/hostname.*
### hostname.ce0 ###
dummy1 netmask + broadcast + group PRESSY deprecated -failover up addif hostip1 netmask + broadcast + up
################
### hostname.ce1 ###
dummy2 netmask + broadcast + group PRESSY deprecated -failover up addif hostip2 netmask + broadcast + up
################
i wrote a start script for the route purpose:
# cat /etc/rc2.d/S70ipmp.start
#!/sbin/sh
# small start script by pressy to provide more testtargets than the
# firewall for ipmp.
#
FRAG="192.168.133.52 192.168.133.53 192.168.133.35 192.168.133.34"
case "$1" in
'start')
/usr/bin/echo "adding FRAG targets for IPMP"
for target in $FRAG;
do
/usr/sbin/route add -host $target $target
done
;;
'stop')
/usr/bin/echo "removing FRAG targets for IPMP"
for target in $FRAG;
do
/usr/sbin/route delete -host $target $target
done
;;
esac
to test your configuration use the command
/usr/sbin/if_mpadm -d ce0
to detach the interface then you should see in your messagefile the failover
use /usr/sbin/if_mpadm -r ce0 to reattach the interface again
you will see it works
greetings PRESSY