[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5162DAF1.8060903@gmail.com>
Date: Mon, 08 Apr 2013 07:57:53 -0700
From: John Fastabend <john.fastabend@...il.com>
To: Rayagond K <rayagond@...avyalabs.com>
CC: Eric Dumazet <eric.dumazet@...il.com>,
netdev <netdev@...r.kernel.org>
Subject: Re: how to test multipe unicast MAC address
On 04/08/2013 07:16 AM, Eric Dumazet wrote:
> On Mon, 2013-04-08 at 12:38 +0530, Rayagond K wrote:
>> Hi All,
>>
>> How to assign multiple unicast MAC address to single interface ?
>> How to test multiple unicast MAC address filtering ?
>>
>> Thanks in advance.
>>
>
> Standard way would be to use macvlan
>
> ip link add link eth0 name foo02 addr 44:44:44:44:00:02 type macvlan
> ip link add link eth0 name foo03 addr 44:44:44:44:00:03 type macvlan
>
Or if you have a recent version of net-next you can add them directly
without using macvlan,
# bridge fdb add 44:44:44:44:00:02 dev eth0 self
But you'll need to wait a bit before that gets in a stable release.
--
John Fastabend Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists