Public ip is not shown in ifconfig - Ubuntu 16.04

Tags
192.168.0.0, ifconfig, ip, public, ubuntu

 
Thread Tools Search this Thread
# 15  
Old 11-27-2018
Yes, but having your public dynamic IP address "change rarely; typically less than once a month" is a non-contractual unique situation which is mostly "a fluke" versus a contractually obligated service. My IP address changes daily or more often, so if I needed a static public IP address, for any reason, I would just pay for it. After all, we get what we pay for. But since you can get a virtual server with a dedicated public IP address as some server farm for as little as $5 to $10 US, it is generally less expensive to host any data or application in a data center (production, development, backup, storage, cloud) and use the "cheap dynamically allocated IP address server" for home where I do not keep to ping or access from outside my LAN.

Since we were discussing "Public ip is not shown in ifconfig - Ubuntu 16.04" and the original poster seeming does not understand basic IP addressing, routing and NAT, then it I think it is safe to assume that if they really need a public IP address then they need to pay for that service from the ISP. Also, in my view (maybe I am wrong) but if they had the skills to create scripts which watched for changing IP addresses on the public side and then updated all their services and mappings to keep it all in sync, they more likely would not be asking such as question and would have known the 192.168.0.0 address block was not publicly routable nor assigned by their ISP.

At least, that is how I read it.
These 2 Users Gave Thanks to Neo For This Post:
baris35 (11-27-2018) hicksd8 (11-27-2018)
# 16  
Old 11-27-2018
Dear All,
Thank you for your explanatory posts.
I am totally sure that when I cancel my static ip service, I will never ever be able to ping my router remotely.
Normally I can detect the change of ip number when I am out of my network with small scripts but it will not work in my case as my ISP is eager to earn much more money with a greedy attitude.


Kind regards
Boris

Last edited by baris35; 11-27-2018 at 09:06 PM..
# 17  
Old 11-28-2018
I didn't follow the thread to its entirety, so can't tell where you got stuck, but if the approach using a dynamic DNS service doesn't work: I faintly remember to run a tiny cron job on my (internal) server checking for the router's WAN address, and, if changed, send out an e-mail with it. That wouldn't be something to satisfy customers' or public's needs, but it was enough to keep a path open for me to do remote maintenance.
This User Gave Thanks to RudiC For This Post:
baris35 (11-28-2018)
# 18  
Old 11-28-2018
@RudiC......Yes, that would work for you and me BUT it appears that the OP's ISP blocks in-bound traffic for subscribers in its public ip pool. So the ISP won't allow in-bound connections for non-static ip addresses. That seems to be why this issue has arisen.

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
[CUPS] printers not shown after a while Gajeela UNIX for Dummies Questions & Answers 0 11-18-2015 05:19 AM
Bash-Completion, one list shown, the other not. sea UNIX for Advanced & Expert Users 2 04-14-2015 07:29 AM
Using dd command no MB/s shown eeisken Solaris 2 10-31-2013 12:55 PM
Files copied to FTP server not shown RHCE Red Hat 7 04-02-2013 05:28 AM
Mail not properly shown in some email clients muazrs Shell Programming and Scripting 3 02-09-2013 11:15 AM
Connections not shown in netstat output AIX_user IP Networking 1 04-18-2011 03:04 PM
Memory usage shown is high radiatejava UNIX for Advanced & Expert Users 2 01-20-2011 08:17 PM
What are public keys in ssh and how do we create the public keys?? ravi3cha Shell Programming and Scripting 1 09-01-2010 02:39 AM
sun cluster3.2, d3 and d8 are shown as failed upengan78 Solaris 10 07-16-2009 11:38 AM
what FS is shown in df -kh upengan78 Solaris 3 06-05-2008 05:41 PM
Help!! how to get the filename as be shown? Jones Lin Shell Programming and Scripting 8 07-18-2006 02:24 AM
preventing the banner from being shown BG_JrAdmin Solaris 1 05-22-2006 07:39 PM
working directory shown swchee UNIX for Dummies Questions & Answers 3 05-11-2006 05:05 AM