How to Create a VRRP group in Solaris 11.2 The vLan tag used in the example below is 20 On Host 1
1 2 3 4 5 6 7 8 9 10 11 12 |
dladm create-aggr -m dlmp -l net10 -l net11 aggr1<br /> dladm create-vlan -v 20 -l aggr1 global1<br /> dladm create-vnic -m vrrp -V 12 -A inet -v 20 -l aggr1 ldaplb1<br /> vrrpadm create-router -V 12 -A inet -I global1 vrrp1<br /> # If in a zone or IB, layer 3 option is required to work<br /> vrrpadm create-router -V 12 -A inet -T l3 -I global1 vrrp1<br /> ipadm create-ip ldaplb1<br /> ipadm create-addr -T vrrp -a 10.10.10.50/23 ldaplb1/router1<br /> ipadm create-ip global1<br /> ipadm create-addr -T static -a 10.10.10.11/23 global1/router1<br /> |
On Host 2
1 2 3 4 5 6 7 8 9 10 11 |
dladm create-aggr -m dlmp -l net10 -l net11 aggr1<br /> dladm create-vlan -v 20 -l aggr1 global2<br /> #<br /> dladm create-vnic -m vrrp -V 12 -A inet -v 20 -l aggr1 ldaplb1<br /> # If in a zone or IB, layer 3 option is required to work<br /> vrrpadm create-router -V 12 -A inet -T l3 -I global2 -p 100 vrrp1<br /> ipadm create-ip ldaplb1<br /> ipadm create-addr -T vrrp -a 10.10.10.50/23 ldaplb1/router1<br /> ipadm create-ip global2<br /> ipadm create-addr -T static -a 10.10.10.12/23 global2/router1 |
Note: If using VRRP in combination with Solaris iLB, you should note that SSL Secure termination is not supported as of this writing. an option would be to […]