How to Achive IP address through MAC(Ethernet) address

Hi sir,
i want to make such programe which takes MAC(Ethernet) address of any host & give me its IP address.......
but i'm nt getting that how i can pass the MAC address to Frame........
Please give me an idea for making such program...

Thanks & regards
Krishna

'arp -a' will list the MAC and IP addresses of all hosts that your machine has talked to on your local network.

I want to achive an IP addr through MAC addr out side of my network.............

how can i write such application please guide me that by MAC addr i can achive IP addr of any M/C out side of my network if possible.......

Thanks & Regards
Krishna

Can not do it. The MAC address communicates on the Ethernet frame and is not routable. The router or switch on the same hard wired network contains the IP/MAC table (arp table).