First we need to create a Virtual Router and Load Balancer
Note: The Full Kilo setup can be found here – How To Install Openstack Kilo On Solaris-12 With OVS
Will use vrrp v3 (solrias tech)
Install needed packages
pkg install vrrp
Disable redirects
ipadm set-prop -p send_redirects=off ipv4
on first node
The example below users – Router address 10.10.2.215
vrrpadm create-router -T L3 -V 1 -A inet -I net0 -P 10.10.2.216 \ -a 10.10.2.215/22 -p 150 vrrp1
on second node
vrrpadm create-router -T L3 -V 1 -A inet -I net0 -P 10.10.2.217 \ -a 10.10.2.215/22 -p 100 vrrp1
On each node
vrrpadm show-router -x vrrp1
To switch, just up the priorty or disable router
vrrpadm disable-router vrrp1 vrrpadm modify-router -p 200 vrrp1 vrrpadm enable-router vrrp1
Solaris ilb setup
Lets install Solaris iLB and enable it
ipadm set-prop -p forwarding=on ipv4 pkg install ilb svcadm enable ilb svcs ilb