Can I Change Ip Address Dynamically?

Hi,

I am working on a project that uses TCP 4.0.0 Zynq port. I have one network interface and two endpoints. After called FreeRTOS_IPInit_Multi() function, is there any way to change ip address of one of the endpoints?

Thanks

Hi @emrecntz,
If you’re using DHCP/DHCPv6, the IP address is dynamically changed by DHCP communication with server. But if you’re using static configuration, you can refer to this post. In short, there is no existing API for users to change static setting dynamically. But users can implement one by themselves.

Note that you need to call FreeRTOS_NetworkDown() to re-init the whole stack.

THanks.

Thank you for helping @ActoryOu

Thanks for this solution.