David Goldsmith <dgoldsmith <at> sans.org> writes:
> > Any ideas why this might be happening? I'm probably doing
> > something stupid, but can't spot it.
>
> Please show the contents of the /etc/hostname.carp119 file on
> both servers.
on box A:
# cat /etc/hostname.carp119
inet 213.133.66.67 255.255.255.248
carpdev vlan119
vhid 119
pass riohperi
advskew 10
-inet6
on box B:
# cat /etc/hostname.carp119
inet 213.133.66.67 255.255.255.248
carpdev vlan119
vhid 119
pass riohperi
advskew 100
-inet6
and for reference, the other files
box A:
# cat /etc/hostname.bnx0
up
-inet6
# cat /etc/hostname.bnx1
up
-inet6
# cat /etc/hostname.trunk0
trunkproto lacp trunkport bnx0 trunkport bnx1
up
-inet6
# cat /etc/hostname.vlan119
vlan 119 vlandev trunk0
inet 213.133.66.65 255.255.255.248
description "Scottles Server"
-inet6
box B:
# cat /etc/hostname.bnx0
up
-inet6
# cat /etc/hostname.bnx1
up
-inet6
# cat /etc/hostname.trunk0
trunkport bnx0 trunkport bnx1 trunkproto lacp
up
-inet6
# cat /etc/hostname.vlan119
vlan 119 vlandev trunk0
inet 213.133.66.66 255.255.255.248
description "Scottles Server"
-inet6
Interestingly according to netstat -s -p carp I can see the
number of IPv4 packets sent increasing, so carp
*thinks* it is sending packets, but they just don't
seem to be going anywhere. e.g.
# netstat -s -p carp
carp:
0 packets received (IPv4)
0 packets received (IPv6)
0 packets discarded for bad interface
0 packets discarded for wrong TTL
0 packets shorter than header
0 discarded for bad checksums
0 discarded packets with a bad version
0 discarded because packet too short
0 discarded for bad authentication
0 discarded for unknown vhid
0 discarded because of a bad address list
15007 packets sent (IPv4)
0 packets sent (IPv6)
0 send failed due to mbuf memory error
2 transitions to master
# netstat -I trunk0 1
trunk in trunk out total in total out
packets errs packets errs colls packets errs packets errs
colls
24667 0 3 7 0 77685 0 16994 7
0
3 0 0 0 0 17 0 6 0
0
4 0 0 0 0 12 0 6 0
0
2 0 0 0 0 14 0 4 0
0
2 0 0 0 0 7 0 3 0
0
3 0 0 0 0 10 0 4 0
0
2 0 0 0 0 7 0 4 0
0
# netstat -I vlan119 1
vlan1 in vlan1 out total in total out
packets errs packets errs colls packets errs packets errs
colls
4 0 3 0 0 79389 0 17535 7
0
0 0 0 0 0 15 0 6 0
0
0 0 0 0 0 12 0 4 0
0
0 0 0 0 0 20 0 3 0
0
0 0 0 0 0 18 0 4 0
0
0 0 0 0 0 11 0 4 0
0
0 0 0 0 0 10 0 4 0
0
0 0 0 0 0 18 0 3 0
0
As you can see no packets are going out.
-Matt