We were having a problem on Windows 2008 where we add and remove extra IP addresses via the AddIPAddress and DeleteIPAddress Windows functions: persistent routes would suddenly no longer be active after a DeleteIPAddress. The routes were still configured,
though, and return in the list of active routes again after a reboot.
Thus, the solution is to specifiy the interface index when defining the persistent route: e.g. "route add 184.108.40.206 mask 255.255.0.0 220.127.116.11
However, we've heard that the interface ids in Windows might get renumbered after a reboot or maybe even other circumstances (we haven't actually seen this happen yet, though).
Question is: will a persistent route still be bound to the correct interface when it was bound to that interface by its index and the index for that network interface changes afterwards? Or do the persistent routes need to be redefined whenever
the indices changed?
(we had this problem on a Windows Server 2008 R2 machine, which has 4 physical NICs set up into two teams, with 3 VLANs on Team1 and 1 VLAN on Team2)