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, 12:51 PM   #16
trumpforprez
LQ Newbie
 
Registered: Nov 2016
Posts: 11

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, 12:54 PM   #17
BW-userx
Senior Member
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Void Linux / Slackware 14.2
Posts: 2,061

Rep: Reputation: Disabled
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, 03:18 PM   #18
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

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, 10:39 PM   #19
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

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


All times are GMT -5. The time now is 10:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration