From owner-freebsd-net@FreeBSD.ORG Sun Dec 16 18:21:57 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C9D616A41B for ; Sun, 16 Dec 2007 18:21:57 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.185]) by mx1.freebsd.org (Postfix) with ESMTP id 6384213C448 for ; Sun, 16 Dec 2007 18:21:57 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so1749606rvb.43 for ; Sun, 16 Dec 2007 10:21:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=uik7m/RxoAeUjvHsRS8QdHR+3inmaHp1mh3PAQoWCnA=; b=GUhkEAkYazHOxrfvi8qs4KTOJpjXEZRUh3Px/j04gb6lbujy/waoC+gpFPd/9ngdRnQT2PJAdJyHXsVn06ofsEYmuoCEF0U5dAIJXnLZkhrAr25WJELJl2jo/+pyapEEzslT2o3sJGM44KsQP0rnfgcZYX2YYpxVqWwmb5ENj+0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=v7iXIcsoWja9agCD+izqCnBbvI9N7g4C9FfRdv+pdVDItzjq7vD9XapS3FTChXn5JlqmorSbdTLy+4HHB8sRqFh4h446M8TUYZxtEofye2gxYQk/WnrcGt/5XGr1ylxOcoEvpjwcJLJx1ZsSd/z1Q/rIYCzhVkL95b6Xr/1YQ94= Received: by 10.140.170.12 with SMTP id s12mr3356730rve.83.1197829316467; Sun, 16 Dec 2007 10:21:56 -0800 (PST) Received: by 10.141.170.18 with HTTP; Sun, 16 Dec 2007 10:21:56 -0800 (PST) Message-ID: <2e77fc10712161021x378114eeh8cc0b2e0809800db@mail.gmail.com> Date: Sun, 16 Dec 2007 13:21:56 -0500 From: "Niki Denev" Sender: ndenev@gmail.com To: freebsd-net@freebsd.org In-Reply-To: <2e77fc10712140937i19741f9cwe717499b18012a9a@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2e77fc10712132129o810a608v4ec6a742f9860a63@mail.gmail.com> <47625B80.3090904@FreeBSD.org> <2e77fc10712140937i19741f9cwe717499b18012a9a@mail.gmail.com> X-Google-Sender-Auth: 5658208f0d6c2521 Subject: Re: is carp on if_bridge possible? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2007 18:21:57 -0000 On Dec 14, 2007 12:37 PM, Niki Denev wrote: > > On Dec 14, 2007 5:31 AM, Bruce M. Simpson wrote: > > > > Niki Denev wrote: > > > Hello, > > > > > > Is this possible? > > > I've tried adding IFT_BRIDGE next to IFT_ETHER and IFT_L2VLAN in ip_carp.c > > > but this probably is not enough. Any ideas? > > > > > > > CARP is 'special' in that it needs to add its own MAC addresses to your > > interface, needs a bit of special cooperation between the IP layer and > > the MAC layer, and it's more than likely that this doesn't work with > > if_bridge. > > > > Like Max says, this is an unusual configuration.... what are you trying > > to do? > > > > BMS > > > > > > I'm trying to setup a highly redundant configuration of > two routers and two rstp capable switches behind them. > Each of the router is connected to each of the switches, > and it's two interfaces are part of a bridge group. > this way i can handle router and/or switch failure without > disconnecting the site. > The problem is that this a remote site which must not go offline by > any means, and thus the unusual setup. > > Hope that this explains it. > > Niki > Maybe using bridge with rstp for failover was not the best idea, and i switched to if_lagg and if_carp on top of it. It seems to work properly and is exactly what i wanted to achieve. Thanks, Niki