Creating a mirror port

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Tue Jun 14 18:00:33 GMT 2005


Ted Wisniewski <ted at ness.plymouth.edu> writes:

> I have a FreeBSD box with three Nic's; what I would like to do is mimic the 
> functionality of a "mirror-port" commonly found on switches.
> 
> On a routing firewall I would like traffic from say sk0 destined to sk1 and 
> vice versa to be mirrored on xl0 for purposes of network management.
> 
> I am pretty sure this can be done, but what is the easiest/best way do 
> implement?  How would this be done for a bridging firewall?

Sounds like exactly what ng_tee(4) was created for...


More information about the freebsd-questions mailing list