Is switching DHCP / static IP possible

Status
Not open for further replies.

JEN

Member
Using NativeEthernet class for Teensy 4.1 I need to switch between DHCP and static IP during runtime. While starting the Teensy with DHCP by Ethernet.begin(mac) it is possible to switch to a static IP by just using Ethernet.setlocalip(ip). But is it somehow also possible to switch back to DHCP? Thanks for any help.
 
Status
Not open for further replies.
Back
Top