Date: Fri, 25 Feb 2011 20:33:16 +1030 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: Zhihao Yuan <lichray@gmail.com> Cc: FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org> Subject: Re: How to bind a static ether address to bridge? Message-ID: <09E86832-F5D9-4415-83A0-FEF59693FE02@gsoft.com.au> In-Reply-To: <AANLkTi=P6pbiPHWpeoj9Os%2Bfi76Hk7DFOyYaSN3BY=_J@mail.gmail.com> References: <AANLkTi=P6pbiPHWpeoj9Os%2Bfi76Hk7DFOyYaSN3BY=_J@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 25/02/2011, at 17:26, Zhihao Yuan wrote: > (since I need to forward some ports to this server). So I set > net.link.bridge.inherit_mac=1, 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 - http://www.gsoft.com.au "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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?09E86832-F5D9-4415-83A0-FEF59693FE02>