Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can you get a IP Address from a MAC Address?
Message
From
15/06/2002 19:01:03
 
 
To
15/06/2002 10:03:29
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00668881
Message ID:
00668956
Views:
15
>We have a series of SNMP Agents and would like to ensure we can request data from a specific Agent. When using static IP's this does not present a problem. However, with the use of DHCP we can never be sure of the specific IP Address of a particular SNMP Agent. We could broadcast to all Agents and retrieve their IP Addressess as each responds. This may be the only approach but thought the solution would be much simpler if we could get a specifc IP from a previously stored MAC address..

No, you can't. A MAC address is specific to a particular Ethernet card; as you've already noticed in a DHCP environment, any of a range of IP addresses may be assigned to that card. In the general case the card's IP address will change from day to day (or boot to boot).

On the other hand, the NetBIOS name of the computer - or its hostname - rarely, if ever, changes. You might be able to make use of that. But, if you have SNMP already in place, using its properties is surely the way to go, is it not?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform