Public ip is not shown in ifconfig - Ubuntu 16.04


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 15  
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:
# 16  
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  
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:
# 18  
@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.
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

[CUPS] printers not shown after a while

I'm currently running a CUPS server and it shows the printers on other computers just fine, but after a while they disappear. I found out, that restarting /etc/init.d/cups-browsed fixes the problem (for about 15min). When the printers disappear, the cups-browsed service is still running, so I... (0 Replies)
Discussion started by: Gajeela
0 Replies

2. UNIX for Advanced & Expert Users

Bash-Completion, one list shown, the other not.

Heyas I'm trying to read out a file which contains a variable and use that list to complete a bash command. Difficult part on this is, that 2 (actualy 3) different lists are to be used, but the 'dynamic' ones from the external file dont work properly. It only seems to work with the list... (2 Replies)
Discussion started by: sea
2 Replies

3. Solaris

Using dd command no MB/s shown

Hi I am using the dd command on solaris 10 and the output doesn't include the MB/s statistic that you get in Linux, is this not available or am I missing a switch of some sort #dd if=/dev/urandom of=/perf_test/file.txt bs=1048576 count=500 0+500 records in 0+500 records out (2 Replies)
Discussion started by: eeisken
2 Replies

4. Shell Programming and Scripting

What are public keys in ssh and how do we create the public keys??

Hi All, I am having knowledge on some basics of ssh and wanted to know what are the public keys and how can we create and implement it in connecting server. Please provide the information for the above, it would be helpful for me. Thanks, Ravindra (1 Reply)
Discussion started by: ravi3cha
1 Replies

5. Solaris

what FS is shown in df -kh

Hi, On solaris 10, t5120, I don't understand what are the last 2 file systems so last 2 file systems what are they, why are they getting shown and also confused why the swap is shown so many times and different size when I set it to 16 G at the time of installing solaris 10. ( rest... (3 Replies)
Discussion started by: upengan78
3 Replies

6. Shell Programming and Scripting

Help!! how to get the filename as be shown?

I am trying to obtain the file name (not including sub file name), however, I still cannot have the string output. :( 2 existed files at /tmp, AAA.new and BBB.last Originally, the output result is needed to be shown as follows, ex: SYSTEM NEW LAST =================== 01 ... (8 Replies)
Discussion started by: Jones Lin
8 Replies

7. Solaris

preventing the banner from being shown

Is there a way to supress the banner from being shown when you log in? (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

8. UNIX for Dummies Questions & Answers

working directory shown

Hi, How do I get my working directory always shown in the unix editor? i.e if I am now at /Home/abc/xyz/, I want to see this absolute path displayed ( and now only display when I type pwd). thanks for the kind help. Regrads (3 Replies)
Discussion started by: swchee
3 Replies

Featured Tech Videos