Questions tagged [loopback]

This tag is for questions about loopback interfaces on network devices. For instance, you want to configure routing on your layer 3 switch and for that you want to configure a loopback interface.

Filter by
Sorted by
Tagged with
9
votes
4answers
7k views

Is it possible to put a real IP on a loopback device?

Is it possible to put a real IP (not in the 127.x.x.x) range on a loopback device?
9
votes
2answers
787 views

OpenBSD: Defining a new loopback interface

I need one more loopback interface in my OpenBSD 6.1, with the IP address 127.0.0.2. I can create it by hand with the command: ifconfig lo1 127.0.0.2 And to have it at boot time, I just inserted ...
7
votes
4answers
1k views

why `nmap 192.168.1.97` returns less services than `nmap 127.0.0.1`? [duplicate]

According to https://networkengineering.stackexchange.com/a/57909/, a packet sent to 192.168.1.97 "doesn't leave the host but is treated like a packet received from the network, addressed to 192.168.1....
6
votes
1answer
803 views

How come one can successfully ping 127.0.0.2 on Linux?

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 ...
2
votes
1answer
306 views

Microphone loopback on Linux

I am trying to do simple microphone loopback to immediately play to the speakers. I eventually got it working on one computer by running pacmd load-module module-loopback latency_msec=1. However, a ...
2
votes
0answers
37 views

selinux restorecon on systems without selinux like ubuntu [duplicate]

recently i had to change two files on a fedora raw image mounted via loopback on ubuntu, which usually runs in a kvm on the ubuntu host. That made a lot of troubles with selinux after booting from the ...
1
vote
2answers
149 views

Why is some virtual network interface assigned private IP address, while some is assigned loopback IP address?

Are docker0, lo and virbr0 are virtual network interfaces? Why are docker0 and virbr0 assigned private not loopback IP address? If private IP address can work like a loopback address, can lo be ...
1
vote
2answers
43 views

How I manupulate these files in terminal at the same time

I have 139 different tab-delimited .txt files. I want to add a column to each file containing the name of that .txt file and finally attached all .txt files in one file; Let's say I have A.txt, B.txt, ...
1
vote
1answer
287 views

Is it possible to zero the free space on a LUKS volume?

I want to have a LUKS volume as a loopback device pointing at a sparse file. Lets say I put a 20gb file on it, then later I delete it. How can I zero that area on the device itself so I can fallocate -...
1
vote
0answers
213 views

Does the loopback network inside the docker container shares host network loopback?

I recently faced issue with one client application which is running inside a container. This client making network connections to a server residing in the same container over loopback IP 127.0.0.1. ...
1
vote
0answers
77 views

retransmissions/out-of-order packets with large (~1 MB) writes/reads w/ TCP (SOCK_STREAM) over localhost loopback — ACK lost

I'm seeing retransmissions/out-of-order packets when using the loopback interface and have been googling for days to try to determine if I should be surprised by this (which I am) or if anyone else is ...
1
vote
0answers
95 views

IPv6: Why ping to another IPv6 host doesn't work when loopback interface is DOWN

While it is said the only job of lo interface is to test its own connectivity, why doesn't pinging another IPv6 host work when the lo interface is made DOWN. Network configuration: host1(eth0) - ...
1
vote
0answers
133 views

Alsa snd-aloop: add more loopback subdevices?

I'm currently working on a project on which I need to create multiple audio streams using snd-aloop. The issue is that we reach the max number of substreams easily. Is it possible to have more than 8 ...
1
vote
0answers
53 views

New loopback device module does not show trace in wireshark

I am trying to write a network device driver that can duplicate the functionality of the loopback device. I modified the code available at the link. I am testing on Linux 4.8. I removed code related ...
1
vote
1answer
170 views

Linux audio loopback: Multichannel to stereo (for OBS usage)

I am using the RME Fireface 802 to record a stereo signal for my stream, but unfortunatly OBS won't accept Multichannel audio that contains more than 8 signals. So, since OBS doesn't like my ...
1
vote
0answers
361 views

Trying to make loopback device as Alsa-to-Jack bridge

Using this guide i trying to make loopback device as Alsa-to-Jack bridge. Everything fine until those lines # capture client alsa_in -j cloop -dcloop # playback client alsa_out -j ploop -dploop On ...
1
vote
1answer
3k views

ip6tables - IPv6 DNAT to localhost

I have the following IPv4 rules: iptables -t nat -A PREROUTING -d "server ipv4" -p tcp -m tcp --dport 80 -i eth0 - j DNAT --to-destination 127.0.0.1:55555 iptables -P INPUT ACCEPT In addition, I ...
0
votes
4answers
3k views

