From owner-freebsd-questions@FreeBSD.ORG Sat Sep 11 03:29:31 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 2615D106566B for ; Sat, 11 Sep 2010 03:29:31 +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 D0D6A8FC1B for ; Sat, 11 Sep 2010 03:29:30 +0000 (UTC) Received: by vws7 with SMTP id 7so3649686vws.13 for ; Fri, 10 Sep 2010 20:29:30 -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 :content-transfer-encoding; bh=BIgYe/J9KXJt3L33xhzDSlPkEEvejEBY1fH7woLmExE=; b=NKHR+ksOcUPCFgrtOQvHF84cFAomTol7S31RHyYzYf5NUI6ljDVL/VW2fh5kOPWCoP Xpv6b7t/SymbT5dWOz+wKYlIuiS/hI7IJVK5OejRqCj88vlwuoxkrqkPFtMpVEttaPR4 v75Ewy1CMoVJ6stfJ7sZ2yxBYIN6TTbjAjgrg= 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:content-transfer-encoding; b=DGyDK27tMGepAGErbjxMNsS15dHNK75UX6a9v85jzGFHeNOVCXCBjyswv+IuUabrrY WUsaR97RgHRn48E+kEO/n6aj7CkvDnBjXEL2lRHp2YH5Yn2EWbyXnXwgrSkvSTtWTpvr dukI7xwYWp0WdwyplNQ7bLd3HSTtPvsTE3nMM= MIME-Version: 1.0 Received: by 10.220.125.9 with SMTP id w9mr914013vcr.222.1284175770058; Fri, 10 Sep 2010 20:29:30 -0700 (PDT) Received: by 10.220.202.138 with HTTP; Fri, 10 Sep 2010 20:29:29 -0700 (PDT) In-Reply-To: References: Date: Sat, 11 Sep 2010 11:29:29 +0800 Message-ID: From: dave jones To: Adam Vande More Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Sat, 11 Sep 2010 03:29:31 -0000 On Fri, Sep 10, 2010 at 2:51 PM, Adam Vande More wrote: >> 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=3D"inet 192.168.1.0 =A0netmask 255.255.255.0" >> cloned_interfaces=3D"bridge0" >> ifconfig_em0=3D"up" >> ifconfig_em1=3D"up" >> ifconfig_bridge0=3D"addm em0 addm em1 up" >> ifconfig_bridge0_alias0=3D"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.=A0 Your addressable hosts are > 192.168.1.1 - 192.168.1.254. Oops, typo. Should be 192.168.1.1 > > I think you want to lagg: > > http://www.freebsd.org/doc/handbook/network-aggregation.html In Winodws, I setup a bridge with no problems. But in FreeBSD, it seems doesn't work :( > > -- > Adam Vande More >