LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   find remote IP Address in My Office Network (http://www.linuxquestions.org/questions/linux-newbie-8/find-remote-ip-address-in-my-office-network-658359/)

drpaudel 07-26-2008 05:56 AM

find remote IP Address in My Office Network
 
I want to login to my server located in same intranet. How can I know the IP address of my server from my Ubuntu PC. I know the username password of the Server.

win32sux 07-26-2008 07:00 PM

One way might be to portscan your network, assuming the server is the only box listening on that port (or that there aren't many boxes listening on that port). For example, if your server is listening on port 22 you might do something like:
Code:

nmap -p 22 192.168.1.0/24
That said, you should consider having a DNS address for the server so that you don't need to remember IPs.

chrism01 07-27-2008 08:41 PM

Just open a terminal on the server and do

/sbin/ifconfig

win32sux 07-28-2008 04:05 AM

Quote:

Originally Posted by chrism01 (Post 3228119)
Just open a terminal on the server and do

/sbin/ifconfig

Right, although that implies physical access, which I assumed he didn't have/want based on his "from my Ubuntu PC".

sir_com 07-28-2008 07:02 AM

Good info.....Thanks

chrism01 07-28-2008 08:19 PM

Well, if its on his intranet, I assumed he'd either have access, or knows someone who does, although in that case the sysadmin prob knows the ip anyway.
Different if we were talking about a remote system, outside his company/org.


All times are GMT -5. The time now is 09:09 PM.