Provided the host is in DNS...
host epiphyte-ix
or
ping -c3 epiphyte-ix
or simply
nmap -v epiphyte-ix
But if none of the above works the host is probably not in DNS and you'll have to figure out the IP address some other way. What do you know about the host? Does it have for example SSH open? How many hosts are there on the network? If only a handful you can run nmap
across the subnet looking for SSH servers:
nmap -v -p22 10.0.1.0/24
(change 10.0.1.0/24 to your subnet's address range).
EDIT
More info based on the comments below.
Take it from the physical location, assuming you've got a admin access as you claimed...
- Visit the teacher's office and note the network wall socket's label (usually there is a sticker with some number).
- Go the comms cabinet (that's where patch panels are connected to network switches) an find out to which switch and port that wall socket is connected to.
- Login to that switch and get the MAC address(es) of computers connected to that port.
- Login to that subnet's gateway and from the ARP table find out the IP address corresponding to the above MAC addr.
Some more techniques...
- Use a Zeroconf browser (aka
avahi
, bonjour
, etc - there are even some for iPhone and Android like Discovery
) and see if the name is advertised through Zeroconf.
- If he emails you from the computer check the email headers and see what IP it came from.
- Check the DHCP leases on the DHCP server - perhaps it sent the name to obtain an IP address from DHCP.
- He may be using IPv6 - in that case most of the above still applies (apart perhaps from the DHCP bit), just the addresses are different.
- etc...
There are many ways to find and there is no such thing as "hiding IP address" - if he wants to have internet access he must talk at least to the gateway. He can block access to/from all other hosts on the network (but I doubt that) but if you have access to the gateway you can catch him there.