Transparent Bridge with VLAN Tagging - How?

Mike Sweetser - Adhost mikesw at adhost.com
Wed Aug 13 01:00:48 UTC 2008


Hello,

I'm attempting to set up a transparent bridge in FreeBSD 7.0 to
eventually act as a PF/Snort box, and it needs to be VLAN aware.
However, I don't seem to be on the right track as far as setting it up.

I have, for instance, VLAN 10 that it needs to be aware of, and this
network segment is on VLAN 10 from a switch higher up.  I have the
current setup, but once it's running, I can't ping anything.  bge0 is
the outside interface, bge1 is inside:

defaultrouter="192.168.1.1"
gateway_enable="YES"
cloned_interfaces="bridge0 vlan0 vlan1"
ifconfig_vlan0="vlan 10 vlandev bge0"
ifconfig_vlan1="vlan 10 vlandev bge1"
ifconfig_bridge0="inet 192.168.1.10 netmask 255.255.0.0 addm bge0 addm
bge1 addm vlan0 addm vlan1 up"
ifconfig_bge0="up"
ifconfig_bge1="up"

What am I doing wrong?

Thank You,
Mike Sweetser


More information about the freebsd-questions mailing list