Hi Ben,

Thank you for the info.

I can get my VM's mac address(port 3) now using the command as below:

*root@server-01:~# ovs-appctl fdb/show br0*
* port VLAN MAC Age 3 0 08:00:27:5a:5c:3a 58 2 0 08:00:27:c0:00:08 1 0 0
00:0c:29:b5:1d:a1 1*

However after 60 seconds,the learned VM's mac is expired, I cannot query
that mac after that.
*root@server-01:~# ovs-appctl fdb/show br0*
* port  VLAN  MAC                Age*
*    2     0  08:00:27:c0:00:08    0
*
*    0     0  00:0c:29:b5:1d:a1    0*
*
*
I am wondering is it possible to keep mac-address table never expired when
the peer port (VM's NIC) is up?


Thanks,
Sam


On Mon, Jul 8, 2013 at 1:54 PM, Ben Pfaff <[email protected]> wrote:

> On Mon, Jul 08, 2013 at 01:45:10PM -0700, Sam Su wrote:
> > As we know, users can get all servers MAC addresses from a physical
> switch
> > (e.g. 'show mac address-table' for a cisco switch).
> > I am wondering how to get VMs (attached to the open vswitch) MAC
> addresses
> > from an Open vswitch?
>
> It's documented.
>
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to