Find the answer to your Linux question:
Results 1 to 2 of 2
I am trying to find my IP address and am getting 2 different results. When I run the command ifconfig in linux, I get some 192.168.x.x generic address. but when ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2004
    Posts
    13

    IP address information


    I am trying to find my IP address and am getting 2 different results.

    When I run the command ifconfig in linux, I get some 192.168.x.x generic address. but when i go to a website like www.whatismyip.com I get a more realistic address.

    Is there a command which I can use to find the second ip address without having to go to a website??

  2. #2
    Just Joined!
    Join Date
    Sep 2005
    Posts
    3
    The IP that the website is providing is your internet connection's IP. Most likely you are behind a router so no, there is no way to tell what the internet facing IP is.

    You could plug your computer directly into the internet, but that would be pointless.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •