[Bridge] Prevent MAC address from changing

Stephen Hemminger shemminger at vyatta.com
Mon Jan 12 09:36:36 PST 2009


On Mon, 12 Jan 2009 16:05:45 +0000 (GMT)
Simon Detheridge <simon at widgit.com> wrote:

> Hello,
> 
> I have a box with a bridge, br0, that exists to bridge a bunch of tap interfaces together. I'm running a program that binds to this address to serve things. Unfortunately, this server (it's isc-dhcp3) doesn't like it when the mac address changes.
> 
> I've tried configuring a dummy interface dummy0, and adding it as the first interface on br0, before I bind my server to it. I was hoping that the mac address of dummy0 would be used as the mac address for br0.
> 
> What actually happens is that it uses the dummy0 mac address until the first tap interface is connected, and then the mac address changes to that of the tap interface, and my dhcp server stops working.
> 
> Is there a way I can prevent this from happening?
> 
> Thanks,
> Simon
> 

latest kernels have a way to set mac address. After setting mac address of bridge device,
then address won't change.  


More information about the Bridge mailing list