Contents

VZMACAddress

The media access control (MAC) address for a network interface in your virtual machine.

Declaration

class VZMACAddress

Overview

A VZMACAddress object contains the hardware address of your network interface. Every network device has a unique 48-bit MAC address that the system uses to route network packets to that device.

Call the randomLocallyAdministered() method to get a local MAC address suitable for use with your network interfaces. Alternatively, you can create a VZMACAddress object yourself from a string or ether_addr_t structure.

Topics

Creating a MAC address

Getting the address

Getting address attributes

See Also

Configurations