FreeBSD Handbuch: LAN-Kopplung mit einer Bridge
# ifconfig bridge create bridge0 # ifconfig bridge0 bridge0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 96:3d:4b:f1:79:7a id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 0 ifcost 0 port 0 # ifconfig bridge0 addm fxp0 addm fxp1 up # ifconfig fxp0 up # ifconfig fxp1 up # ifconfig bridge0 deletem fxp0 # ifconfig bridge0 destroy Remove IPv4 10.16.4.200 from Interface re2 # ifconfig re2 inet 10.16.4.200 -alias
cloned_interfaces="bridge0" ifconfig_bridge0="addm fxp0 addm fxp1 up" ifconfig_fxp0="up" ifconfig_fxp1="up"
Port Mirroring / Span Ports
FreeBSD Network Tap
What is port mirroring?
OpenBSD Network Tap
------------------ re1 | FreeBSD | re2 ------| (Network Tap) |------ ------------------ | vr0 | -------- | | | PC | | | -------- (Traffic Collector) # ifconfig bridge0 create # ifconfig bridge0 addm rl0 addm rl1 up # ifconfig bridge0 span vr0