[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Changing MAC address of network interface?
From: |
Noam Weissman |
Subject: |
Re: [lwip-users] Changing MAC address of network interface? |
Date: |
Thu, 7 Apr 2016 14:51:53 +0000 |
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: address@hidden [mailto:address@hidden On Behalf Of Freddie Chopin
Sent: Thursday, April 07, 2016 5:43 PM
To: address@hidden
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
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users
Re: [lwip-users] Changing MAC address of network interface?, Sergio R. Caprile, 2016/04/08