A MAC address or media access control address is a unique identifier assigned to a network interface controller (NIC) for use as a network address in communications within a network segment. (Courtesy, Wikipedia.)
Stuff you wanna know:
- It is possible to set the MAC address of a pod or container. Think well whether or not you should though!
- You can get the MAC address of the network interfaces using the command
ip link
orifconfig -a
- Kubernetes IP addresses exist at the
Pod
scope – containers within aPod
share their network namespaces – including their IP address and MAC address. (Thus, containers within aPod
can all reach each other’s ports onlocalhost
).
More stuff:
- On Wikipedia — https://en.wikipedia.org/wiki/MAC_address
- Find MAC address in the file system — https://askubuntu.com/questions/692258/find-mac-address-in-the-filesystem
- Using the IP address to find the MAC address (viva la ARP or Address Resolution Protocol!) — https://www.lifewire.com/find-a-mac-address-using-an-ip-address-818132