Sponsored Content
Operating Systems Linux Ubuntu Public ip is not shown in ifconfig - Ubuntu 16.04 Post 303026378 by Neo on Monday 26th of November 2018 10:30:37 PM
Old 11-26-2018
Quote:
Originally Posted by hicksd8
Yes, but if this is not a production web server, only a private one, you can use Dynamic DNS to manage the public ip address pool changes, and route the in-bound connection to your private web server using a port number. A poor man's solution.
This is not actually the case on the provider side.

The public Dynamic DNS is assigned by the provider belongs to a pool of IP addresses which can be assigned to any number of customers. The end user does not control the entire IP address block of the provider.

So, even when we add maps to our ISP interfacing device (like a router) to map externally assigned IP addresses to our internal addresses, we can assure the public address will remain static.

The issues of assigning static IP addresses on the customer side (the LAN side) is moot since these devices (and hence the private IP address blocks) are normally under the control of the end users.

For example, I have a fiber optic link directly from my ISP to my home. I do not pay for a static public IP address, so my address (on the public side of my router) changes all the time. I have all my private internal LAN addresses (192.168) configured static for a number of reasons.

It is not feasible to "punch though" from the public side to my private network because the public address changes constantly (as I have paid for, the cheap service) so we do not know what that IP address is from hour to hour. One moment, it could belong to my device, then an hour later the same IP address can be assigned to another customer of the same ISP.

I'm not following you about "production server" versus "personal server" and how this effects access using a publicly dynamic IP address. IP addresses do not care about their status. They are assigned based on a service contract with an ISP; and if you are paying for a public dynamic IP address, that is what you get on the public side, the fact if it is personal, experimental, fun and friendly, of the most important server in the world does not effect routing. The service we pay for effects routing and the configuration.

We pay for the services we need. In my case, if I needed to have (or wanted to expose) a server on my network accessible to the world, I would then pay for a statically assigned public IP address. I prefer not to expose my LAN to the world for security reasons.

On the internal LAN side, the point is mostly moot since we (the end user) have control over that IP address space and we can easily assign that as static (like I do) or dynamically, it is up to us and the size of our LAN users and how we want to manage things.
This User 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
listen(1M)						  System Administration Commands						listen(1M)

NAME
listen - network listener daemon SYNOPSIS
/usr/lib/saf/listen [-m devstem] net_spec DESCRIPTION
The listen process ``listens'' to a network for service requests, accepts requests when they arrive, and invokes servers in response to those service requests. The network listener process may be used with any connection-oriented network (more precisely, with any connection- oriented transport provider) that conforms to the Transport Layer Interface (TLI) Specification. The listener internally generates a pathname for the minor device for each connection; it is this pathname that is used in the utmpx entry for a service, if one is created. By default, this pathname is the concatenation of the prefix /dev/netspec with the decimal representation of the minor device number. In either case, the representation of the minor device number will be at least two digits (for example, 05 or 27), or longer when it is necessary to accommodate minor device numbers larger than 99. SERVER INVOCATION
When a connection indication is received, the listener creates a new transport endpoint and accepts the connection on that endpoint. Before giving the file descriptor for this new connection to the server, any designated STREAMS modules are pushed and the configuration script is executed, (if one exists). This file descriptor is appropriate for use with either TLI (see t_sync(3NSL) ) or the sockets interface library. By default, a new instance of the server is invoked for each connection. When the server is invoked, file descriptor 0 refers to the trans- port endpoint, and is open for reading and writing. File descriptors 1 and 2 are copies of file descriptor 0; no other file descriptors are open. The service is invoked with the user and group IDs of the user name under which the service was registered with the listener, and with the current directory set to the HOME directory of that user. Alternatively, a service may be registered so that the listener will pass connections to a standing server process through a FIFO or a named stream, instead of invoking the server anew for each connection. In this case, the connection is passed in the form of a file descriptor that refers to the new transport endpoint. Before the file descriptor is sent to the server, the listener interprets any config- uration script registered for that service using doconfig(3NSL), although doconfig is invoked with both the NORUN and NOASSIGN flags. The server receives the file descriptor for the connection in a strrecvfd structure using an I_RECVFD ioctl(2). For more details about the listener and its administration, see nlsadmin(1M). OPTIONS
-mdevstem The listener will use devstem as the prefix for the pathname. FILES
/etc/saf/pmtag/* ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
nlsadmin(1M), pmadm(1M), sac(1M), sacadm(1M), ioctl(2), doconfig(3NSL), nlsgetcall(3NSL), nlsprovider(3NSL), t_sync(3NSL), attributes(5), streamio(7I) NOTES
When passing a connection to a standing server, the user and group IDs contained in the strrecvfd structure will be those for the listener (that is, they will both be 0); the user name under which the service was registered with the listener is not reflected in these IDs. When operating multiple instances of the listener on a single transport provider, there is a potential race condition in the binding of addresses during initialization of the listeners, if any of their services have dynamically assigned addresses. This condition would appear as an inability of the listener to bind a static-address service to its otherwise valid address, and would result from a dynamic-address service having been bound to that address by a different instance of the listener. SunOS 5.11 3 Apr 1997 listen(1M)
All times are GMT -4. The time now is 05:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy