Aha! I have finally solved this. I've no idea *why* it is happening, but 
it seems the order of the lines in /etc/hostname.carp119 is an issue.
It seems that the inet config needs to come after the carp details. See 
below:

# ifconfig carp119 destroy
# cat /etc/hostname.carp119       
carpdev vlan119
vhid 119
pass riohperi
advskew 10
inet 213.133.66.67 255.255.255.248
-inet6
# sh /etc/netstart carp119        
# tcpdump -vni vlan119 proto carp 
tcpdump: listening on vlan119, link-type EN10MB
tcpdump: WARNING: compensating for unaligned libpcap packets
20:58:15.463217 carp 213.133.66.65 > 224.0.0.18: CARPv2-advertise 36:
# vhid=119 advbase=1 advskew=10 demote=0 (DF) [tos 0x10] (ttl 255, id
# 22063, len 56)
20:58:16.513263 carp 213.133.66.65 > 224.0.0.18: CARPv2-advertise 36:
# vhid=119 advbase=1 advskew=10 demote=0 (DF) [tos 0x10] (ttl 255, id
# 52720, len 56)
20:58:17.563312 carp 213.133.66.65 > 224.0.0.18: CARPv2-advertise 36:
# vhid=119 advbase=1 advskew=10 demote=0 (DF) [tos 0x10] (ttl 255, id
# 19235, len 56)
20:58:18.613363 carp 213.133.66.65 > 224.0.0.18: CARPv2-advertise 36:
# vhid=119 advbase=1 advskew=10 demote=0 (DF) [tos 0x10] (ttl 255, id
# 41410, len 56)
20:58:19.663414 carp 213.133.66.65 > 224.0.0.18: CARPv2-advertise 36:
# vhid=119 advbase=1 advskew=10 demote=0 (DF) [tos 0x10] (ttl 255, id
# 57891, len 56)
20:58:20.713464 carp 213.133.66.65 > 224.0.0.18: CARPv2-advertise 36:
# vhid=119 advbase=1 advskew=10 demote=0 (DF) [tos 0x10] (ttl 255, id
# 32986, len 56)
^C
24 packets received by filter
0 packets dropped by kernel
# mg /etc/hostname.carp119               
# cat /etc/hostname.carp119
inet 213.133.66.67 255.255.255.248
carpdev vlan119
vhid 119
pass riohperi
advskew 10
-inet6
# ifconfig carp119 destroy        
# sh /etc/netstart carp119        
# tcpdump -vni vlan119 proto carp 
tcpdump: listening on vlan119, link-type EN10MB
^C
6 packets received by filter
0 packets dropped by kernel

-Matt

Reply via email to