joel@
Developer
I've setup CARP on two hosts for testing but CARP gets stuck in init. I've used CARP before, but this is the first time with vlans. Output from ifconfig looks like this after rebooting both hosts and waiting a few minutes (real ip addresses removed):
Host1:
Host2:
Logs on both machines are also filled with:
Configuration on both machines looks like this:
host01:
host02:
CARP settings are identical on both hosts:
Any ideas?
Host1:
Code:
vlan60: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
ether 00:1b:21:df:e5:f1
inet A.A.A.1 netmask 0xffffff80 broadcast A.A.A.127 vhid 10
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 60 vlanpcp: 0 parent interface: igb1
carp: INIT vhid 10 advbase 1 advskew 100
groups: vlan
vlan61: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
ether 00:1b:21:df:e5:f1
inet B.B.B.249 netmask 0xfffffff8 broadcast B.B.B.255 vhid 20
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 61 vlanpcp: 0 parent interface: igb1
carp: INIT vhid 20 advbase 1 advskew 100
groups: vlan
vlan62: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
ether 00:1b:21:df:e5:f1
inet C.C.C.1 netmask 0xffffffe0 broadcast C.C.C.31 vhid 30
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 62 vlanpcp: 0 parent interface: igb1
carp: INIT vhid 30 advbase 1 advskew 100
groups: vlan
Host2:
Code:
vlan60: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
ether 00:1b:21:df:e5:97
inet A.A.A.1 netmask 0xffffff80 broadcast A.A.A.127 vhid 10
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 60 vlanpcp: 0 parent interface: igb1
carp: INIT vhid 10 advbase 1 advskew 200
groups: vlan
vlan61: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
ether 00:1b:21:df:e5:97
inet B.B.B.249 netmask 0xfffffff8 broadcast B.B.B.255 vhid 20
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 61 vlanpcp: 0 parent interface: igb1
carp: INIT vhid 20 advbase 1 advskew 200
groups: vlan
vlan62: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
ether 00:1b:21:df:e5:97
inet C.C.C.1 netmask 0xffffffe0 broadcast C.C.C.31 vhid 30
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 62 vlanpcp: 0 parent interface: igb1
carp: INIT vhid 30 advbase 1 advskew 200
groups: vlan
Logs on both machines are also filled with:
Code:
arprequest: cannot find matching address
arprequest: cannot find matching address
arprequest: cannot find matching address
arprequest: cannot find matching address
arprequest: cannot find matching address
arprequest: cannot find matching address
arprequest: cannot find matching address
arprequest: cannot find matching address
Configuration on both machines looks like this:
host01:
Code:
ifconfig_igb1="up -tso -lro -vlanhwtso"
cloned_interfaces="vlan60 vlan61 vlan62"
ifconfig_vlan60="inet A.A.A.1/25 vlan 60 vlandev igb1 vhid 10 advskew 100 pass secret"
ifconfig_vlan61="inet B.B.B.249/29 vlan 61 vlandev igb1 vhid 20 advskew 100 pass secret"
ifconfig_vlan62="inet C.C.C.1/27 vlan 62 vlandev igb1 vhid 30 advskew 100 pass secret"
host02:
Code:
ifconfig_igb1="up -tso -lro -vlanhwtso"
cloned_interfaces="vlan60 vlan61 vlan62"
ifconfig_vlan60="inet A.A.A.1/25 vlan 60 vlandev igb1 vhid 10 advskew 200 pass secret"
ifconfig_vlan61="inet B.B.B.249/29 vlan 61 vlandev igb1 vhid 20 advskew 200 pass secret"
ifconfig_vlan62="inet C.C.C.1/27 vlan 62 vlandev igb1 vhid 30 advskew 200 pass secret"
CARP settings are identical on both hosts:
Code:
# sysctl net.inet.carp
net.inet.carp.ifdown_demotion_factor: 240
net.inet.carp.senderr_demotion_factor: 240
net.inet.carp.demotion: 0
net.inet.carp.log: 1
net.inet.carp.preempt: 1
net.inet.carp.allow: 1
Any ideas?
