LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-16-2016, 11:51 AM   #16
trumpforprez
Member
 
Registered: Nov 2016
Location: UK
Distribution: Debian Jessie
Posts: 154

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by BW-userx View Post
key word
dynamic
as apposed to
static
So if use ifconfig, the inet addr is my ip address?
 
Old 11-16-2016, 11:54 AM   #17
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,226

Rep: Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191
Quote:
Originally Posted by trumpforprez View Post
So if use ifconfig, the inet addr is my ip address?
yes
 
1 members found this post helpful.
Old 11-16-2016, 02:18 PM   #18
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,513

Rep: Reputation: Disabled
None of you understands private addresses are not routable and a VPN server set up in private address range will not be accessible from the internet?
 
Old 11-17-2016, 09:39 PM   #19
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 18,235

Rep: Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710
ifconfig will give you your private ip address as given to your machine by your router... eg 192.168.x.y.
This is internal only.

What you get from 'whatsmyip' is your EXTERNAL address ie your IP Address on the internet.
Unless you pay extra, most IP's only give you a Dynamic IP (ie your external IP) and this can change each time you restart your router/modem.

There are various workarounds to this; I suggest you hit up google and gain a thorough understanding before you go any further.
 
1 members found this post helpful.
  


Reply


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
ifconfig command not showing the ip details raju786 Linux - Server 1 11-13-2016 04:00 AM
ifconfig command not showing the ip details raju786 Linux - Server 3 11-13-2016 03:11 AM
ifconfig command not showing inet address barsaiyan Linux - Newbie 1 06-04-2012 03:27 PM
rtl8139 not showing in ifconfig C-Sniper Slackware 3 07-19-2007 03:31 AM
have 2ethernet cards. ifconfig showing 1. which one? dapeekay Slackware 7 07-21-2004 09:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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