From owner-freebsd-net@FreeBSD.ORG  Sun Jan 29 14:36:20 2006
Return-Path: <owner-freebsd-net@FreeBSD.ORG>
X-Original-To: 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 19D7116A420
	for <net@freebsd.org>; Sun, 29 Jan 2006 14:36:20 +0000 (GMT)
	(envelope-from citrin@citrin.ru)
Received: from mail.classis.ru (classis.ru [213.248.60.120])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6260743D53
	for <net@freebsd.org>; Sun, 29 Jan 2006 14:36:18 +0000 (GMT)
	(envelope-from citrin@citrin.ru)
Received: from mail.classis.ru (localhost [127.0.0.1])
	by mail.classis.ru (Postfix) with ESMTP id 9FFC11222201
	for <net@freebsd.org>; Sun, 29 Jan 2006 17:36:17 +0300 (MSK)
Received: from [192.168.0.104] (office.telecall.ru [217.25.144.129])
	(using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mail.classis.ru (Postfix) with ESMTP id 5D36B12220D6
	for <net@freebsd.org>; Sun, 29 Jan 2006 17:36:17 +0300 (MSK)
Date: Sun, 29 Jan 2006 17:36:16 +0300
From: Anton Yuzhaninov <citrin@citrin.ru>
X-Mailer: The Bat! (v3.0.1.33) Professional
Organization: Telecall
X-Priority: 3 (Normal)
Message-ID: <982009121.20060129173616@citrin.ru>
To: net@freebsd.org
In-Reply-To: <43DBCB6B.7080504@deze.org>
References: <43DBCB6B.7080504@deze.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Cc: 
Subject: Re: Creating span port using netgraph
X-BeenThere: freebsd-net@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Networking and TCP/IP with FreeBSD <freebsd-net.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>,
	<mailto:freebsd-net-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net>
List-Post: <mailto:freebsd-net@freebsd.org>
List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>,
	<mailto:freebsd-net-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Jan 2006 14:36:20 -0000

Saturday, January 28, 2006, 10:52:11 PM, Frank wrote:

F> # create ngeth0 and bind xl0, xl1, xl2 and xl3 to it
F> ngctl mkpeer . eiface hook ether
F> ngctl mkpeer ngeth0: one2many lower one
F> ngctl connect xl0: ngeth0:lower lower many0
F> ngctl connect xl1: ngeth0:lower lower many1
F> ngctl connect xl2: ngeth0:lower lower many2
F> ngctl connect xl3: ngeth0:lower lower many3

F> # bring up ngeth0 for sniffing duties
F> ifconfig ngeth0 monitor up

F> After I run this script, all network connections freeze and I lost all
F> IP connectvity. If I tcpdup on any inteface (xl? or ngeth0) no traffic
F> is visible.

Use ng_tee for connect to xl0, xl1...

--=20
 WBR, Anton Yuzhaninov