From owner-freebsd-questions@FreeBSD.ORG Mon Dec 12 08:56:34 2011 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 CD4541065670 for ; Mon, 12 Dec 2011 08:56:34 +0000 (UTC) (envelope-from saeedeh.motlagh@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3A6908FC16 for ; Mon, 12 Dec 2011 08:56:33 +0000 (UTC) Received: by bkbzv15 with SMTP id zv15so6560190bkb.13 for ; Mon, 12 Dec 2011 00:56:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=brSzcLK38Rqeaj2FnLtCblXUxg7Mndh2WkR9jCtlCfY=; b=mkS+u9qWwf2F/GK2pAARU5T4WYpvlx2XEK9BQ5+BbUaMsnD7krLF1v96vrI3AwYn3a u8GKam2wkcWE6qUtcIvTr+bIo8GM4rq97c7cvycJlvZj+kZZJr1Xbzu484SOqIc3NFT6 +DoEUdHdFvnhzG4hBfpY7rSb9GQqHjr/GBpCM= Received: by 10.205.137.144 with SMTP id io16mr9506895bkc.23.1323680192386; Mon, 12 Dec 2011 00:56:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.205.82.70 with HTTP; Mon, 12 Dec 2011 00:55:51 -0800 (PST) In-Reply-To: References: <4EE4B445.80904@herveybayaustralia.com.au> <4EE5A8F5.9080807@herveybayaustralia.com.au> From: saeedeh motlagh Date: Mon, 12 Dec 2011 12:25:51 +0330 Message-ID: To: Da Rock Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: bridging 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: Mon, 12 Dec 2011 08:56:34 -0000 i solve it:) the stp should be running on all interfaces On Mon, Dec 12, 2011 at 11:43 AM, saeedeh motlagh wrote: > yes, with any two interfaces the bridge works well. tcpdump show these > messages when i configure bridge with more than 2 interfaces: > 14:52:57.771505 ARP, Request who-has 192.168.4.157 tell 192.168.4.155, > length 46 > 14:52:57.771519 ARP, Reply 192.168.4.157 is-at 00:0b:ab:4f:d4:2a (oui > Unknown), length 46 > 14:52:58.788076 ARP, Request who-has 192.168.4.157 tell 192.168.4.155, > length 46 > 14:52:58.788095 ARP, Reply 192.168.4.157 is-at 00:0b:ab:4f:d4:2a (oui > Unknown), length 46 > 14:52:59.804630 ARP, Request who-has 192.168.4.157 tell 192.168.4.155, > length 46 > 14:52:59.804646 ARP, Reply 192.168.4.157 is-at 00:0b:ab:4f:d4:2a (oui > Unknown), length 46 > 14:53:00.821083 ARP, Request who-has 192.168.4.157 tell 192.168.4.155, > length 46 > 14:53:00.821098 ARP, Reply 192.168.4.157 is-at 00:0b:ab:4f:d4:2a (oui > Unknown), length 46 > 14:53:01.837654 ARP, Request who-has 192.168.4.157 tell 192.168.4.155, > length 46 > 14:53:01.837672 ARP, Reply 192.168.4.157 is-at 00:0b:ab:4f:d4:2a (oui > Unknown), length 46 > > it seems that bridging just can be done by two interfaces:( > i use "ifconfig bridge0 create" and "ifconfig addm igb1 addm igb2" for > bridging two interfaces. i test by putting the below commands in rc.conf > file: > cloned_interfaces="bridge0" > ifconfig_bridge0="addm igb1 addm igb2 addm gbeth1 up" > but nothing changed. > > > On Mon, Dec 12, 2011 at 10:40 AM, Da Rock < > freebsd-questions@herveybayaustralia.com.au> wrote: > >> On 12/12/11 15:49, saeedeh motlagh wrote: >> >>> my freebsd is 8.2 and i have four interfaces which two of them are gbeth >>> and two others are igb. i think the interfaces are ok beacuse when i >>> bridge >>> two interfaces, it works fine. >>> i use the below command to create my bridge: >>> ifconfig bridge0 create >>> ifconfig bridge0 addm gbeth0 addm igb0 addm igb1 addm gbeth1 up >>> what is wrong here? it's so necessary for me to doing this:( >>> >> Is it any 2 interfaces? What command do you use to get the 2 interfaces >> working? >> >>> >>> >>> On Sun, Dec 11, 2011 at 5:16 PM, Da Rock< >>> freebsd-questions@**herveybayaustralia.com.au> >>> wrote: >>> >>> On 12/11/11 23:31, saeedeh motlagh wrote: >>>> >>>> hello everybody >>>>> i have a problem in bridging my interfaces. i want to bridge my 4 >>>>> interfaces and make switching in freebsd box but in doesn't work. with >>>>> two >>>>> interfaces the bridge works well and pass the traffic but for four >>>>> interfaces in doesn't what is expected. you know i want to have a >>>>> freebsd >>>>> sysytem to do switching between four systems which are connected to. >>>>> somebody know what's wrong? and how i can bridge my four interfaces and >>>>> have switching? >>>>> thanks >>>>> motlagh >>>>> >>>>> Can you supply information on what devices you are using for your >>>>> >>>> switches? Ifconfig, pciconf -lv >>>> >>>> Which version are you using? uname -a >>>> >>>> What commands are you using to setup switching? >>>> >>>> What diagnostics have you done? How do you know it doesn't work? >>>> >>>> Good luck. I'm sure someone can help if you provide that information, >>>> although they may need more. >>>> ______________________________****_________________ >>>> freebsd-questions@freebsd.org mailing list >>>> http://lists.freebsd.org/****mailman/listinfo/freebsd-****questions >>>> >>>> > >>>> To unsubscribe, send any mail to "freebsd-questions-** >>>> unsubscribe@freebsd.org >>>> >" >>>> >>>> ______________________________**_________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions >>> To unsubscribe, send any mail to "freebsd-questions-** >>> unsubscribe@freebsd.org " >>> >> >> ______________________________**_________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions >> To unsubscribe, send any mail to "freebsd-questions-** >> unsubscribe@freebsd.org " >> > >