I tried bringing the port up. it doesn't change any thing. here is the
output.
root@ccpu5:~# ovs-vsctl set bridge br0
other-config:hwaddr=\"00:15:17:a0:29:80\"
root@ccpu5:~#
root@ccpu5:~#
root@ccpu5:~# ovs-ofctl dump-ports-desc br0
OFPST_PORT_DESC reply (xid=0x2):
LOCAL(br0): addr:16:0a:05:2e:20:bc
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
root@ccpu5:~#
root@ccpu5:~#
root@ccpu5:~#
root@ccpu5:~# ifconfig br0
br0 Link encap:Ethernet HWaddr 16:0a:05:2e:20:bc
inet6 addr: fe80::140a:5ff:fe2e:20bc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:468 (468.0 B)
On Tue, Mar 3, 2015 at 12:46 PM, Ben Pfaff <[email protected]> wrote:
> 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?
>
--
Best Regards,
Krishna Pratap Singh
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss