I'm told that an interface can transmit a frame no matter what the OS has set for the interface's MAC. I'm also under the impression this is how VMs do host-bridging. If that is so, then what uses the interfaces bound MAC address?
Specifically, I'm asking about the software MAC not the MAcs that were burned into the ROM in the 70s:
wlan0 Link encap:Ethernet HWaddr 00:16:ce:01:
That is a line of output from ifconfig
, but I'm told the interface wlan0 can transmit under /any/ MAC address, and that MAC I'm seeing does nothing at all (except maybe provide a default for some libraries). I'm told that with a VM's host-bridging it will exploit that, and transmit on an arbitrary amount of ip address - but that it doesn't stop there the AP will actually permit you to assign a unique IP to each one of those VMs, because the AP will receive the requests on different MACs.
- Do you have any special permissions (linux) to craft a packet from a "virtual" MAC address.
- If a MAC address is how a router tracks what interface, and host, has whatever IP, then how do you stop one host from request all of the IPs to virtual interfaces
- How do you stop users from using virtual MAC addresses
- Does this require a special option in the kernel or piece to built in the network stack?
MAC addresses are organized and standardized by the IEEE. Every device that connects to an ethernet network has a unique MAC address that is assigned to it, this way any two devices can be on the same network and communicate without problems. This doesn't mean that the OS can't choose what MAC address to use though, like for monitoring or spoofing traffic. Plenty to read here
In response to questions below