On Tue, Mar 03, 2015 at 11:28:27AM -0500, Krishna Pratap wrote:
> Is it possible to set the MAC address of the local port of bridge( not the
> address of bridge itself) with a fixed address?
> 
> I tried couple of ways to do it. one of them mentioned here in this old
> thread
> http://openvswitch.org/pipermail/discuss/2011-June/005297.html
> 
> i tested this one out but it doesn't change the mac address of port br0.
> here is what I did.
> 
> root@ccpu:~# ovs-vsctl add-br br0 -- set bridge br0
> other-config:hwaddr=\"00:15:17:a0:29:80\"
> root@ccpu5:~# ovs-ofctl dump-ports-desc br0
> OFPST_PORT_DESC reply (xid=0x2):
>  LOCAL(br0): addr:ce:09:03:00:00:00
>      config:     PORT_DOWN
>      state:      LINK_DOWN
>      speed: 0 Mbps now, 0 Mbps max
> 
> 
> As we can see the Mac address doesn't change. it does update the bridge
> table's other-config column .

I think that should work.

I notice that the port is down.  Does it make any difference to bring it
up?
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to