Cache the mac address once it is determined.