Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jan 2006 17:36:16 +0300
From:      Anton Yuzhaninov <citrin@citrin.ru>
To:        net@freebsd.org
Subject:   Re: Creating span port using netgraph
Message-ID:  <982009121.20060129173616@citrin.ru>
In-Reply-To: <43DBCB6B.7080504@deze.org>
References:  <43DBCB6B.7080504@deze.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?982009121.20060129173616>