change the default ip programmatically?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Is it possible to change the default ip of a NIC programmatically?

Let's say there are 5 ips assigned to a NIC. Would it be possible to make the
2nd ip the default, when the 1st is currently the default?
--
Thanks in advance, Les Caudle
.