Hi all,
I tried setting up a VRRP interface with help of the wiki (
https://wiki.smartos.org/display/DOC/Managing+NICs#ManagingNICs-AddingVRRPnicstoVMs
). I used the following configuration to add an interface for use with VRRP
(changed IP's and MAC's):
-----8<-----------------
{
"add_nics": [
{
"nic_tag": "external_8_4_6_78",
"vrrp_vrid": 1,
"vlan_id": 1003,
"ip": "8.4.6.80",
"netmask": "255.255.255.240",
"vrrp_primary_ip": "8.4.6.79"
}
]
}
-----8<-----------------
This creates the device 'net2'. I also allowed IP spoofing on the interface
which VRRP will use for its advertisement ('net1') and disabled the firewall for
the VM.
Next I created a VRRP router in the VM:
-----8<-----------------
# vrrpadm create-router -V 1 -l net2 -A inet vrrp0
-----8<-----------------
Now when I check the status of the VRRP router it hangs in INIT mode:
-----8<-----------------
# vrrpadm show-router
NAME VRID LINK AF PRIO ADV_INTV MODE STATE VNIC
vrrp0 1 net2 IPv4 255 1000 eopa- INIT net2
-----8<-----------------
I would expect it to go to MASTER. Running snoop in the GZ doesn't show any form
of VRRP advertisement. What could make VRRP hang in the INIT state? I should
probably mention that the physical link this runs on is an LACP aggregation.
Kind regards,
Jasper
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com