Questions tagged [loopback]

Loopback means the interface created and designated to test a local port or interface. It routes test messages from their source device back to the source without any processing or modification. For TCP/IP on an ethernet interface, the loopback IP address is usually 127.0.0.1.

130 questions
96
votes
6 answers

Why is localhost IP 127.0.0.1?

I wondered what is the origin of the decision to make localhost's IP address 127.0.0.1. What is the "meaning" of 127? what is the "meaning" of 0.0.1?
Roee Adler
  • 1,588
  • 4
  • 17
  • 27
78
votes
3 answers

How do you get loopback addresses other than 127.0.0.1 to work on OS X

According to everything I read, the entire 127.x.x.x subnet should loopback. However, on my Mac, I can only ping 127.0.0.1 I know I've done this before (though possibly on another OS) and has come in very useful for developing multiple SSL sites…
49
votes
2 answers

How can I use curl with ::1 for ipv6 based loopback?

I tried a few ways but they seem to be confusing curl. root@testt:~# curl localhost:8080

Hello world!

Boom Bam Splat

root@testt:~# curl ::1:8080 curl: (3) IPv6 numerical address used in URL without brackets root@testt:~# curl…
hak8or
  • 722
  • 1
  • 6
  • 17
37
votes
5 answers

How can I see 127.0.0.1 traffic on Windows using Wireshark?

Every time I try to filter to just show a specific IP address, I get an error indicating that it is "not an interface or a field." I have no idea what that means. Furthermore, I don’t really see any localhost traffic in the logs anyway. How can I…
glutz
  • 483
  • 1
  • 4
  • 4
16
votes
3 answers

How can I change the binding order of network adapters in Windows 7?

The end goal here is that I am trying to install an Oracle 10g server on my Windows 7 x64 dev box. I use DHCP, and the Oracle installer is throwing up this warning: Checking Network Configuration requirements ... Check complete. The overall result…
Chris Farmer
  • 946
  • 5
  • 15
  • 26
15
votes
3 answers

Why has Microsoft never implemented a loopback interface in Windows?

First things first: I know that you can install a sort-of-a Loopback Adapter in Windows. But what I really found strange is that there exists nothing like lo on Windows. At all. From The missing network loopback interface: Windows TCP/IP stack does…
slhck
  • 223,558
  • 70
  • 607
  • 592
12
votes
3 answers

Permanent loop device?

Are loop devices on Linux that are created with losetup supposed to be permanent? This does not seem to be the case for me. Whenever I restart my computer I see that the loop device is gone. I am using it to create loopback file drive. How do I make…
yarun can
  • 990
  • 2
  • 17
  • 36
12
votes
3 answers

What's the difference between 127.0.0.1 and 127.0.0.0

I know that both are loopback IPs, but they have another ip mask. What's the difference between them? Can they be used interchangeably? =========================================================================== IPv4…
Disa
  • 347
  • 2
  • 6
  • 19
10
votes
3 answers

Why is there more than one loopback IP address?

Most applications only need the one loopback IP address of 127.0.0.1. However, not only is the address block 127.0.0.1/32 provided, and even 127.0.0.0/24 is provided as well but in fact the whole range 127.0.0.0/8 is provided. Clearly, this is a…
10
votes
2 answers

How do you create and partition a raw disk image?

I need to create a raw disk image for use in a virtual machine, but I need to create the partitions before creating the file system or installing the operating system. Can anyone describe a process to do this?
Aethylred
  • 475
  • 3
  • 8
  • 15
10
votes
2 answers

How does WUBI handle partitions upon shutdown?

Alright, so, basically, I'm trying to boot up Gentoo in a manner similar to WUBI; I have an installation on an ext4-formatted loopback file, BURG installed under the Windows Bootloader, and the kernel/initramfs available for booting. The booting…
Animus
  • 101
  • 3
9
votes
4 answers

Linux - how to format multiple file systems within one file?

I need to create a disk image with two empty file systems. I have created it using dd if=/dev/zero of=./disk.img bs=1MiB count=1024 Next, I have created 2 primary partitions using fdisk disk.img; one is FAT32 and other is EXT3. Now, I have to…
psihodelia
  • 875
  • 1
  • 11
  • 17
8
votes
3 answers

How do you Upgrade Ubuntu from an ISO Image By Mounting as Loopback (without burning)

I'm trying to upgrade 9.10 without burning the ISO image to a disk. What are the steps to get this to work? I am using the Ubuntu-9.10-desktop-amd64.iso image. There are a few postings around on this, but none of them work for 9.10.
cmcginty
  • 3,161
  • 5
  • 26
  • 27
6
votes
1 answer

Mounting as loop device fails with "wrong fs type, bad option, bad superblock, ..."

I tried $ mount -o loop ./live-cd.iso /mnt on a Live-OS image, which failed: mount: /mnt: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error. The image file is not corrupt.
Kapichu
  • 231
  • 1
  • 2
  • 6
6
votes
1 answer

iptables reject tcp-reset on loopback

I am trying to check how a software would behave if there is a network failure. That software is using tcp send() and recv() to communicate. Previously I was making the software communicate by putting them in 2 different machine on a lan network.…
Haris
  • 127
  • 1
  • 7
1
2 3
8 9