How can I do a loopback test?

Book Computer Networks says all addresses of the form 127.xx.yy.zz are reserved for loopback testing. Packets sent to that address are not put out onto the wire; they are processed locally and ...
0
votes
2answers
369 views

Are the IPv4 and IPv6 networks for my loopback interface the same network?

In output of ifconfig: lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen ...
0
votes
1answer
29 views

Does “loopback” in a loopback file mean the same as in loopback IP address?

man pvcreate says pvcreate initializes a PV so that it is recognized as belonging to LVM, and allows the PV to be used in a VG. A PV can be a disk partition, whole disk, meta device, or loopback ...
0
votes
1answer
50 views

Traffic into lo vs eth, why might I be seeing only half the traffic on lo compared to eth?

I am forwarding traffic to ports on eth0 and lo. For the same traffic at the same ports and different ports, when I do a tcpdump and count the packets, for time t, I only see about half the number of ...
0
votes
1answer
623 views

Does `lo` have no MAC address?

From https://networkengineering.stackexchange.com/questions/57935/is-a-network-interface-supposed-to-have-no-more-than-one-mac-address/57937?noredirect=1#comment100988_57937 A network interface in ...
0
votes
2answers
151 views

What does the action “loop back” mean? [closed]

I have some difficulty to picture a diagram for the meaning of loopback. https://en.wikipedia.org/wiki/Loopback#Virtual_loopback_interface Any traffic that a computer program sends to a loopback IP ...
0
votes
1answer
28 views

traffic going through lo interface checking every 4 ports

I have noticed that there' s always traffic going on on my loopback interface. It's not a lot but I don't know where it's coming from and I'd like to stop it. There's syn request going from port X to ...
0
votes
1answer
20 views

Understanding Netplan / NIC [closed]

I have a set of 5 static ip addresses. Currently I only have 1 server, so I want to route 2 static IP's to the same server. At the same time I still want the server to be part of the local network. ...
0
votes
1answer
46 views

Can't ping all the loop back addresses

As we know, the range for loopback addresses is 127.0.0.0 – 127.255.255.255. On my Linux box, I am able to ping all the addresses like 127.0.0.1, 127.0.0.2, 127.0.0.254, etc. (i.e., all addresses from ...
0
votes
1answer
42 views

IPv4 iptables blocks things, but output policy is ACCEPT, what is the problem with my INPUT DROP chain?

This is my IPv4 iptables list at this moment: Chain INPUT (policy DROP) target prot opt source destination ACCEPT all -- anywhere anywhere ctstate ...
0
votes
2answers
158 views

redirect external request to localhost with iptables

I have a service running on "localhost" address on a certain X port. Unfortunately, I can't change the address to "0.0.0.0" to expose that service. Can I use iptables to internally redirect request ...
0
votes
1answer
13 views

How Can I Route A WAN IP Request To My Loopback Address And Port?

I have two virtual machines on my laptop. One of virtual machines want to reach an IP address (I have the IP) and I want to route this request to another virtual machine's port. I changed the default ...
0
votes
0answers
18 views

loopback plug detection on linux

I try to find a way to detect a loopback plug on a embedded linux device. The goal is to detect the looback plug at startup and to do some actions. Do you know how can I detect the presence of a ...
0
votes
0answers
483 views

ALSA Loopback not recording system audio on Xubuntu 18.04 in ffmpeg command

I have an ffmpeg script to do my screencasts. I have Debian 9 at the office and Xubuntu 18.04 at home. On those two operating systems, the following works to record system audio and from my microphone....
0
votes
1answer
81 views

Reachability of custom loopback interface on different machine

I have a loopback interface on one machine with a certain IP address, and on another machine I have a static route to that loopback interface subnet. I can ping the other loopback interface when ...
0
votes
1answer
483 views

Is it possible to boot a grub-mkstandalone created img file from cfg?

So I have a fully functional .img file created using grub-mkstandalone. I put this on a CD and it boots fine, the ISO loads great in a VM, etc... Now, what I want to do is link an existing grub.cfg ...
0
votes
1answer
27 views

ipv6 route slightly modified

I am running GNU/Linux version 3.4.113+ with a 6in4 tunnel to a tunnel broker. If I run command ip -6 route list table local I see a lot of routes. And one of this route entries is this local ::1 ...
-1
votes
1answer
74 views

default network on surface pro 4 is loopback

please look at this amin@amin-Surface-Pro-4 ~ $ ssh 192.168.1.10 -p 1366 ssh: connect to host 192.168.1.10 port 1366: No route to host amin@amin-Surface-Pro-4 ~ $ ifconfig lo Link encap:Local ...