Por mirroring un ser bhyve

Eugene Grosbein eugen at grosbein.net
Wed Aug 23 12:09:34 UTC 2017


On 22.08.2017 21:04, C. L. Martinez wrote:
> Hi all,
> 
>  I would like to install some fbsd bhyve guests acting as an IDS. To
> accomplish this I need to configure a span port under bhyve host. But,
> how?. How do I need to configure a bridge in this fbsd host to copy every
> Ethernet frame received by the bridge and pass them to fbsd bhyve guests?

Yep, try this for host, assuming tap0 is connected to the guest IDS:

ifconfig bridge0 create 
ifconfig bridge0 inet x.x.x.x/x addm $realnic span tap0 up

And for a guest, use:

ifconfig $spanport monitor




More information about the freebsd-net mailing list