Hi, No reason you could not.
If your TCP stack sends data before you change the MAC the older MAC address is saved by the router/switch It is connected to.. also it make sense that some packets are saved within the TCP stack buffering with the older MAC address (before you change it). I am changing MAC address all the time as I am developing boards and every new board has a default MAC Before it is changed. What I am saying that you can change MAC address on the fly but I think it's better to do it before you connect the cable and start data transfer. BR, Noam. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Freddie Chopin Sent: Thursday, April 07, 2016 5:43 PM To: [email protected] Subject: Re: [lwip-users] Changing MAC address of network interface? On czw, 2016-04-07 at 14:34 +0000, Noam Weissman wrote: > Just a small addition. You can change net_if.hwaddr[] on the fly for > testing etc but I think it is better t reboot after that. You can change MAC address on your PC, so I'm wondering whether this is possible and easy with lwIP. "Easy" meaning doing that by simply changing hwaddr contents instead of de-initializing netif and initializing it again. Regards, FCh _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
