01-29-2020
Reference:
Quote:
The IP address 127.0.0.1 is a special-purpose IPv4 address called localhost or loopback address. All computers use this address as their own but it doesn't let them communicate with other devices as a real IP address does.
Your computer might have the 192.168.1.115 private IP address assigned to it so that it can communicate with a router and other networked devices. However, it still has this special 127.0.0.1 address attached to it to mean "this computer," or the one you're currently on.
The loopback address is only used by the computer you're on, and only for special circumstances - unlike a regular IP address that is used to transfer files to and from other networked devices.
See also, for example:
127.0.0.1 IP Address Explained
FYI:
Quote:
127.0.0.1 is localhost, it's the address of the current machine, accessed through a loopback interface (not through the network adapter - this works even if there is no network chips in the system).
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've been asked to get a breakdown of what is consuming CPU time on our server over an extended period ?
Have been asked about the CPU load on our server and I need to be able to go back to my boss and indicate what % is consumed by what process (or group of processes). I.e. 15% is database... (2 Replies)
Discussion started by: Cameron
2 Replies
2. IP Networking
Hi,
I am involved in a project on Debian. One of my requirement is to route an IP packet in my application to a proxy server and receive the reply from the proxy server as an IP packet. My application handles data at the IP frame level. My application creates an IP packet(with all the necessary... (0 Replies)
Discussion started by: Rajesh_BK
0 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
I've got file1 like this:
aaa bbb ccc
ddd eee fff
ggg hhh kkk
ppp mmm nnn
and file 2 like this:
aaa qqq www
ddd fff ggg
ggg sss zzz
ppp vvv yyy
and file 3 like this:
aaa
ggg
ppp
I need to match the first column of file3 and file1, then add the rest of the file 1 to... (3 Replies)
Discussion started by: zajtat
3 Replies
4. UNIX for Advanced & Expert Users
Hi,
I was Googling to get info "How OS loads process into its memory to execute?" i mean when i execute ./<exename> , How OS exectes it?
It will be better if i tell my intention,
In my $LOGNAME saveral process are running, among all of these two process are my target process. Basically I... (1 Reply)
Discussion started by: ashokd001
1 Replies
5. Debian
Hey, I recently installed Debian on a desktop PC but when it starts I can't see anything (the monitor say no signal). I don't have any idea or even a way to figure out what going on here since I can't see anything at all not even the console. Is there something that I missed in the install, or is... (22 Replies)
Discussion started by: neur0n
22 Replies
6. UNIX for Dummies Questions & Answers
We are deploying an app to our students that is running as a daemon. It keeps them from using certain software. The problem is that when we initially deploy it we don't want to require a restart. So we decided to use launchctl to load the daemon manually. When we do it this way, though, the... (4 Replies)
Discussion started by: nextyoyoma
4 Replies
7. IP Networking
I need to configure a proxy on my local machine to use an upstream proxy (installed on another machine). The upstream proxy requires Digest/NTLM authorization. I want the local proxy to deal with the upstream proxy's authorization details and provides authorization free access to users that connect... (0 Replies)
Discussion started by: Russel
0 Replies
8. AIX
Hello,
Is there any way to su another user and loading its profile with an argument.
For example I am user1 and I want to start user2
user2 .profile is interactive asking user to pass some values
I want to automate a process by switching user and if I pass an argument the interactive... (4 Replies)
Discussion started by: geodimo
4 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have created a bonding bond1 interface with 6 Eth , mode=4. Recently i have changed my old ipv6 to new one and tried to restart as well as reload network service. Post which i can see old as well as changed ipv6 in ifconfig command output. Below are few files and command output for your... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies
LEARN ABOUT CENTOS
sysctl
SYSCTL(8) System Administration SYSCTL(8)
NAME
sysctl - configure kernel parameters at runtime
SYNOPSIS
sysctl [options] [variable[=value]] [...]
sysctl -p [file or regexp] [...]
DESCRIPTION
sysctl is used to modify kernel parameters at runtime. The parameters available are those listed under /proc/sys/. Procfs is required for
sysctl support in Linux. You can use sysctl to both read and write sysctl data.
PARAMETERS
variable
The name of a key to read from. An example is kernel.ostype. The '/' separator is also accepted in place of a '.'.
variable=value
To set a key, use the form variable=value where variable is the key and value is the value to set it to. If the value contains
quotes or characters which are parsed by the shell, you may need to enclose the value in double quotes. This requires the -w param-
eter to use.
-n, --values
Use this option to disable printing of the key name when printing values.
-e, --ignore
Use this option to ignore errors about unknown keys.
-N, --names
Use this option to only print the names. It may be useful with shells that have programmable completion.
-q, --quiet
Use this option to not display the values set to stdout.
-w, --write
Use this option when you want to change a sysctl setting.
-p[FILE], --load[=FILE]
Load in sysctl settings from the file specified or /etc/sysctl.conf if none given. Specifying - as filename means reading data from
standard input. Using this option will mean arguments to sysctl are files, which are read in order they are specified. The file
argument can may be specified as reqular expression.
-a, --all
Display all values currently available.
--deprecated
Include deprecated parameters to --all values listing.
-b, --binary
Print value without new line.
--system
Load settings from all system configuration files.
/run/sysctl.d/*.conf
/etc/sysctl.d/*.conf
/usr/local/lib/sysctl.d/*.conf
/usr/lib/sysctl.d/*.conf
/lib/sysctl.d/*.conf
/etc/sysctl.conf
-r, --pattern pattern
Only apply settings that match pattern. The pattern uses extended regular expression syntax.
-A Alias of -a
-d Alias of -h
-f Alias of -p
-X Alias of -a
-o Does nothing in favour of BSD compatibility.
-x Does nothing in favour of BSD compatibility.
-h, --help
Display help text and exit.
-V, --version
Display version information and exit.
EXAMPLES
/sbin/sysctl -a
/sbin/sysctl -n kernel.hostname
/sbin/sysctl -w kernel.domainname="example.com"
/sbin/sysctl -p/etc/sysctl.conf
/sbin/sysctl -a --pattern forward
/sbin/sysctl -a --pattern forward$
/sbin/sysctl -a --pattern 'net.ipv4.conf.(eth|wlan)0.arp'
/sbin/sysctl --system --pattern '^net.ipv6'
DEPRECATED PARAMETERS
The base_reachable_time and retrans_time are deprecated. The sysctl command does not allow changing values of there parameters. Users who
insist to use deprecated kernel interfaces should values to /proc file system by other means. For example:
echo 256 > /proc/sys/net/ipv6/neigh/eth0/base_reachable_time
FILES
/proc/sys
/etc/sysctl.conf
SEE ALSO
sysctl.conf(5) regex(7)
AUTHOR
George Staikos <staikos@0wned.org>
REPORTING BUGS
Please send bug reports to <procps@freelists.org>
procps-ng Jan 2012 SYSCTL(8)