I want to run some vnets and vms on my machine so I set up bridge like this:
Then I configured ipfw to pass some traffic through bridge0 and block everything else. Last rule is:
And then I get this messages in log:
The question is. Why is re0 do not receive any normal packets(for the view of ipfw) but receive broadcast packets?
Is it normal\desired behavior?
Because I want for re0 to be totally transparent, like ordinary switch port.
Code:
#re0 - is physical interface
cloned_interfaces="bridge0"
ifconfig_bridge0="ether xxx addm re0 SYNCDHCP"
ifconfig_re0="up"
Then I configured ipfw to pass some traffic through bridge0 and block everything else. Last rule is:
$cmd 00999 deny log all from any to any
And then I get this messages in log:
Code:
Feb 5 19:33:28 nyan-nas kernel: ipfw: 999 Deny UDP 192.168.1.11:23445 192.168.1.255:23445 in via re0
Feb 5 19:33:28 nyan-nas kernel: ipfw: 499 Deny UDP 192.168.1.11:23445 192.168.1.255:23445 in via bridge0
Feb 5 19:33:28 nyan-nas kernel: ipfw: 999 Deny UDP 192.168.1.11:23445 192.168.1.255:23445 in via re0
The question is. Why is re0 do not receive any normal packets(for the view of ipfw) but receive broadcast packets?
Is it normal\desired behavior?
Because I want for re0 to be totally transparent, like ordinary switch port.