Jump to content
AIDA64 Discussion Forum
Sign in to follow this  
BenH

Wrong Primary IP Address

Recommended Posts

With multiple network adapters  and/or multiple IP addresses,  AIDA64 may not show the proper IP Address.  It all depends on the index that is assigned to the adapter when it is installed.  Windows does have a Metric value at the TCP/IP layer for signifying priority.  A possible fix for this is to get all IP available addresses with their Metrics and sort by the Metric value (smaller value has higher priority with Metric 1 being the highest).  With this change, the user would then be able to specify which IP Address is primary (The one with the highest Metric).  

I noticed this issue by having my LAN NIC and a VirtualBox Host-Only NIC in my system.  Windows reports the IP for the VirtualBox NIC as my Primary IP Address which is wrong.  If I disable the VirtualBox NIC, then Primary IP Address displays correctly.  I suspect AIDA64 is only getting the Primary IP Address using a single Windows API call.  If this is the case, then this is lazy coding on Microsoft's part.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×