lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Changing MAC address of network interface?


From: Freddie Chopin
Subject: Re: [lwip-users] Changing MAC address of network interface?
Date: Fri, 08 Apr 2016 17:16:59 +0200

On pią, 2016-04-08 at 10:27 -0300, Sergio R. Caprile wrote:
> Hi,
> as long as you are not using an application protocol that embeds
> layer-2 
> info in application data, you shouldn't have any issues with
> buffered 
> data in lwIP, since it does not hold layer-2 info; it is added by
> the 
> driver. You would need to restart your DHCP or AutoIP, and your
> PPPoE. 
> SNMP is UDP and so not buffered, so that is it for included apps and 
> IPv4. IPv6 might also need some restart of the node discovery process
> as 
> neighbours would have old (and wrong) information.
> If I am missing something, please let me know.
> As per established data flows, other hosts will send to the old MAC 
> until their respective ARP cache entries expire, and that depends on 
> their respective timeouts. I've seen upto 4 minutes as normal.
> And yes, this not something you are expected to do on a normal 
> operation, so resetting is the best choice.

I'm going to use TCP connections (Modbus TCP protocol), so I guess that
trying to implement on-the-fly change of MAC is probably not worth the
trouble...

Thanks for help!

Regards,
FCh



reply via email to

[Prev in Thread] Current Thread [Next in Thread]