The UNIX Forums
"Join the Network of UNIX System Users"


 
Subject: how to achive ip address through mac(ethernet) address
matt-baker
Newbie
Rank: 1



UID 256
Digest Posts 0
Credits 0
Posts 38
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at May 21, 2007 01:43 AM  Profile | P.M. 
how to achive ip address through mac(ethernet) address



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


Top
Hopper
Newbie
Rank: 1



UID 176
Digest Posts 0
Credits 0
Posts 58
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at May 21, 2007 01:46 AM  Profile | P.M. 
'arp -a' will list the mac and ip addresses of all hosts that your machine has talked to on your local network.
Top
clvezlys
Newbie
Rank: 1



UID 92
Digest Posts 0
Credits 0
Posts 44
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at May 21, 2007 01:49 AM  Profile | P.M. 
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
Top
Gnet
Newbie
Rank: 1



UID 159
Digest Posts 0
Credits 0
Posts 44
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at May 21, 2007 01:52 AM  Profile | P.M. 


QUOTE:
i want to achive an ip addr through mac addr out side of my network.............

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).
Top
 

 

All times are GMT, the time now is Jul 31, 2010 03:40 AM

Powered by Discuz! 5.0.0  © 2001-2006 UNIX Forums
Processed in 0.005451 second(s), 8 queries

Clear Cookies - Contact Us - UNIX Help - Archiver - WAP