From owner-freebsd-questions@FreeBSD.ORG Fri Sep 10 03:41:48 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 AC8DF1065670 for ; Fri, 10 Sep 2010 03:41:48 +0000 (UTC) (envelope-from s.dave.jones@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6171A8FC14 for ; Fri, 10 Sep 2010 03:41:48 +0000 (UTC) Received: by vws7 with SMTP id 7so2382773vws.13 for ; Thu, 09 Sep 2010 20:41:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=29uza/4e7uWmoefSYFSnOp5QTwKxvlJ8AZPEWY6rkB4=; b=aeC3p6xyP/UQL394bC2QkYITOELlm0JHNw85X7b1G4RWoZ9PfHTgtIKeHXP3sed1cI bu19tbvPN9jwIRFAWHuSykMBqCf3F817TNlK02a/+1vq5h3cUIWvUeSvWdlGO9bv0o8g 9AqFmYP4WvBb/Ol7HyTHDbZe4wmI8qLIBKDhE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ToXS7JU07CHocXOJCFAdHJVt/alwFHUnmvr0A+pPzyF6NQT+utljSn5S81vHoAfNxV YoyC7Nl7Q6TT/OSPzM2mnmdGD2lLCMZMR5z0IV8usb3eh0IyBmYUkM25wB5UovCPGUJq 0z9krh6p3QB1M9DbZil0VmCvOz1ezknDrRr/M= MIME-Version: 1.0 Received: by 10.220.159.14 with SMTP id h14mr110926vcx.115.1284090107576; Thu, 09 Sep 2010 20:41:47 -0700 (PDT) Received: by 10.220.202.138 with HTTP; Thu, 9 Sep 2010 20:41:47 -0700 (PDT) Date: Fri, 10 Sep 2010 11:41:47 +0800 Message-ID: From: dave jones To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: 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 03:41:48 -0000 Hello, 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? Thanks. Dave.