Question:
Can I retrieve the number of the active IP with a tag? How can I force a switchover from the main to the backup IP?
Solution:
Yes, this can be done with IOKit‘s IPSelect and IPSwitch tags. They can be inserted in the application via Tag Browser; alternatively, you can also create two new tags with the following settings:
IPSelect: N1= -1, N2= 0, N3= 4, N4= 0 (Read/Write)
IPSwitch: N1= -1, N2= 0, N3= 4, N4= 1 (Write only)
For further information on tags’ settings and use, please refer to the IOKit’s Manual.