RE: Multiple unicast MACs on the same interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: linux-net-owner@xxxxxxxxxxxxxxx 
> [mailto:linux-net-owner@xxxxxxxxxxxxxxx] On Behalf Of Norman Baz
> Sent: Thursday, December 20, 2007 4:42 AM
> To: linux-net@xxxxxxxxxxxxxxx
> Subject: Multiple unicast MACs on the same interface
> 
> Hello, 
> I'm working on a little security project in which multiple 
> unicast MACs are required 
> on single ethernet interface. It looks like linux do not 
> provide such mechanism for 
> handling more than one unicast mac address (at least I'm not 
> aware of it). 
> Question is it still possible to use SIOCADDMULTI as a workaround? 
>  
> I'm not sure why (maybe this is not longer supported) I 
> couldn't made linux 
> to receive ethernet frames sent to unicast MAC address added 
> to multicast filter, 
> ioctl returned without error, system was configured (i.e. 
> output from "ip m" 
> confirmed that MAC was added as a "static"), but for some 
> reasons I couldn't 
> ping this host from remote machine with static arp entry. 
> The same experiment but with mcast MAC succeed. 
>  
> I wonder if anybody could explain if this workaround is still valid. 
>  
> Regards, 
> 
> 
> -- 
> Norman Baz
> 

Are you sure your hardware will support this?

Most of the MACs I've worked with will receive frames destined to a
single station address and can be configured to hash the addresses of
frames received with MAC multicast addresses and do a lookup of the hash
in a bit table to determine whether to DMA the received frame in or not,
but the multicast MAC address space is distinct from the singlecast MAC
address space (least significant bit of first byte, IIRC).

Jeff Haran
Brocade
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux