I recently tried adding second IP address to our server for various reasons and found that now when I check netstat -anob
there are many programs/services listening and establishing connections to that IP. (Among them, surprisingly, is httpd, despite the fact that my config file mentions only the server by name, a name which maps to the original IP, not the second, in our DNS records.) I'm a bit perplexed by this behaviour, since I do not have network load balancing enabled on the TCP/IP connection. Furthermore, I'm not sure what point there would be in adding IP addresses to a single TCP/IP connection if they just all get used together anyway.
How can I keep them separate? I only wanted to create additional IPs for specific httpd services to run on (but didn't quite get that far before I noticed this.) I don't want everything using them, first of all because then I can't get an httpd service to listen on the new IP because the old service is already hogging both IPs. Maybe it's not an issue if other services use these IPs to establish connections (is it?), but I can't move forward while httpd insists on listening on both IPs.