What is correct MAC address


when I run an example code from the WiFi library that gives the MAC address oft he WiFi shield, I get a result that is completely different than the one printed on the sticker on the Arduino Wifi shield.

What is the correct address?

Depends ?


Care to post it so people can see what you are seeing ?
Oh and a reminder to use code tags to do so ( </> )


This example connects to an unencrypted Wifi network. 
Then it prints the  MAC address of the Wifi shield,
the IP address obtained, and other network details.

* WiFi shield attached

created 13 July 2010
by dlf (Metodo2 srl)
modified 31 May 2012
by Tom Igoe
#include <WiFi.h>

char ssid[] = "yourNetwork";     // the name of your network
int status = WL_IDLE_STATUS;     // the Wifi radio's status

void setup() {
 //Initialize serial and wait for port to open:
 while (!Serial) {
   ; // wait for serial port to connect. Needed for Leonardo only
 // check for the presence of the shield:
 if (WiFi.status() == WL_NO_SHIELD) {
   Serial.println("WiFi shield not present"); 
   // don't continue:
// attempt to connect to Wifi network:
 while ( status != WL_CONNECTED) { 
   Serial.print("Attempting to connect to open SSID: ");
   status = WiFi.begin(ssid);

   // wait 10 seconds for connection:
 // you're connected now, so print out the data:
 Serial.print("You're connected to the network");

void loop() {
 // check the network connection once every 10 seconds:

void printWifiData() {
 // print your WiFi shield's IP address:
 IPAddress ip = WiFi.localIP();
   Serial.print("IP Address: ");
 // print your MAC address:
 byte mac[6];  
 Serial.print("MAC address: ");
 // print your subnet mask:
 IPAddress subnet = WiFi.subnetMask();
 Serial.print("NetMask: ");

 // print your gateway address:
 IPAddress gateway = WiFi.gatewayIP();
 Serial.print("Gateway: ");

void printCurrentNet() {
 // print the SSID of the network you're attached to:
 Serial.print("SSID: ");

 // print the MAC address of the router you're attached to:
 byte bssid[6];
 Serial.print("BSSID: ");

 // print the received signal strength:
 long rssi = WiFi.RSSI();
 Serial.print("signal strength (RSSI):");

 // print the encryption type:
 byte encryption = WiFi.encryptionType();
 Serial.print("Encryption Type:");

Hi all,

thank you - I managed to see the correct MAC address from the router admin SW. It is the one the sample code shows. I still don't understand why the Mac address on the sticker is different...

Anyhow, its not important.