tommym121
asked on
Issue with multiple IP on an NIC card
Currently, I have one NIC card in Azure VM running windows server 2012 R2. Because of the applications IP port conflict, I have my IT to provide me additional IP so I can run both applications using the same IP Port with different IP on the same machine, i.e. multiple IPs on same NIC.
But I seem to run into some issues. There seems to be some communication failure from time to time. Some communication never completed. The communication is not reliable in this setup. The system seems to be slower in response. Was it possible a bandwidth issue? Why? Will it be better if I have two different NIC with different IP on each card? If yes, why.
But I seem to run into some issues. There seems to be some communication failure from time to time. Some communication never completed. The communication is not reliable in this setup. The system seems to be slower in response. Was it possible a bandwidth issue? Why? Will it be better if I have two different NIC with different IP on each card? If yes, why.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Sounds like maybe both applications are really connecting to the same IP, so when they both attempt connecting in the same time slice, you'll see a failure.
Be sure you retool both applications to connect to specific IP, rather than wildcard (0.0.0.0) or you will see this type of failure.
Be sure you retool both applications to connect to specific IP, rather than wildcard (0.0.0.0) or you will see this type of failure.
ASKER
Michael,
I am not sure what you mean? 'Adding multiple logical NICs can lead to asymmetric routing. Which can lead to lose packet'
Both applications would not have worked at all if they are not assigned to different IPs. The reason is that it uses the same IP port. I cannot be changed.
I am not sure what you mean? 'Adding multiple logical NICs can lead to asymmetric routing. Which can lead to lose packet'
Both applications would not have worked at all if they are not assigned to different IPs. The reason is that it uses the same IP port. I cannot be changed.
The point is having multiple IPs on a single NIC shouldn't cause any problems. I've worked in environments where we put several dozen IPs on NICs (web hosting). I strongly suspect an application level fault or a configuration fault.
ASKER
Michael,
Thanks. Since both applications are commercial, I can only able to verify if they are configured to use different IP. Are there any questions I can ask about the Azure VM configuration and/or Azure networking that may help to identify the problem.
Do you think I can eliminate or avoid this problem by having another NIC for the VM?
Thanks. Since both applications are commercial, I can only able to verify if they are configured to use different IP. Are there any questions I can ask about the Azure VM configuration and/or Azure networking that may help to identify the problem.
Do you think I can eliminate or avoid this problem by having another NIC for the VM?
Are these IIS applications? If so, I would ensure that they both have individual host headers and that neither uses the default website.
Based on past experience, adding a second NIC is likely to make things worse.
I would probably run perfmon for a day or two, tracking processor, network, I/O, memory and identify where you have blockages in the app.
Based on past experience, adding a second NIC is likely to make things worse.
I would probably run perfmon for a day or two, tracking processor, network, I/O, memory and identify where you have blockages in the app.
Now, that being said, the amount of traffic you are trying to pass to each of the IP's could cause an issue for you. If you continue to have issues, I might look at adding an additional NIC to the server or two additional nics to the server and utilizing the NIC teaming functionality of that OS.
https://blogs.technet.microsoft.com/kevinholman/2012/06/02/windows-server-2012-creating-a-nic-team-for-load-balancing-and-failover/