From owner-freebsd-net@FreeBSD.ORG Fri Jun 9 11:32:24 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7567E16A41B; Fri, 9 Jun 2006 11:32:24 +0000 (UTC) (envelope-from plk@in.nextra.sk) Received: from fw.nextra.sk (fw.nextra.sk [195.168.29.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D74B543D70; Fri, 9 Jun 2006 11:32:23 +0000 (GMT) (envelope-from plk@in.nextra.sk) Received: from plk.in.nextra.sk (localhost [127.0.0.1]) by fw.nextra.sk (8.13.4/8.13.4) with ESMTP id k59BWLBI027689; Fri, 9 Jun 2006 13:32:21 +0200 Received: (from plk@localhost) by plk.in.nextra.sk (8.13.4/8.13.4/Submit) id k59BWLEY027688; Fri, 9 Jun 2006 13:32:21 +0200 Date: Fri, 9 Jun 2006 13:32:21 +0200 From: Bohuslav Plucinsky To: freebsd-net@freebsd.org Message-ID: <20060609113221.GD25880@gtsnextra.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Cc: freebsd-questions@freebsd.org Subject: Xorp and CARP on FreeBSD X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bohuslav.plucinsky@gtsnextra.sk List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2006 11:32:24 -0000 Hello, I've two FreeBSD 6.1-RELEASE routers (R1, R2) with CARP configured and it was working OK untill I've installed Xorp and tried to configure multicast PIM-SM. After that the CARP has stoped working. I've found out by the tcpdump that after Xorp is started the source IP address of CARP packets is changed to IP address used as register_vif in Xorp: # tcpdump -n -i vlan97 proto 112 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on vlan97, link-type EN10MB (Ethernet), capture size 96 bytes 13:11:32.694192 IP 192.168.100.2 > 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 13:11:33.891182 IP 192.168.100.2 > 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 13:11:35.088237 IP 192.168.100.2 > 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 13:11:36.285276 IP 10.122.25.66 > 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 13:11:37.482275 IP 10.122.25.66 > 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 13:11:38.679312 IP 10.122.25.66 > 224.0.0.18: VRRPv2, Advertisement, vrid 1, prio 50, authtype none, intvl 1s, length 36 ^C Is it possible to run Xorp and CARP together? Or can somebody advise me other routing software with PIM-SM support? Here are some additional info: R1 host: ======== cat /etc/rc.conf.local: ----------------------- cloned_interfaces="vlan97 vlan71 carp97 carp71" ifconfig_vlan97="inet 192.168.100.2 netmask 255.255.255.0 vlan 97 vlandev em0" ifconfig_vlan71="inet 10.122.25.66 netmask 255.255.255.224 vlan 71 vlandev em0" ifconfig_carp97="vhid 1 pass XXXX advskew 500 192.168.100.1 255.255.255.0" ifconfig_carp71="vhid 2 pass XXXX advskew 50 10.122.25.65 255.255.255.224" cat /usr/local/xorp/etc/config.boot: ------------------------------------ interfaces { restore-original-config-on-shutdown: true interface vlan97 { description: "DMZ" disable: false default-system-config } interface vlan71 { description: "intranet" disable: false default-system-config } } fea { unicast-forwarding4 { disable: false } } plumbing { mfea4 { disable: false interface vlan71 { vif vlan71 { disable: false } } interface vlan97 { vif vlan97 { disable: false } } interface register_vif { vif register_vif { /* Note: this vif should be always enabled */ disable: false } } traceoptions { flag all { disable: false } } } } R2 host: ======== cat /etc/rc.conf.local: ----------------------- cloned_interfaces="vlan97 vlan71 carp97 carp71" ifconfig_vlan97="inet 192.168.100.3 netmask 255.255.255.0 vlan 97 vlandev em0" ifconfig_vlan71="inet 10.122.25.67 netmask 255.255.255.224 vlan 71 vlandev em0" ifconfig_carp97="vhid 1 pass XXXX advskew 200 192.168.100.1 255.255.255.0" ifconfig_carp71="vhid 2 pass XXXX advskew 200 10.122.25.65 255.255.255.224" Thanks Bohus Plucinsky