Sponsored Content
Operating Systems Linux Ubuntu Public ip is not shown in ifconfig - Ubuntu 16.04 Post 303026398 by Neo on Tuesday 27th of November 2018 05:04:14 AM
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:
 

8 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. Solaris

sun cluster3.2, d3 and d8 are shown as failed

Hello, This is a 2 node sun cluster 3.2 on solaris 10(x86) I am using an unique ~512M disk (c0d1) on each node and slice 6 on this disk for globaldevices. While everything looks like fine, the 'Fail' is bothering me. @ tommy_sun1 @tommy_sun -bash-3.00# cldevice refresh... (10 Replies)
Discussion started by: upengan78
10 Replies

6. 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

7. 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

8. 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
nisupdkeys(1M)						  System Administration Commands					    nisupdkeys(1M)

NAME
nisupdkeys - update the public keys in a NIS+ directory object SYNOPSIS
/usr/lib/nis/nisupdkeys [-a | -C] [-H host] [directory] /usr/lib/nis/nisupdkeys -s [-a | -C] -H host DESCRIPTION
This command updates the public keys in an NIS+ directory object. When the public key(s) for a NIS+ server are changed, nisupdkeys reads a directory object and attempts to get the public key data for each server of that directory. These keys are placed in the directory object and the object is then modified to reflect the new keys. If directory is present, the directory object for that directory is updated. Oth- erwise the directory object for the default domain is updated. The new key must be propagated to all directory objects that reference that server. On the other hand, nisupdkeys -s gets a list of all the directories served by host and updates those directory objects. This assumes that the caller has adequate permission to change all the associated directory objects. The list of directories being served by a given server can also be obtained by nisstat(1M). Before you do this operation, make sure that the new address/public key has been propagated to all replicas. If multiple authentication mechanisms are configured using nisauthconf(1M), then the keys for those mechanisms will also be updated or cleared. The user executing this command must have modify access to the directory object for it to succeed. The existing directory object can be displayed with the niscat(1) command using the -o option. This command does not update the directory objects stored in the NIS_COLD_START file on the NIS+ clients. If a server is also the root master server, then nisupdkeys -s cannot be used to update the root directory. OPTIONS
-a Update the universal addresses of the NIS+ servers in the directory object. Currently, this only works for the TCP/IP fam- ily of transports. This option should be used when the IP address of the server is changed. The server's new address is resolved using getipnodebyname(3SOCKET) on this machine. The /etc/nsswitch.conf file must point to the correct source for ipnodes and hosts for this resolution to work. -C Specify to clear rather than set the public key(s). Communication with a server that has no public key(s) does not require the use of secure RPC. -H host Limit key changes only to the server named host. If the hostname is not a fully qualified NIS+ name, then it is assumed to be a host in the default domain. If the named host does not serve the directory, no action is taken. -s Update all the NIS+ directory objects served by the specified server. This assumes that the caller has adequate access rights to change all the associated directory objects. If the NIS+ principal making this call does not have adequate per- missions to update the directory objects, those particular updates will fail and the caller will be notified. If the rpc.nisd on host cannot return the list of servers it serves, the command will print an error message. The caller would then have to invoke nisupdkeys multiple times (as in the first synopsis), once per NIS+ directory that it serves. EXAMPLES
Example 1: Using nisupdkeys The following example updates the keys for servers of the foo.bar. domain. example% nisupdkeys foo.bar. This example updates the key(s) for host fred that serves the foo.bar. domain. example% nisupdkeys -H fred foo.bar. This example clears the public key(s) for host wilma in the foo.bar. directory. example% nisupdkeys -CH wilma foo.bar. This example updates the public key(s) in all directory objects that are served by the host wilma. example% nisupdkeys -s -H wilma ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWnisu | +-----------------------------+-----------------------------+ SEE ALSO
chkey(1), niscat(1), nisaddcred(1M), nisauthconf(1M), nisstat(1M), getipnodebyname(3SOCKET), nis_objects(3NSL), attributes(5) NOTES
NIS+ might not be supported in future releases of the SolarisTM Operating Environment. Tools to aid the migration from NIS+ to LDAP are available in the Solaris 9 operating environment. For more information, visit http://www.sun.com/directory/nisplus/transition.html. SunOS 5.10 13 Dec 2001 nisupdkeys(1M)
All times are GMT -4. The time now is 06:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy