|
Search Forums:
|
|||||||
| Forums | Register | Forum Rules | Linux and Unix Links | Man Pages | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to find i.p address of our server
I don't have root access. How do I find i.p address of our sun server? Thanks.
|
| Sponsored Links | |
|
|
|
#2
|
||||
|
||||
|
Use this command:
$ ifconfig -a Your output will be like this: lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232 inet 127.0.0.1 netmask ff000000 hme0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500 inet 10.14.1.20 netmask fffffc00 broadcast 10.14.1.255 You will have either a le0, hme0, qfe0...the inet is the IP address. Check the man page on ifconfig |
| Sponsored Links | ||
|
|
|
#4
|
||||
|
||||
|
hostname -i
or open /etc/hosts you'll see the list |
| Sponsored Links | |
|
|
#5
|
||||
|
||||
|
I believe that you can ping the hostname.
ping `hostname` This should return the IP address. # ping `hostname` PING myhost: 64 byte packets 64 bytes from 192.111.111.34: icmp_seq=0. time=0. ms 64 bytes from 192.111.111.34: icmp_seq=1. time=0. ms ----myhost PING Statistics---- 2 packets transmitted, 2 packets received, 0% packet loss round-trip (ms) min/avg/max = 0/0/0 Hope this helps!!! ![]() |
| Sponsored Links | ||
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do I find my IP address when connecting via VPN. | gppande | IP Networking | 4 | 05-23-2008 07:36 AM |
| how to find the IP address of a printer | abNORMal | HP-UX | 2 | 02-29-2008 06:49 AM |
| how to get the server name using IP address | Sona | UNIX for Dummies Questions & Answers | 3 | 09-13-2006 10:47 AM |
| Find LAN Address | jiashi2 | UNIX for Advanced & Expert Users | 5 | 08-01-2006 10:09 PM |
| Find the IP address that a telnet session uses | sszago | Programming | 6 | 01-22-2002 02:10 AM |
|
|