Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2008 17:44:30 -0700
From:      "Mike Sweetser - Adhost" <mikesw@adhost.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Transparent Bridge with VLAN Tagging - How?
Message-ID:  <17838240D9A5544AAA5FF95F8D5203160472C95E@ad-exh01.adhost.lan>

next in thread | raw e-mail | index | archive | help
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=3D"192.168.1.1"
gateway_enable=3D"YES"
cloned_interfaces=3D"bridge0 vlan0 vlan1"
ifconfig_vlan0=3D"vlan 10 vlandev bge0"
ifconfig_vlan1=3D"vlan 10 vlandev bge1"
ifconfig_bridge0=3D"inet 192.168.1.10 netmask 255.255.0.0 addm bge0 addm
bge1 addm vlan0 addm vlan1 up"
ifconfig_bge0=3D"up"
ifconfig_bge1=3D"up"

What am I doing wrong?

Thank You,
Mike Sweetser



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17838240D9A5544AAA5FF95F8D5203160472C95E>