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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
11-16-2016, 11:51 AM
|
#16
|
Member
Registered: Nov 2016
Location: UK
Distribution: Debian Jessie
Posts: 154
Original Poster
Rep: 
|
Quote:
Originally Posted by BW-userx
key word
dynamic
as apposed to
static
|
So if use ifconfig, the inet addr is my ip address?
|
|
|
11-16-2016, 11:54 AM
|
#17
|
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,342
|
Quote:
Originally Posted by trumpforprez
So if use ifconfig, the inet addr is my ip address?
|
yes
|
|
1 members found this post helpful.
|
11-16-2016, 02:18 PM
|
#18
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
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?
|
|
|
11-17-2016, 09:39 PM
|
#19
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,441
|
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.
|
All times are GMT -5. The time now is 10:49 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|