carp with vlan on a lagg interface

Hi,
I have a lagg0 interface with a vlan configured on it, I have loaded the carp module and have following settings but the carp doesn't seem to be working.
ifconfig_em0="up"
ifconfig_em1="up"
ifconfig_em2="up"
ifconfig_em3="up"
cloned_interfaces="lagg0 vlan10 vlan10_alias"
ifconfig_lagg0="laggproto failover laggport em0 laggport em1 192.168.10.1 netmask 255.255.255.0"
ifconfig_vlan10="inet 10.0.0.2 netmask 255.255.255.0 vlan 10 vlandev lagg0"
ifconfig_vlan10_alias0="inet vhid 1 pass testpass alias 10.0.0.1/24"
vlan10_alias doesn't come up neither do I see or can ping the 10.0.0.1 IP. Can someone point-out the missing configuration or my mistake ?

Regards
 
Hi,
I have the carp working now, I had made a mistake, I had ifconfig_vlan10_alias=" instead of ifconfig_vlan10_alias0=" in my rc.conf
It works fine now and by the way, I am testing this configuration on my laptop using virtual-box and it works ;)
So now the working configuration is as follow,

cloned_interfaces="lagg0 vlan10"
ifconfig_lagg0="laggproto failover laggport em0 laggport em1 laggport em2 192.168.10.2 netmask 255.255.255.0"

ifconfig_vlan10="inet 10.0.0.3 netmask 255.255.255.0 vlan 10 vlandev lagg0"
ifconfig_vlan10_alias0="inet vhid 1 advskew 100 rpass testpass alias 10.0.0.1/24"
 
Back
Top