From owner-freebsd-questions@FreeBSD.ORG Mon Dec 12 08:14:33 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 E5C701065678 for ; Mon, 12 Dec 2011 08:14:33 +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 6061D8FC1A for ; Mon, 12 Dec 2011 08:14:32 +0000 (UTC) Received: by bkbzv15 with SMTP id zv15so6495764bkb.13 for ; Mon, 12 Dec 2011 00:14:32 -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=B0ezk0v7qHogNJmc0hxoXOBZeF3znSPZrJ/TA4wE3QA=; b=IsK69mlrIFixpf/flg/qdpl1FhUlcKvLUO6/aiFRI1H8FBwcgt7RHtgCUoTFZy09yT qi76z8Inc6799pq5xv406ou6bXc9pCMr0VRrcSVFQUfZmd26++arbpA1FeEIzpNFkSKV 03Jk7f6lBLv8h6iXgM9be9LDzPpB+XvtyeX6M= Received: by 10.204.136.220 with SMTP id s28mr9572062bkt.59.1323677671400; Mon, 12 Dec 2011 00:14:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.205.82.70 with HTTP; Mon, 12 Dec 2011 00:13:49 -0800 (PST) In-Reply-To: <4EE5A8F5.9080807@herveybayaustralia.com.au> References: <4EE4B445.80904@herveybayaustralia.com.au> <4EE5A8F5.9080807@herveybayaustralia.com.au> From: saeedeh motlagh Date: Mon, 12 Dec 2011 11:43:49 +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:14:34 -0000 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 " >