how can we configure IP address through cli and code? during runtime
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
You are not providing enough information. What tcp/ip stack are you using? In any case, I'm not aware of a cli tool that allows you to change IP address during runtime. Normally, the IP address is acquired through either DHCP or static during IP stack initialization. During runtime, you could possibly reacquire IP address through DHCP if you lose connection to the network.