![]() |
|
|||||||
| Home | Forums | Register | Rules & FAQ | Donate | Members List | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a technical question, post it here. All UNIX and Linux Newbies Welcome !! |
![]() |
|
|
Submit Tools | Thread Tools | Search this Thread | Display Modes |
|
|||
|
How to view my IP
I run Ubuntu server 7.04, to learn some *nix. I set up LAMP, DNS and FTP but I don't know how to view my ip. now I tried ifconfig but that didnt tell me what I wanted to know.
so by what way can I do this without a gui and a website like ipchicken? |
| Forum Sponsor |
|
|
|
|||
|
What did ifconfig tell you? Can you please quote the output?
|
| Forum Sponsor |
|
|
|
|||
|
eth0
Hop this is enough. I have it connected and sharing internet with my mac if that helps |
|
|||
|
Quote:
DHCP - this is typically how an ADSL router will allocate addresses NAT - how the router will change addresses between local and internet domains DNS - how name mapping works, and that the ADSL router may act as a DNS proxy Last edited by porter : 06-25-2007 at 12:32 PM. |
|
|||
|
ifconfig shows the actual IP assigned to your interface. So if your router performs NAT, it is natural that you see private IPs on your system. As for the IP address at the router, normally a host in the network will not know about that address at all, because it will be replaced as part of NAT at the router.
|
|
|||
|
alright I tried the traceroute and (not sure if its suppose to) it showed my private network ip...
I trying the telnet hoojiger now and its taking a long time.. Its getting late so I'll pick this up tomorrow evening. [edit] the telnet timed out ![]() |
|
|||
|
Try these two scripts: they just do what they already suggested you, but it can be useful to keep them in your /bin directory :-)
Saverio Bolognani's Home Page - What is my IP? Ciao, Saverio |
|
|||
|
Quote:
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| view log files | sak900354 | UNIX for Dummies Questions & Answers | 5 | 06-15-2006 06:26 AM |
| cmd to view only directories | aarora_98 | Shell Programming and Scripting | 14 | 05-08-2006 01:51 PM |
| view all others terminals | vkandati | UNIX for Dummies Questions & Answers | 2 | 03-08-2005 05:27 PM |
| DBM View | schafferm | UNIX for Dummies Questions & Answers | 1 | 08-06-2002 03:18 AM |