Date: Tue, 7 Aug 2012 23:20:28 +0700 From: Eugene Grosbein <egrosbein@rdtc.ru> To: Marko Zec <zec@fer.hr> Cc: freebsd-net@freebsd.org, Jacques Fourie <jacques.fourie@gmail.com>, "net@freebsd.org" <net@freebsd.org> Subject: Re: Send traffic to itself using real NIC Message-ID: <20120807162028.GA22341@rdtc.ru> In-Reply-To: <201208071633.11524.zec@fer.hr> References: <50211DF0.2090607@rdtc.ru> <CALX0vxBvhsSxf6CyrboW6gomSC5cJMyLizihcH1-%2BwRfT2w-Lw@mail.gmail.com> <201208071633.11524.zec@fer.hr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 07, 2012 at 04:33:11PM +0200, Marko Zec wrote: > There's no need to use epair at all here. Just create a vnet jail, and assign > one of the igb interfaces into it, done: > > # jail -c name=x vnet persist > # ifconfig igb1 vnet x > # jexec x ifconfig > lo0: flags=8008<LOOPBACK,MULTICAST> metric 0 mtu 16384 > options=3<RXCSUM,TXCSUM> > igb1: flags=8842<...> metric 0 mtu 1500 ... That would be nice solution but jail(8) manual page says: "a fairly complete file system install of FreeBSD is required" and that seems to be pretty big overhead. Meantime, I'll try to think up some kind of NETGRAPH mesh. Eugene Grosbein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120807162028.GA22341>