From owner-freebsd-net@FreeBSD.ORG Sun Oct 30 11:49:29 2005 Return-Path: X-Original-To: freebsd-net@FreeBSD.org Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0195016A41F; Sun, 30 Oct 2005 11:49:29 +0000 (GMT) (envelope-from saundersconsult@hotmail.com) Received: from hotmail.com (bay101-dav15.bay101.hotmail.com [64.4.56.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC2A843D45; Sun, 30 Oct 2005 11:49:28 +0000 (GMT) (envelope-from saundersconsult@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 30 Oct 2005 03:49:23 -0800 Message-ID: Received: from 24.205.176.247 by BAY101-DAV15.phx.gbl with DAV; Sun, 30 Oct 2005 11:49:23 +0000 X-Originating-IP: [24.205.176.247] X-Originating-Email: [saundersconsult@hotmail.com] X-Sender: saundersconsult@hotmail.com From: "Shawn Saunders" To: "Gleb Smirnoff" References: <20051021053228.GX59364@cell.sick.ru> <20051026141733.GI41520@cell.sick.ru> Date: Sun, 30 Oct 2005 03:49:26 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="koi8-r"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-OriginalArrivalTime: 30 Oct 2005 11:49:23.0879 (UTC) FILETIME=[F8EF8370:01C5DD47] Cc: dionch@freemail.gr, freebsd-net@FreeBSD.org Subject: Re: Trying to make a Host into a gigabit hub for testing X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Shawn Saunders List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2005 11:49:29 -0000 Gleb, Can you clarify then, the difference between the on2many and hub modules? Based upon the names, I would consider the one2many to do exactly that, take anything from 'one' and redirect it out to anything identified by 'many?' I would also think that hub would behave exactly as a hub, introducing collisions, etc, within the shared namespace of the environment for hub. I do have some further questions. At what level is the redirection happening, specifically, is this happening in the driver on the NIC? Or are the packets being brought from the NIC into the kernel on the host, and then retransmitted out the NIC on the other port? Just currious. I am hoping to be running an interesting environment for about 20 days, and at the end of that, I hope to have some interesting real-life metrics, that I will be happy to share with the rest of you. Shawn ----- Original Message ----- From: "Gleb Smirnoff" To: "Shawn Saunders" Cc: ; Sent: Wednesday, October 26, 2005 6:17 AM Subject: Re: Trying to make a Host into a gigabit hub for testing > On Wed, Oct 26, 2005 at 07:15:18AM -0700, Shawn Saunders wrote: > S> Actually, I think one2many is more appropriate. I do not want the > traffic > S> that is coming in on the incoming ports to be echoed back to them, and > S> isn't that what the ng_hub would do? > > No, it wouldn't. It will send to all ports except of the port the > packet was received on. > > P.S. Please do not top quote. > > -- > Totus tuus, Glebius. > GLEBIUS-RIPN GLEB-RIPE >