[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJ3bTp4HnmZ9pvzEOUg5VAKiLYGxS+f6eqtb5HdXkmuUYdyZUw@mail.gmail.com>
Date: Mon, 8 Apr 2013 23:43:10 +0530
From: Rayagond K <rayagond@...avyalabs.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: netdev <netdev@...r.kernel.org>
Subject: Re: how to test multipe unicast MAC address
On Mon, Apr 8, 2013 at 7:46 PM, Eric Dumazet <eric.dumazet@...il.com> 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
I tried this, but this won't update the uc address and in netdev
struct and won't call .ndo_set_multicast_list.
I am planning to use vlan through vconfig as below,
#vconfig add eth0 100
#ifconfig eth0.100 10.144.134.1 netmask 255.255.255.0 up
#ifconfig eth0.100 hw ether 00:55:22:44:f7:80
This will update uc in netdev and calls .ndo_set_multicast_list.
>
>
--
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