Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 866
  • Last Modified:

How to get the Ip and gateway and mac address of the machine the user is working.

How to get the IP address/ MAC address and gateway of the machine.
0
searchsanjaysharma
Asked:
searchsanjaysharma
1 Solution
 
Pat-XPCommented:
Hi searchsanjaysharma,

Open up a command prompt,
Start,
Run,
CMD

Type in, ipconfig /all

All the information will show up in the results.

http://www.net.tufts.edu/images/Image23.gif

Regards,
Pat
0
 
farzanjCommented:
What machine?  Linux?  Using Java?

In Linux you can issue command
ifconfig
OR
ip a

This shows you the information you requested.

For Windows try
ipconfig
on DOS prompt
0
 
CEHJCommented:
How to get the IP address/ MAC address and gateway of the machine.
How would that help you? The ip address will be private (and therefore useless outside the lan). The mac address is also (normally) useless outside the lan. You can get the public facing ip of the gateway by doing

http://technojeeves.com/joomla/index.php/free/88-what-is-my-ip-java
0
 
searchsanjaysharmaAuthor Commented:
tx
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now