Below is the route table on a 2008 Server with one IP on the NIC, 192.168.1.50.
My issue is that I'm adding a secondary IP, 192.168.1.51, and all of the route information is switched over to that new IP. Even if I set *.51 as the primary IP on the NIC, and add *.50 as a secondary, it moves everything in the route table to *.51. This causes some problems because we have websites running on *.50. Is this normal behavior, and if not, what can I do to fix it?
Before:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.50 266
192.168.1.0 255.255.255.0 On-link 192.168.1.50 266
192.168.1.50 255.255.255.255 On-link 192.168.1.50 266
192.168.1.255 255.255.255.255 On-link 192.168.1.50 266
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.1.50 266
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.1.50 266
After:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.51 266
192.168.1.0 255.255.255.0 On-link 192.168.1.51 266
192.168.1.51 255.255.255.255 On-link 192.168.1.51 266
192.168.1.255 255.255.255.255 On-link 192.168.1.51 266
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.1.51 266
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.1.51 266
My issue is that I'm adding a secondary IP, 192.168.1.51, and all of the route information is switched over to that new IP. Even if I set *.51 as the primary IP on the NIC, and add *.50 as a secondary, it moves everything in the route table to *.51. This causes some problems because we have websites running on *.50. Is this normal behavior, and if not, what can I do to fix it?
Before:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.50 266
192.168.1.0 255.255.255.0 On-link 192.168.1.50 266
192.168.1.50 255.255.255.255 On-link 192.168.1.50 266
192.168.1.255 255.255.255.255 On-link 192.168.1.50 266
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.1.50 266
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.1.50 266
After:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.51 266
192.168.1.0 255.255.255.0 On-link 192.168.1.51 266
192.168.1.51 255.255.255.255 On-link 192.168.1.51 266
192.168.1.255 255.255.255.255 On-link 192.168.1.51 266
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.1.51 266
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.1.51 266