From owner-freebsd-questions@FreeBSD.ORG Fri Sep 10 06:51:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3580106566B for ; Fri, 10 Sep 2010 06:51:40 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 71AA98FC1D for ; Fri, 10 Sep 2010 06:51:40 +0000 (UTC) Received: by fxm4 with SMTP id 4so1775181fxm.13 for ; Thu, 09 Sep 2010 23:51:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=vTmG/YxdmQL8O0TGvUUeDUlxMgeyVfme/Z+yJYJ4ywk=; b=Xam7x7fiGS7hQvfphUHl6h/KUjOvOckC78SFI9ATDLCKjrt+eeia5kNF3uOKryDz3L pc2c/wbGXdKUAQaixDaDn/Tkx8fOIHKKF6p5wEKeyWcyWiOQbdRPaHsjsZBTjwJqkwe5 /IVmpN0RqnHYfs5ff7Ya9wOI0b8EkZoVQgL3c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Z3kRRO6yHvfpF+y1dJWeqBPEMQTG2l1G2TdC+b8/lZLloCxzYoNhFA8entMoB4eq+H GX38oPuK/eSqWL4XQ6W0BLBmQ71E0gDIeTm3PlhSpKqGAsa0cpbacL7KhhQa/7ln/umu R3bsqFHZTlPqox4Z7ipKfk2gdWuXeySq8JpPs= MIME-Version: 1.0 Received: by 10.223.108.81 with SMTP id e17mr81622fap.28.1284101499438; Thu, 09 Sep 2010 23:51:39 -0700 (PDT) Received: by 10.223.57.20 with HTTP; Thu, 9 Sep 2010 23:51:39 -0700 (PDT) In-Reply-To: References: Date: Fri, 10 Sep 2010 01:51:39 -0500 Message-ID: From: Adam Vande More To: dave jones Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Questions about setting bridge X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2010 06:51:41 -0000 > > I want to setup a bridge in a ring topology since a break at any point > along the ring would > still leave all stations connected. My machine has two nics. In > /etc/rc.conf, I have: > > ifconfig_em0="inet 192.168.1.0 netmask 255.255.255.0" > cloned_interfaces="bridge0" > ifconfig_em0="up" > ifconfig_em1="up" > ifconfig_bridge0="addm em0 addm em1 up" > ifconfig_bridge0_alias0="192.168.1.0 netmask 255.255.255.0 up" > > I tried to boot my clients using tftpd, but it seems doesn't work if I > unpluged > em0. If I run "ifconfig em1 inet 192.168.1.0 netmask 255.255.255.0" then > my clients can boot via tftpd. But it's not a bridge, right? > I mean should I configure the same ip for em0, em1, and bridge0? > 192.168.1.0/24 is not a valid address. Your addressable hosts are 192.168.1.1 - 192.168.1.254. I think you want to lagg: http://www.freebsd.org/doc/handbook/network-aggregation.html -- Adam Vande More