diff --git a/examples/arduino/w5500/w5500.ino b/examples/arduino/w5500/w5500.ino index b2f1ed3a..2abe450a 100644 --- a/examples/arduino/w5500/w5500.ino +++ b/examples/arduino/w5500/w5500.ino @@ -22,7 +22,7 @@ void setup() { delay(3000); MG_INFO(("Starting TCP/IP stack...")); - struct mip_if mif = {.mac = {0, 0, 1, 2, 3, 5}}; + struct mip_if mif = {.mac = {2, 0, 1, 2, 3, 5}}; mif.use_dhcp = true; mif.driver = &mip_driver_w5500; mif.driver_data = &spi; diff --git a/examples/mip-pcap/main.c b/examples/mip-pcap/main.c index b67a8672..99830ca1 100644 --- a/examples/mip-pcap/main.c +++ b/examples/mip-pcap/main.c @@ -44,7 +44,7 @@ static size_t pcap_rx(void *buf, size_t len, void *userdata) { int main(int argc, char *argv[]) { const char *iface = "lo0"; // Network iface - const char *mac = "00:00:01:02:03:77"; // MAC address + const char *mac = "02:00:01:02:03:77"; // MAC address const char *bpf = NULL; // "host x.x.x.x or ether host ff:ff:ff:ff:ff:ff"; char errbuf[PCAP_ERRBUF_SIZE] = ""; diff --git a/examples/mip-tap/main.c b/examples/mip-tap/main.c index 532ceaf4..db9ca038 100644 --- a/examples/mip-tap/main.c +++ b/examples/mip-tap/main.c @@ -35,7 +35,7 @@ static size_t tap_rx(void *buf, size_t len, void *userdata) { int main(int argc, char *argv[]) { const char *iface = "tap0"; // Network iface - const char *mac = "00:00:01:02:03:77"; // MAC address + const char *mac = "02:00:01:02:03:77"; // MAC address // Parse options for (int i = 1; i < argc; i++) { diff --git a/examples/stm32/nucleo-f429zi-baremetal/main.c b/examples/stm32/nucleo-f429zi-baremetal/main.c index 66bb9be3..1c465a66 100644 --- a/examples/stm32/nucleo-f429zi-baremetal/main.c +++ b/examples/stm32/nucleo-f429zi-baremetal/main.c @@ -72,7 +72,7 @@ int main(void) { // For static configuration, specify IP/mask/GW in network byte order struct mip_driver_stm32 driver_data = {.mdc_cr = 4}; // See driver_stm32.h struct mip_if mif = { - .mac = {0, 0, 1, 2, 3, 5}, + .mac = {2, 0, 1, 2, 3, 5}, .use_dhcp = true, .driver = &mip_driver_stm32, .driver_data = &driver_data, diff --git a/examples/stm32/nucleo-f429zi-freertos-mip/main.c b/examples/stm32/nucleo-f429zi-freertos-mip/main.c index d0410419..ebea159f 100644 --- a/examples/stm32/nucleo-f429zi-freertos-mip/main.c +++ b/examples/stm32/nucleo-f429zi-freertos-mip/main.c @@ -49,7 +49,7 @@ static void server(void *args) { ethernet_init(); struct mip_driver_stm32 driver_data = {.mdc_cr = 4}; // See driver_stm32.h struct mip_if mif = { - .mac = {0, 0, 1, 2, 3, 5}, + .mac = {2, 0, 1, 2, 3, 5}, .use_dhcp = true, .driver = &mip_driver_stm32, .driver_data = &driver_data, diff --git a/examples/stm32/nucleo-f746zg-baremetal/main.c b/examples/stm32/nucleo-f746zg-baremetal/main.c index 71b99d71..c94c2b44 100644 --- a/examples/stm32/nucleo-f746zg-baremetal/main.c +++ b/examples/stm32/nucleo-f746zg-baremetal/main.c @@ -72,7 +72,7 @@ int main(void) { // For static configuration, specify IP/mask/GW in network byte order struct mip_driver_stm32 driver_data = {.mdc_cr = 4}; // See driver_stm32.h struct mip_if mif = { - .mac = {0, 0, 1, 2, 3, 5}, + .mac = {2, 0, 1, 2, 3, 5}, .use_dhcp = true, .driver = &mip_driver_stm32, .driver_data = &driver_data, diff --git a/examples/ti/ek-tm4c1294xl-baremetal/main.c b/examples/ti/ek-tm4c1294xl-baremetal/main.c index bc44c080..636cbe69 100644 --- a/examples/ti/ek-tm4c1294xl-baremetal/main.c +++ b/examples/ti/ek-tm4c1294xl-baremetal/main.c @@ -88,7 +88,7 @@ int main(void) { // For static configuration, specify IP/mask/GW in network byte order struct mip_driver_tm4c driver_data = {.mdc_cr = 1}; // See driver_tm4c.h struct mip_if mif = { - .mac = {0, 0, 1, 2, 3, 5}, + .mac = {2, 0, 1, 2, 3, 5}, .use_dhcp = true, .driver = &mip_driver_tm4c, .driver_data = &driver_data,