Hi, 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 . The second way I tried changing was with Interface command. root@ccpu:~# ovs-vsctl set interface br0 mac=\"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 Still I do not see any change in the Mac address with dump-ports-desc command. Even though the Interface table does change with Mac address entry which i try to set it with. Is there a limitation that the Mac address of local port or interface of a bridge can not be changed? Any help would be great.Thanks KP
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss