How come one can successfully ping 127.0.0.2 on Linux?2019 Community Moderator ElectionHow does the loopback interface workOpenBSD: Defining a new loopback interfaceWhat happens to local LAN traffic on linux to non-loopback addresses?why such behavior in Linux Network over Loopback InterfaceWhen does an IP address not need to be assigned to a network interface?How is it possible to send ping to all 127.0.0.0/8 successfully?Using ip addr instead of ifconfig reports “RTNETLINK answers: File exists” on DebianNetwork connectivity trouble to non-routing multi-homed hosts?FTP not happening on RHEL 6 Server configured using a Vm Player 11Can't figure out why Ethernet packets are ignoredWifi does not work in laptop 1 when laptop 2 is connectedDebian8 server : Can't resolve IP adresses or DNSConflict between wlan and ethernet boardNAT ETH1 PORT 5000 Traffic to PPP0Routing: multiple interfaces/subnets on same deviceHow to implement iptables on lxc-container?
Pronouncing Homer as in modern Greek
What do you call the infoboxes with text and sometimes images on the side of a page we find in textbooks?
What if somebody invests in my application?
Organic chemistry Iodoform Reaction
Can somebody explain Brexit in a few child-proof sentences?
Hostile work environment after whistle-blowing on coworker and our boss. What do I do?
Science Fiction story where a man invents a machine that can help him watch history unfold
Indicating multiple different modes of speech (fantasy language or telepathy)
What will be the benefits of Brexit?
What is the opposite of 'gravitas'?
Meta programming: Declare a new struct on the fly
Partial sums of primes
How can a jailer prevent the Forge Cleric's Artisan's Blessing from being used?
What to do when my ideas aren't chosen, when I strongly disagree with the chosen solution?
Is there any significance to the Valyrian Stone vault door of Qarth?
Simulating a probability of 1 of 2^N with less than N random bits
Can the electrostatic force be infinite in magnitude?
Identify a stage play about a VR experience in which participants are encouraged to simulate performing horrific activities
Lifted its hind leg on or lifted its hind leg towards?
Are Warlocks Arcane or Divine?
Giant Toughroad SLR 2 for 200 miles in two days, will it make it?
What is the term when two people sing in harmony, but they aren't singing the same notes?
Could solar power be utilized and substitute coal in the 19th century?
Why are all the doors on Ferenginar (the Ferengi home world) far shorter than the average Ferengi?
How come one can successfully ping 127.0.0.2 on Linux?
2019 Community Moderator ElectionHow does the loopback interface workOpenBSD: Defining a new loopback interfaceWhat happens to local LAN traffic on linux to non-loopback addresses?why such behavior in Linux Network over Loopback InterfaceWhen does an IP address not need to be assigned to a network interface?How is it possible to send ping to all 127.0.0.0/8 successfully?Using ip addr instead of ifconfig reports “RTNETLINK answers: File exists” on DebianNetwork connectivity trouble to non-routing multi-homed hosts?FTP not happening on RHEL 6 Server configured using a Vm Player 11Can't figure out why Ethernet packets are ignoredWifi does not work in laptop 1 when laptop 2 is connectedDebian8 server : Can't resolve IP adresses or DNSConflict between wlan and ethernet boardNAT ETH1 PORT 5000 Traffic to PPP0Routing: multiple interfaces/subnets on same deviceHow to implement iptables on lxc-container?
Let's ask this question properly.
On a FreeBSD system with a loopback network interface …
% ifconfig lo0
lo0
link up loopback drv_running running multicast
nd6 performnud auto_linklocal no_radr
link rxcsum txcsum hwcsum rxcsum_ipv6 txcsum_ipv6
link address metric 0 mtu 16384
type 24 linkstate 0 physical 0 baudrate 0
inet4 address 127.0.0.1 prefixlen 8 bdaddr 127.0.0.1
inet6 address ::1 scope 0 prefixlen 128 bdaddr ::1 scope 0
inet6 address fe80::1 scope 3 prefixlen 64
inet6 address ::2 scope 0 prefixlen 128
inet4 address 127.53.0.1 prefixlen 8 bdaddr 127.53.0.1
inet4 address 127.53.1.1 prefixlen 8 bdaddr 127.53.1.1
%
… pinging the IP address 127.0.0.2, which is not assigned to that (or to any other) network interface results in failure:
% ping -c 1 127.0.0.2
PING 127.0.0.2 (127.0.0.2): 56 data bytes
ping: sendto: Network is unreachable
--- 127.0.0.2 ping statistics ---
1 packets transmitted, 0 packets received, 100.0% packet loss
%
The same is true for OpenBSD:
% ping -c 1 127.0.0.2
PING 127.0.0.2 (127.0.0.2): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote 127.0.0.2 64 chars, ret=-1
--- 127.0.0.2 ping statistics ---
1 packets transmitted, 0 packets received, 100.0% packet loss
%
But on Linux where there is similarly no 127.0.0.2 configured …
% ifconfig lo
lo
link up loopback running
link address 00:00:00:00:00:00 bdaddr 00:00:00:00:00:00
inet4 address 127.0.0.1 prefixlen 8 bdaddr 127.0.0.1
inet4 address 127.53.0.1 prefixlen 8 bdaddr 127.255.255.255
inet6 address ::2 scope 0 prefixlen 128
inet6 address fe80:: scope 1 prefixlen 10
inet6 address ::1 scope 0 prefixlen 128
%
… the ping is surprisingly successful:
% ping -c 1 127.0.0.2
PING 127.0.0.2 (127.0.0.2) 56(84) bytes of data.
64 bytes from 127.0.0.2: icmp_seq=1 ttl=64 time=0.044 ms
--- 127.0.0.2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.044/0.044/0.044/0.000 ms
%
How come?
Related questions
- "When does an IP address not need to be assigned to a network interface?" — the very roundabout question, asking for an explanation of "virtual interfaces", that this question asks straightforwardly
- "How is it possible to send ping to all 127.0.0.0/8 successfully?" — several questions in one, rather than one question per question, and not in fact answered by the purported duplicate
- "why such behavior in Linux Network over Loopback Interface" — a question about why on Linux the
lo
interface seems to also control the pingability of IP addresses that are assigned to other network interfaces (behaviour that is similarly not what one gets on the BSDs) - "What happens to local LAN traffic on linux to non-loopback addresses?" — a question about non-loopback behaviour
Oh yes it does.
- Jonathan de Boyne Pollard (2019).
ifconfig
. nosh Guide. Softwares.
linux ip icmp loopback
|
show 1 more comment
Let's ask this question properly.
On a FreeBSD system with a loopback network interface …
% ifconfig lo0
lo0
link up loopback drv_running running multicast
nd6 performnud auto_linklocal no_radr
link rxcsum txcsum hwcsum rxcsum_ipv6 txcsum_ipv6
link address metric 0 mtu 16384
type 24 linkstate 0 physical 0 baudrate 0
inet4 address 127.0.0.1 prefixlen 8 bdaddr 127.0.0.1
inet6 address ::1 scope 0 prefixlen 128 bdaddr ::1 scope 0
inet6 address fe80::1 scope 3 prefixlen 64
inet6 address ::2 scope 0 prefixlen 128
inet4 address 127.53.0.1 prefixlen 8 bdaddr 127.53.0.1
inet4 address 127.53.1.1 prefixlen 8 bdaddr 127.53.1.1
%
… pinging the IP address 127.0.0.2, which is not assigned to that (or to any other) network interface results in failure:
% ping -c 1 127.0.0.2
PING 127.0.0.2 (127.0.0.2): 56 data bytes
ping: sendto: Network is unreachable
--- 127.0.0.2 ping statistics ---
1 packets transmitted, 0 packets received, 100.0% packet loss
%
The same is true for OpenBSD:
% ping -c 1 127.0.0.2
PING 127.0.0.2 (127.0.0.2): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote 127.0.0.2 64 chars, ret=-1
--- 127.0.0.2 ping statistics ---
1 packets transmitted, 0 packets received, 100.0% packet loss
%
But on Linux where there is similarly no 127.0.0.2 configured …
% ifconfig lo
lo
link up loopback running
link address 00:00:00:00:00:00 bdaddr 00:00:00:00:00:00
inet4 address 127.0.0.1 prefixlen 8 bdaddr 127.0.0.1
inet4 address 127.53.0.1 prefixlen 8 bdaddr 127.255.255.255
inet6 address ::2 scope 0 prefixlen 128
inet6 address fe80:: scope 1 prefixlen 10
inet6 address ::1 scope 0 prefixlen 128
%
… the ping is surprisingly successful:
% ping -c 1 127.0.0.2
PING 127.0.0.2 (127.0.0.2) 56(84) bytes of data.
64 bytes from 127.0.0.2: icmp_seq=1 ttl=64 time=0.044 ms
--- 127.0.0.2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.044/0.044/0.044/0.000 ms
%
How come?
Related questions
- "When does an IP address not need to be assigned to a network interface?" — the very roundabout question, asking for an explanation of "virtual interfaces", that this question asks straightforwardly
- "How is it possible to send ping to all 127.0.0.0/8 successfully?" — several questions in one, rather than one question per question, and not in fact answered by the purported duplicate
- "why such behavior in Linux Network over Loopback Interface" — a question about why on Linux the
lo
interface seems to also control the pingability of IP addresses that are assigned to other network interfaces (behaviour that is similarly not what one gets on the BSDs) - "What happens to local LAN traffic on linux to non-loopback addresses?" — a question about non-loopback behaviour
Oh yes it does.
- Jonathan de Boyne Pollard (2019).
ifconfig
. nosh Guide. Softwares.
linux ip icmp loopback
3
I don't understand the presence of the "oh yes it does" header or the disconnected link to your ifconfig utility.
– Jeff Schaller
2 days ago
@JeffSchaller it's probably about his or herifconfig
being able to show multiple ipv4 addresses assigned to the same interface, just likeip addr
. The question would've been much better if only standard tools were used throughout.
– mosvy
2 days ago
Humm, is this self promotion of his (JdeBP) man page?
– fpmurphy
2 days ago
See unix.stackexchange.com/questions/363507/…
– Johan Myréen
2 days ago
Without the preëmption, experience shows that the first several comment-answers would be sage explanations of how per received wisdomifconfig
doesn't display some addresses, even perhaps one from someone feeling extra wise explaining how even the OpenBSDifconfig
doesn't or 127.0.0.2 might be on an extra interface, and suggesting that as a cause. Now it's at least instead a comment not understanding how such a wild goose chase has been nipped in the bud, which you will grant is at least variety. (-:
– JdeBP
2 days ago
|
show 1 more comment
Let's ask this question properly.
On a FreeBSD system with a loopback network interface …
% ifconfig lo0
lo0
link up loopback drv_running running multicast
nd6 performnud auto_linklocal no_radr
link rxcsum txcsum hwcsum rxcsum_ipv6 txcsum_ipv6
link address metric 0 mtu 16384
type 24 linkstate 0 physical 0 baudrate 0
inet4 address 127.0.0.1 prefixlen 8 bdaddr 127.0.0.1
inet6 address ::1 scope 0 prefixlen 128 bdaddr ::1 scope 0
inet6 address fe80::1 scope 3 prefixlen 64
inet6 address ::2 scope 0 prefixlen 128
inet4 address 127.53.0.1 prefixlen 8 bdaddr 127.53.0.1
inet4 address 127.53.1.1 prefixlen 8 bdaddr 127.53.1.1
%
… pinging the IP address 127.0.0.2, which is not assigned to that (or to any other) network interface results in failure:
% ping -c 1 127.0.0.2
PING 127.0.0.2 (127.0.0.2): 56 data bytes
ping: sendto: Network is unreachable
--- 127.0.0.2 ping statistics ---
1 packets transmitted, 0 packets received, 100.0% packet loss
%
The same is true for OpenBSD:
% ping -c 1 127.0.0.2
PING 127.0.0.2 (127.0.0.2): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote 127.0.0.2 64 chars, ret=-1
--- 127.0.0.2 ping statistics ---
1 packets transmitted, 0 packets received, 100.0% packet loss
%
But on Linux where there is similarly no 127.0.0.2 configured …
% ifconfig lo
lo
link up loopback running
link address 00:00:00:00:00:00 bdaddr 00:00:00:00:00:00
inet4 address 127.0.0.1 prefixlen 8 bdaddr 127.0.0.1
inet4 address 127.53.0.1 prefixlen 8 bdaddr 127.255.255.255
inet6 address ::2 scope 0 prefixlen 128
inet6 address fe80:: scope 1 prefixlen 10
inet6 address ::1 scope 0 prefixlen 128
%
… the ping is surprisingly successful:
% ping -c 1 127.0.0.2
PING 127.0.0.2 (127.0.0.2) 56(84) bytes of data.
64 bytes from 127.0.0.2: icmp_seq=1 ttl=64 time=0.044 ms
--- 127.0.0.2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.044/0.044/0.044/0.000 ms
%
How come?
Related questions
- "When does an IP address not need to be assigned to a network interface?" — the very roundabout question, asking for an explanation of "virtual interfaces", that this question asks straightforwardly
- "How is it possible to send ping to all 127.0.0.0/8 successfully?" — several questions in one, rather than one question per question, and not in fact answered by the purported duplicate
- "why such behavior in Linux Network over Loopback Interface" — a question about why on Linux the
lo
interface seems to also control the pingability of IP addresses that are assigned to other network interfaces (behaviour that is similarly not what one gets on the BSDs) - "What happens to local LAN traffic on linux to non-loopback addresses?" — a question about non-loopback behaviour
Oh yes it does.
- Jonathan de Boyne Pollard (2019).
ifconfig
. nosh Guide. Softwares.
linux ip icmp loopback
Let's ask this question properly.
On a FreeBSD system with a loopback network interface …
% ifconfig lo0
lo0
link up loopback drv_running running multicast
nd6 performnud auto_linklocal no_radr
link rxcsum txcsum hwcsum rxcsum_ipv6 txcsum_ipv6
link address metric 0 mtu 16384
type 24 linkstate 0 physical 0 baudrate 0
inet4 address 127.0.0.1 prefixlen 8 bdaddr 127.0.0.1
inet6 address ::1 scope 0 prefixlen 128 bdaddr ::1 scope 0
inet6 address fe80::1 scope 3 prefixlen 64
inet6 address ::2 scope 0 prefixlen 128
inet4 address 127.53.0.1 prefixlen 8 bdaddr 127.53.0.1
inet4 address 127.53.1.1 prefixlen 8 bdaddr 127.53.1.1
%
… pinging the IP address 127.0.0.2, which is not assigned to that (or to any other) network interface results in failure:
% ping -c 1 127.0.0.2
PING 127.0.0.2 (127.0.0.2): 56 data bytes
ping: sendto: Network is unreachable
--- 127.0.0.2 ping statistics ---
1 packets transmitted, 0 packets received, 100.0% packet loss
%
The same is true for OpenBSD:
% ping -c 1 127.0.0.2
PING 127.0.0.2 (127.0.0.2): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote 127.0.0.2 64 chars, ret=-1
--- 127.0.0.2 ping statistics ---
1 packets transmitted, 0 packets received, 100.0% packet loss
%
But on Linux where there is similarly no 127.0.0.2 configured …
% ifconfig lo
lo
link up loopback running
link address 00:00:00:00:00:00 bdaddr 00:00:00:00:00:00
inet4 address 127.0.0.1 prefixlen 8 bdaddr 127.0.0.1
inet4 address 127.53.0.1 prefixlen 8 bdaddr 127.255.255.255
inet6 address ::2 scope 0 prefixlen 128
inet6 address fe80:: scope 1 prefixlen 10
inet6 address ::1 scope 0 prefixlen 128
%
… the ping is surprisingly successful:
% ping -c 1 127.0.0.2
PING 127.0.0.2 (127.0.0.2) 56(84) bytes of data.
64 bytes from 127.0.0.2: icmp_seq=1 ttl=64 time=0.044 ms
--- 127.0.0.2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.044/0.044/0.044/0.000 ms
%
How come?
Related questions
- "When does an IP address not need to be assigned to a network interface?" — the very roundabout question, asking for an explanation of "virtual interfaces", that this question asks straightforwardly
- "How is it possible to send ping to all 127.0.0.0/8 successfully?" — several questions in one, rather than one question per question, and not in fact answered by the purported duplicate
- "why such behavior in Linux Network over Loopback Interface" — a question about why on Linux the
lo
interface seems to also control the pingability of IP addresses that are assigned to other network interfaces (behaviour that is similarly not what one gets on the BSDs) - "What happens to local LAN traffic on linux to non-loopback addresses?" — a question about non-loopback behaviour
Oh yes it does.
- Jonathan de Boyne Pollard (2019).
ifconfig
. nosh Guide. Softwares.
linux ip icmp loopback
linux ip icmp loopback
asked 2 days ago
JdeBPJdeBP
37.5k478180
37.5k478180
3
I don't understand the presence of the "oh yes it does" header or the disconnected link to your ifconfig utility.
– Jeff Schaller
2 days ago
@JeffSchaller it's probably about his or herifconfig
being able to show multiple ipv4 addresses assigned to the same interface, just likeip addr
. The question would've been much better if only standard tools were used throughout.
– mosvy
2 days ago
Humm, is this self promotion of his (JdeBP) man page?
– fpmurphy
2 days ago
See unix.stackexchange.com/questions/363507/…
– Johan Myréen
2 days ago
Without the preëmption, experience shows that the first several comment-answers would be sage explanations of how per received wisdomifconfig
doesn't display some addresses, even perhaps one from someone feeling extra wise explaining how even the OpenBSDifconfig
doesn't or 127.0.0.2 might be on an extra interface, and suggesting that as a cause. Now it's at least instead a comment not understanding how such a wild goose chase has been nipped in the bud, which you will grant is at least variety. (-:
– JdeBP
2 days ago
|
show 1 more comment
3
I don't understand the presence of the "oh yes it does" header or the disconnected link to your ifconfig utility.
– Jeff Schaller
2 days ago
@JeffSchaller it's probably about his or herifconfig
being able to show multiple ipv4 addresses assigned to the same interface, just likeip addr
. The question would've been much better if only standard tools were used throughout.
– mosvy
2 days ago
Humm, is this self promotion of his (JdeBP) man page?
– fpmurphy
2 days ago
See unix.stackexchange.com/questions/363507/…
– Johan Myréen
2 days ago
Without the preëmption, experience shows that the first several comment-answers would be sage explanations of how per received wisdomifconfig
doesn't display some addresses, even perhaps one from someone feeling extra wise explaining how even the OpenBSDifconfig
doesn't or 127.0.0.2 might be on an extra interface, and suggesting that as a cause. Now it's at least instead a comment not understanding how such a wild goose chase has been nipped in the bud, which you will grant is at least variety. (-:
– JdeBP
2 days ago
3
3
I don't understand the presence of the "oh yes it does" header or the disconnected link to your ifconfig utility.
– Jeff Schaller
2 days ago
I don't understand the presence of the "oh yes it does" header or the disconnected link to your ifconfig utility.
– Jeff Schaller
2 days ago
@JeffSchaller it's probably about his or her
ifconfig
being able to show multiple ipv4 addresses assigned to the same interface, just like ip addr
. The question would've been much better if only standard tools were used throughout.– mosvy
2 days ago
@JeffSchaller it's probably about his or her
ifconfig
being able to show multiple ipv4 addresses assigned to the same interface, just like ip addr
. The question would've been much better if only standard tools were used throughout.– mosvy
2 days ago
Humm, is this self promotion of his (JdeBP) man page?
– fpmurphy
2 days ago
Humm, is this self promotion of his (JdeBP) man page?
– fpmurphy
2 days ago
See unix.stackexchange.com/questions/363507/…
– Johan Myréen
2 days ago
See unix.stackexchange.com/questions/363507/…
– Johan Myréen
2 days ago
Without the preëmption, experience shows that the first several comment-answers would be sage explanations of how per received wisdom
ifconfig
doesn't display some addresses, even perhaps one from someone feeling extra wise explaining how even the OpenBSD ifconfig
doesn't or 127.0.0.2 might be on an extra interface, and suggesting that as a cause. Now it's at least instead a comment not understanding how such a wild goose chase has been nipped in the bud, which you will grant is at least variety. (-:– JdeBP
2 days ago
Without the preëmption, experience shows that the first several comment-answers would be sage explanations of how per received wisdom
ifconfig
doesn't display some addresses, even perhaps one from someone feeling extra wise explaining how even the OpenBSD ifconfig
doesn't or 127.0.0.2 might be on an extra interface, and suggesting that as a cause. Now it's at least instead a comment not understanding how such a wild goose chase has been nipped in the bud, which you will grant is at least variety. (-:– JdeBP
2 days ago
|
show 1 more comment
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f508157%2fhow-come-one-can-successfully-ping-127-0-0-2-on-linux%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f508157%2fhow-come-one-can-successfully-ping-127-0-0-2-on-linux%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
-icmp, ip, linux, loopback
3
I don't understand the presence of the "oh yes it does" header or the disconnected link to your ifconfig utility.
– Jeff Schaller
2 days ago
@JeffSchaller it's probably about his or her
ifconfig
being able to show multiple ipv4 addresses assigned to the same interface, just likeip addr
. The question would've been much better if only standard tools were used throughout.– mosvy
2 days ago
Humm, is this self promotion of his (JdeBP) man page?
– fpmurphy
2 days ago
See unix.stackexchange.com/questions/363507/…
– Johan Myréen
2 days ago
Without the preëmption, experience shows that the first several comment-answers would be sage explanations of how per received wisdom
ifconfig
doesn't display some addresses, even perhaps one from someone feeling extra wise explaining how even the OpenBSDifconfig
doesn't or 127.0.0.2 might be on an extra interface, and suggesting that as a cause. Now it's at least instead a comment not understanding how such a wild goose chase has been nipped in the bud, which you will grant is at least variety. (-:– JdeBP
2 days ago