Send traffic to itself using real NIC

Eugene Grosbein egrosbein at rdtc.ru
Wed Aug 8 09:36:09 UTC 2012


07.08.2012 23:32, Marko Zec пишет:
> On Tuesday 07 August 2012 18:20:28 Eugene Grosbein wrote:
>> 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"
> 
> No, a separate filesystem is not required, that's a manpage bug.  Just try the 
> above 3 commands, they really work.

Indeed, they work just fine, thanks!

Modern jails are cool but their manual page is not ;-)

Eugene Grosbein


More information about the freebsd-net mailing list