MAC-VLAN support

modulename: macvlan.ko

configname: CONFIG_MACVLAN

Linux Kernel Configuration
└─>Device Drivers
└─>Network device support
└─>MAC-VLAN support
In linux kernel since version 2.6.24 (release Date: 2008-01-24)  
This allows one to create virtual interfaces that map packets to
or from specific MAC addresses to a particular interface.

Macvlan devices can be added using the "ip" command from the
iproute2 package starting with the iproute2-2.6.23 release:

"ip link add link <real dev> [ address MAC ] [ NAME ] type macvlan"

To compile this driver as a module, choose M here: the module
will be called macvlan.

source code: