Connecting Tech Pros Worldwide Forums | Help | Site Map

Detecting virtual IP addresses

Joseph Dionne
Guest
 
Posts: n/a
#1: Dec 5 '05
Is there anyway to detect a virtual IP address?

I currently use NetworkInterface to enumerate all local IP addresses. I can
then filter out the isLocalAddress and all Inet6Address objects, but I do not
know how to detect a virtual IP address, provided by VPN connection or VMWare.

The application binds the client socket to each NIC (IP address) on my server
to light up all interfaces, however Socket.bind() fails on virtual IP
addresses, so I need to filter them out.

Thanks.
Joseph

Closed Thread