How to bind a static ether address to bridge?

Daniel O'Connor doconnor at
Fri Feb 25 10:03:21 UTC 2011

On 25/02/2011, at 17:26, Zhihao Yuan wrote:
> (since I need to forward some ports to this server). So I set
>, which makes bridge0 to use bge0's MAC
> address, always. But this causes another problem: the packets sent to
> bridge0 is also sent to bge0, -- the packets are duplicated! The
> kernel have to drop half of them. So how can I bind a distinct MAC
> address to a bridge?

Does bge0 have an address? It shouldn't.

You can set the MAC address of the bridge with..
ifconfig bridge0 lladdr aa:bb:dd:ee:ff:gg

Daniel O'Connor software and network engineer
for Genesis Software -
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

More information about the freebsd-stable mailing list