Nxfilter 127.0.0.111/23/2023 ![]() What is the difference between these loopback addresses (I assume 127.0.0.1 - 127.0.0.255?) and "real" (maybe non-loopback is the better word?) IP addresses?Īll IP addresses are "real". Some operating systems have the loopback interface as an interface you can see and manipulate like any other interface (Linux and the common lo interface versus ones like eth0, etc.), and some make the loopback interface invisible (Windows). So, operating systems can present a "loopback" interface to applications, which internally will take incoming traffic and basically copy it to the interface's output buffer without handing it to a device driver that talks to a physical NIC - hence "loopback". Interfaces do not have to be backed by physical hardware, an operating system can provide a driver that looks like a network interface to an application, but is really something else. IP addresses are assigned to interfaces, not computers, etc. Like what software/hardware says, "StoneThrow's PC, you're assigned 72.212.216.41, so your C programs are allowed to call bind() with that address"? I think the gist of my questions is I'm trying to understand how IP address assignment/availability works in the context of a single PC. ![]() Why do so many networking tutorials use of 127.0.0.1 instead of "non-loopback" addresses? (I don't mean to generalize, but I have found this to be largely true).Can one network card only have one IP address?.Is 72.212.216.41 something that's tightly-coupled to my network card and immutable? Or can some software process change it?.Who gave my network card the address 72.212.216.41?. ![]() what governs whether the IP address 72.212.216.41 is available on that particular PC for the C code to function correctly?
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |