Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


Search this Thread
Old 09-23-2005, 10:25 PM   #1
Registered: Oct 2004
Location: Australia, Brisbane
Distribution: Gentoo
Posts: 296

Rep: Reputation: 30
How to determine IP address of ADSL router

I have a adsl router/modem that does NAT or masquardering. Its internal address is 192.XXXXX, how do I get the external address (public IP address)?

I have tried ifconfig, but that gives me only the internal or private address.

Old 09-23-2005, 11:43 PM   #2
Registered: Oct 2003
Location: /illinois/chicago
Distribution: Slackware/Gentoo/FC/RHEL
Posts: 568

Rep: Reputation: 30
Try logging into the modem/router - by going to the address of your gateway in a browser.
Old 09-23-2005, 11:48 PM   #3
Registered: Oct 2004
Location: Australia, Brisbane
Distribution: Gentoo
Posts: 296

Original Poster
Rep: Reputation: 30
ok thanks - thought there could be an easier way by using one of the network commands like ifconfig.

Old 09-24-2005, 04:57 AM   #4
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Determine IP Address basketkase999 Linux - Networking 4 11-20-2005 07:42 PM
How do I determine a computer's IP address? njschroe Linux - General 4 05-04-2005 05:53 AM
Determine IP Address with DHCP rock9604 Linux - General 3 08-20-2004 05:32 PM
ADSL Routers Setup- Microsom Deskporte router 100 and Planet ADSL modem router mabonline Linux - Hardware 1 02-27-2004 05:36 PM
proftpd - unable to determine IP address nathangg Linux - Networking 1 02-28-2003 06:57 AM

All times are GMT -5. The time now is 06:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration