From owner-freebsd-questions@FreeBSD.ORG Thu Feb 17 10:11:52 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E931E16A4CE; Thu, 17 Feb 2005 10:11:52 +0000 (GMT) Received: from lynx.imedia.ru (lynx-comstar.imedia.ru [212.248.32.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1A5743D1D; Thu, 17 Feb 2005 10:11:21 +0000 (GMT) (envelope-from eugene@imedia.ru) Received: from badger.imedia.ru (root@local.badger [172.17.0.13]) j1HABD7X088271; Thu, 17 Feb 2005 13:11:13 +0300 (MSK) (envelope-from eugene@imedia.ru) Received: from badger.imedia.ru (eugene@localhost [127.0.0.1]) by badger.imedia.ru (8.13.1/8.13.1) with ESMTP id j1HABDju057016; Thu, 17 Feb 2005 13:11:13 +0300 (MSK) (envelope-from eugene@imedia.ru) Received: from localhost (localhost [[UNIX: localhost]]) by badger.imedia.ru (8.13.1/8.13.1/Submit) id j1HABDsC057015; Thu, 17 Feb 2005 13:11:13 +0300 (MSK) (envelope-from eugene@imedia.ru) X-Authentication-Warning: badger.imedia.ru: eugene set sender to eugene@imedia.ru using -f From: Eugene Mitrofanov Organization: Independent Media To: freebsd-questions@freebsd.org, freebsd-stable@freebsd.org Date: Thu, 17 Feb 2005 13:11:12 +0300 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502171311.13166.eugene@imedia.ru> Subject: freevrrpd bug or feature? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Feb 2005 10:11:53 -0000 Hi Subj from CVS (with vlan support), FreeBSD 4.8-p16, 4.9-p3 and 5.3-Stable. I installed Subj on the two my routers and noticed that it does not work as should. I investigated the problem and discovered the following: vrrpd use the different destination MAC addresses for sending VRRPv2 Advertisement. tcpdump -eni fxp0 vrrp: 00:00:5e:00:01:16 > 01:00:5e:41:40:02, ethertype IPv4 (0x0800), length 60: IP x.x.x.254 > 224.0.0.18: VRRPv2, Advertisement, vrid 22, prio 255, authtype simple, intvl 1s, length 24 tcpdump -eni fxp1 vrrp: 00:00:5e:00:01:15 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 62: IP 172.17.0.254 > 224.0.0.18: VRRPv2, Advertisement, vrid 21, prio 255, authtype simple, intvl 1s, length 28 BTW, 01:00:5e:00:00:12 is determined as IETF-VRRP by ethereal, but 01:00:5e:41:40:02 does not known for it. It seems that freevrrpd daemon does not receive such broadcast packets and this is why fxp0 works in the master mode on both routers. I found how to fix this. I run 'ifconfig fxp0 promisc' I get one master and one backup. Does anybody meet the similar problem? Where I can find any information about processing MACs like above by kernel? Why 01:00:5e:41:40:02 does not delivered to freevrrpd and 01:00:5e:00:00:12 does? Regards -- EMIT-RIPN, EVM7-RIPE