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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...