Package: ucarp
Version: 1.5~snap080222-1
Severity: important

PROBLEM:
I have two boxes, at this moment configuration is simple:

1. Six ethernet interfaces. Active: eth0 (tg3) and eth2 (e1000) 
2. 802.1q vlans (eth0.2, eth0.9) on eth0 interface 
3. Communication between box1 and box2 on interface eth2

After start of daemons on both machines I don't saw any proper
communication - both ucarps entered into MASTER mode. I notice
that after putting interface in promisc mode (caused by tcpdump)
communication happened and one of ucarps enter in BACKUP mode.
After terminating tcpdump communication died and BACKUP change
mode to MASTER.

'netstat -g' shows, that 'VRRP.MCAST.NET' is bounded to incorrect
interface (vlan on eth0 - eth0.2 instead eth2). 

lb1(master):/usr/local/sbin# netstat -g
IPv6/IPv4 Group Memberships
Interface       RefCnt Group
--------------- ------ ---------------------
lo              1      ALL-SYSTEMS.MCAST.NET
eth0            1      ALL-SYSTEMS.MCAST.NET
eth1            1      ALL-SYSTEMS.MCAST.NET
eth2            1      ALL-SYSTEMS.MCAST.NET
eth0.2          1      VRRP.MCAST.NET
eth0.2          1      ALL-SYSTEMS.MCAST.NET
eth0.9          1      ALL-SYSTEMS.MCAST.NET
lo              1      ip6-allnodes
eth0            1      ff02::1:ff6f:672a%lo
eth0            1      ip6-allnodes
eth1            1      ip6-allnodes
eth2            1      ff02::1:ffc5:b454%lo
eth2            1      ip6-allnodes
eth3            1      ip6-allnodes
eth4            1      ip6-allnodes
eth5            1      ip6-allnodes
eth0.2          1      ff02::1:ff6f:672a%lo
eth0.2          1      ip6-allnodes
eth0.9          1      ff02::1:ff6f:672a%lo
eth0.9          1      ip6-allnodes

SOLUTION:
After some tests (I test different interfaces in case problems with
hardware or driver) i try to compile latest release of ucarp
(version 1.5). After that problem gone away (communication occurs
and group is bounded to valid interface):

lb2(backup):~# netstat -g
IPv6/IPv4 Group Memberships
Interface       RefCnt Group
--------------- ------ ---------------------
lo              1      ALL-SYSTEMS.MCAST.NET
eth0            1      ALL-SYSTEMS.MCAST.NET
eth2            1      VRRP.MCAST.NET
eth2            1      ALL-SYSTEMS.MCAST.NET
eth0.2          1      ALL-SYSTEMS.MCAST.NET
eth0.9          1      ALL-SYSTEMS.MCAST.NET
lo              1      ip6-allnodes
eth0            1      ff02::1:ff6f:d920%lo
eth0            1      ip6-allnodes
eth1            1      ip6-allnodes
eth2            1      ff02::1:ffc6:c100%lo
eth2            1      ip6-allnodes
eth3            1      ip6-allnodes
eth4            1      ip6-allnodes
eth5            1      ip6-allnodes
eth0.2          1      ff02::1:ff6f:d920%lo
eth0.2          1      ip6-allnodes
eth0.9          1      ff02::1:ff6f:d920%lo
eth0.9          1      ip6-allnodes

Changes between snapshot in Debian and official release are
relatively small, so I think that ucarp 1.5 can be incorporated
into distribution without any troubles.

I'm using actual (from 2008.08.25) Debian testing (lenny) with
kernel 2.6.25-2-686.

-- 
Piotr 'aniou' Meyer



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to