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?. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |