Do the concepts of IP address and network interface not belong to the same layer? Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Does a loop back IP address not need to be assigned to a network interface, in order to communicate with?OSI layer : Ethernet and IP addressWhen does the three way handshake take place in relation to data flowing down the OSI stack?Why is the network layer considered to be connectionless?Does every application use the layers of the OSI model?Do Bluetooth Devices have MAC address with the same specification as the MAC addresses of the Ethernet and Wi-Fi Network cards?Ping loopback without interface IP addressHow is Network Access Layer/Link Layer of TCP/IP model different from Layer 1 and Layer 2 of OSI?What is the difference between 0.0.0.0 and a loopback IP address?Does sending a packet to a private IP adrress for a local network interface work in the same way as sending it to a loopback address?Can more than one IP addresses be assigned to the same network interface?
Why do C and C++ allow the expression (int) + 4*5?
Why does BitLocker not use RSA?
What is the evidence that custom checks in Northern Ireland are going to result in violence?
Network questions
How to break 信じようとしていただけかも知れない into separate parts?
Why is ArcGIS Pro not symbolizing my entire range of values?
How to leave only the following strings?
Is "ein Herz wie das meine" an antiquated or colloquial use of the possesive pronoun?
Is my guitar’s action too high?
Is Bran literally the world's memory?
lm and glm function in R
Short story about an alien named Ushtu(?) coming from a future Earth, when ours was destroyed by a nuclear explosion
“Since the train was delayed for more than an hour, passengers were given a full refund.” – Why is there no article before “passengers”?
Is there a way to convert Wolfram Language expression to string?
Is it OK if I do not take the receipt in Germany?
Can a Wizard take the Magic Initiate feat and select spells from the Wizard list?
A journey... into the MIND
Lights are flickering on and off after accidentally bumping into light switch
Putting Ant-Man on house arrest
Can 'non' with gerundive mean both lack of obligation and negative obligation?
A German immigrant ancestor has a "Registration Affidavit of Alien Enemy" on file. What does that mean exactly?
Is there a verb for listening stealthily?
Has a Nobel Peace laureate ever been accused of war crimes?
Why is one lightbulb in a string illuminated?
Do the concepts of IP address and network interface not belong to the same layer?
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Does a loop back IP address not need to be assigned to a network interface, in order to communicate with?OSI layer : Ethernet and IP addressWhen does the three way handshake take place in relation to data flowing down the OSI stack?Why is the network layer considered to be connectionless?Does every application use the layers of the OSI model?Do Bluetooth Devices have MAC address with the same specification as the MAC addresses of the Ethernet and Wi-Fi Network cards?Ping loopback without interface IP addressHow is Network Access Layer/Link Layer of TCP/IP model different from Layer 1 and Layer 2 of OSI?What is the difference between 0.0.0.0 and a loopback IP address?Does sending a packet to a private IP adrress for a local network interface work in the same way as sending it to a loopback address?Can more than one IP addresses be assigned to the same network interface?
https://unix.stackexchange.com/a/508065/674
You are confusing the device driver layers and the IP layers of the
stack.
At the IP layer, 127.0.0.1 is just another IP address and treated the
same.
At the driver layer, packets sent via the loopback interface are
"simply and immediately passed back up the network software stack" as
opposed to being sent to a network card.
This concept is not OS specific; various OSes use the same concept.
You have confusion between localhost (127.0.0.1) and loopback interfaces. Yes, you are confused between the network stack layers.
In computer networks, the lower layers than the network layer is the data link layer and the physical layer. Where is the device driver layer in computer networks?
It claims the concept is not OS specific, so I try my luck here. So did I in the question (Does a loop back IP address not need to be assigned to a network interface, in order to communicate with?) which I want to know the most. Some users on both sites (Unix and Network Engineering) claimed the same questions belong to the other side, saddening me.
Thanks.
ip-address interface osi
add a comment |
https://unix.stackexchange.com/a/508065/674
You are confusing the device driver layers and the IP layers of the
stack.
At the IP layer, 127.0.0.1 is just another IP address and treated the
same.
At the driver layer, packets sent via the loopback interface are
"simply and immediately passed back up the network software stack" as
opposed to being sent to a network card.
This concept is not OS specific; various OSes use the same concept.
You have confusion between localhost (127.0.0.1) and loopback interfaces. Yes, you are confused between the network stack layers.
In computer networks, the lower layers than the network layer is the data link layer and the physical layer. Where is the device driver layer in computer networks?
It claims the concept is not OS specific, so I try my luck here. So did I in the question (Does a loop back IP address not need to be assigned to a network interface, in order to communicate with?) which I want to know the most. Some users on both sites (Unix and Network Engineering) claimed the same questions belong to the other side, saddening me.
Thanks.
ip-address interface osi
"In computer networks, the lower layers than the network layer is the data link layer and the physical layer" Only per a completely antiquated and over-simplified system called the OSI model that has very little to do with how things actually work, particularly in the modern age!
– Lightness Races in Orbit
Mar 24 at 20:30
add a comment |
https://unix.stackexchange.com/a/508065/674
You are confusing the device driver layers and the IP layers of the
stack.
At the IP layer, 127.0.0.1 is just another IP address and treated the
same.
At the driver layer, packets sent via the loopback interface are
"simply and immediately passed back up the network software stack" as
opposed to being sent to a network card.
This concept is not OS specific; various OSes use the same concept.
You have confusion between localhost (127.0.0.1) and loopback interfaces. Yes, you are confused between the network stack layers.
In computer networks, the lower layers than the network layer is the data link layer and the physical layer. Where is the device driver layer in computer networks?
It claims the concept is not OS specific, so I try my luck here. So did I in the question (Does a loop back IP address not need to be assigned to a network interface, in order to communicate with?) which I want to know the most. Some users on both sites (Unix and Network Engineering) claimed the same questions belong to the other side, saddening me.
Thanks.
ip-address interface osi
https://unix.stackexchange.com/a/508065/674
You are confusing the device driver layers and the IP layers of the
stack.
At the IP layer, 127.0.0.1 is just another IP address and treated the
same.
At the driver layer, packets sent via the loopback interface are
"simply and immediately passed back up the network software stack" as
opposed to being sent to a network card.
This concept is not OS specific; various OSes use the same concept.
You have confusion between localhost (127.0.0.1) and loopback interfaces. Yes, you are confused between the network stack layers.
In computer networks, the lower layers than the network layer is the data link layer and the physical layer. Where is the device driver layer in computer networks?
It claims the concept is not OS specific, so I try my luck here. So did I in the question (Does a loop back IP address not need to be assigned to a network interface, in order to communicate with?) which I want to know the most. Some users on both sites (Unix and Network Engineering) claimed the same questions belong to the other side, saddening me.
Thanks.
ip-address interface osi
ip-address interface osi
edited Mar 24 at 11:55
Zac67
33.3k22165
33.3k22165
asked Mar 24 at 11:29
TimTim
675518
675518
"In computer networks, the lower layers than the network layer is the data link layer and the physical layer" Only per a completely antiquated and over-simplified system called the OSI model that has very little to do with how things actually work, particularly in the modern age!
– Lightness Races in Orbit
Mar 24 at 20:30
add a comment |
"In computer networks, the lower layers than the network layer is the data link layer and the physical layer" Only per a completely antiquated and over-simplified system called the OSI model that has very little to do with how things actually work, particularly in the modern age!
– Lightness Races in Orbit
Mar 24 at 20:30
"In computer networks, the lower layers than the network layer is the data link layer and the physical layer" Only per a completely antiquated and over-simplified system called the OSI model that has very little to do with how things actually work, particularly in the modern age!
– Lightness Races in Orbit
Mar 24 at 20:30
"In computer networks, the lower layers than the network layer is the data link layer and the physical layer" Only per a completely antiquated and over-simplified system called the OSI model that has very little to do with how things actually work, particularly in the modern age!
– Lightness Races in Orbit
Mar 24 at 20:30
add a comment |
2 Answers
2
active
oldest
votes
Tim, you are trying very hard to map abstract concepts to real life hardware and software. They don't map exactly, so you always will have things that don't fit. Software is modularized for ease of coding and troubleshooting, but the divisions between modules don't line up with the concept of network layers. When we talk about software (or hardware) operating at this layer or that layer, we are abstracting their functions. Which piece of code might actually be doing the work is dependent on the particular implementation. It may be based more on the hardware functions, like a device driver. There is no "device driver layer" in the OSI or TCPIP model.
If you ping the loopback address (127.0.0.1) or the network interface address, the practical result is the same. It may be that different parts of the operating system software are being used, but that is transparent to you*.
*The one difference is that the network interface can be down (or completely removed for that matter), but the loopback IP will always respond as long as the OS is running.
add a comment |
Your question is very close to being off-topic here due to host-specific details.
A NIC is a physical interface, implementing layers 1 and 2. In order to use it in an OS's harwdare abstraction layer, a driver is required. That driver presents a standardized interface ("upwards") for the OS (or "the stack") to talk to. Also, it contains hardware-specific code ("downwards") to make the hardware do what the OS tells it to.
Accordingly, the driver belongs to layer 2 in the OSI stack. The "device driver layer" is an unconnected OS concept.
I'm not sure if the poster is completely right though. Very commonly, a local or a loopback address is detected within the OS stack, before a packet reaches the driver layer. This however, is definitely host-specific and off-topic here.
An IP address is an address in the network layer, L3.
You check out the numerous Q&A to OSI layering. Each layer has its specific purpose and tasks.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "496"
;
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
,
noCode: 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%2fnetworkengineering.stackexchange.com%2fquestions%2f57926%2fdo-the-concepts-of-ip-address-and-network-interface-not-belong-to-the-same-layer%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Tim, you are trying very hard to map abstract concepts to real life hardware and software. They don't map exactly, so you always will have things that don't fit. Software is modularized for ease of coding and troubleshooting, but the divisions between modules don't line up with the concept of network layers. When we talk about software (or hardware) operating at this layer or that layer, we are abstracting their functions. Which piece of code might actually be doing the work is dependent on the particular implementation. It may be based more on the hardware functions, like a device driver. There is no "device driver layer" in the OSI or TCPIP model.
If you ping the loopback address (127.0.0.1) or the network interface address, the practical result is the same. It may be that different parts of the operating system software are being used, but that is transparent to you*.
*The one difference is that the network interface can be down (or completely removed for that matter), but the loopback IP will always respond as long as the OS is running.
add a comment |
Tim, you are trying very hard to map abstract concepts to real life hardware and software. They don't map exactly, so you always will have things that don't fit. Software is modularized for ease of coding and troubleshooting, but the divisions between modules don't line up with the concept of network layers. When we talk about software (or hardware) operating at this layer or that layer, we are abstracting their functions. Which piece of code might actually be doing the work is dependent on the particular implementation. It may be based more on the hardware functions, like a device driver. There is no "device driver layer" in the OSI or TCPIP model.
If you ping the loopback address (127.0.0.1) or the network interface address, the practical result is the same. It may be that different parts of the operating system software are being used, but that is transparent to you*.
*The one difference is that the network interface can be down (or completely removed for that matter), but the loopback IP will always respond as long as the OS is running.
add a comment |
Tim, you are trying very hard to map abstract concepts to real life hardware and software. They don't map exactly, so you always will have things that don't fit. Software is modularized for ease of coding and troubleshooting, but the divisions between modules don't line up with the concept of network layers. When we talk about software (or hardware) operating at this layer or that layer, we are abstracting their functions. Which piece of code might actually be doing the work is dependent on the particular implementation. It may be based more on the hardware functions, like a device driver. There is no "device driver layer" in the OSI or TCPIP model.
If you ping the loopback address (127.0.0.1) or the network interface address, the practical result is the same. It may be that different parts of the operating system software are being used, but that is transparent to you*.
*The one difference is that the network interface can be down (or completely removed for that matter), but the loopback IP will always respond as long as the OS is running.
Tim, you are trying very hard to map abstract concepts to real life hardware and software. They don't map exactly, so you always will have things that don't fit. Software is modularized for ease of coding and troubleshooting, but the divisions between modules don't line up with the concept of network layers. When we talk about software (or hardware) operating at this layer or that layer, we are abstracting their functions. Which piece of code might actually be doing the work is dependent on the particular implementation. It may be based more on the hardware functions, like a device driver. There is no "device driver layer" in the OSI or TCPIP model.
If you ping the loopback address (127.0.0.1) or the network interface address, the practical result is the same. It may be that different parts of the operating system software are being used, but that is transparent to you*.
*The one difference is that the network interface can be down (or completely removed for that matter), but the loopback IP will always respond as long as the OS is running.
answered Mar 24 at 14:06
Ron TrunkRon Trunk
40.1k33781
40.1k33781
add a comment |
add a comment |
Your question is very close to being off-topic here due to host-specific details.
A NIC is a physical interface, implementing layers 1 and 2. In order to use it in an OS's harwdare abstraction layer, a driver is required. That driver presents a standardized interface ("upwards") for the OS (or "the stack") to talk to. Also, it contains hardware-specific code ("downwards") to make the hardware do what the OS tells it to.
Accordingly, the driver belongs to layer 2 in the OSI stack. The "device driver layer" is an unconnected OS concept.
I'm not sure if the poster is completely right though. Very commonly, a local or a loopback address is detected within the OS stack, before a packet reaches the driver layer. This however, is definitely host-specific and off-topic here.
An IP address is an address in the network layer, L3.
You check out the numerous Q&A to OSI layering. Each layer has its specific purpose and tasks.
add a comment |
Your question is very close to being off-topic here due to host-specific details.
A NIC is a physical interface, implementing layers 1 and 2. In order to use it in an OS's harwdare abstraction layer, a driver is required. That driver presents a standardized interface ("upwards") for the OS (or "the stack") to talk to. Also, it contains hardware-specific code ("downwards") to make the hardware do what the OS tells it to.
Accordingly, the driver belongs to layer 2 in the OSI stack. The "device driver layer" is an unconnected OS concept.
I'm not sure if the poster is completely right though. Very commonly, a local or a loopback address is detected within the OS stack, before a packet reaches the driver layer. This however, is definitely host-specific and off-topic here.
An IP address is an address in the network layer, L3.
You check out the numerous Q&A to OSI layering. Each layer has its specific purpose and tasks.
add a comment |
Your question is very close to being off-topic here due to host-specific details.
A NIC is a physical interface, implementing layers 1 and 2. In order to use it in an OS's harwdare abstraction layer, a driver is required. That driver presents a standardized interface ("upwards") for the OS (or "the stack") to talk to. Also, it contains hardware-specific code ("downwards") to make the hardware do what the OS tells it to.
Accordingly, the driver belongs to layer 2 in the OSI stack. The "device driver layer" is an unconnected OS concept.
I'm not sure if the poster is completely right though. Very commonly, a local or a loopback address is detected within the OS stack, before a packet reaches the driver layer. This however, is definitely host-specific and off-topic here.
An IP address is an address in the network layer, L3.
You check out the numerous Q&A to OSI layering. Each layer has its specific purpose and tasks.
Your question is very close to being off-topic here due to host-specific details.
A NIC is a physical interface, implementing layers 1 and 2. In order to use it in an OS's harwdare abstraction layer, a driver is required. That driver presents a standardized interface ("upwards") for the OS (or "the stack") to talk to. Also, it contains hardware-specific code ("downwards") to make the hardware do what the OS tells it to.
Accordingly, the driver belongs to layer 2 in the OSI stack. The "device driver layer" is an unconnected OS concept.
I'm not sure if the poster is completely right though. Very commonly, a local or a loopback address is detected within the OS stack, before a packet reaches the driver layer. This however, is definitely host-specific and off-topic here.
An IP address is an address in the network layer, L3.
You check out the numerous Q&A to OSI layering. Each layer has its specific purpose and tasks.
answered Mar 24 at 11:52
Zac67Zac67
33.3k22165
33.3k22165
add a comment |
add a comment |
Thanks for contributing an answer to Network Engineering 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%2fnetworkengineering.stackexchange.com%2fquestions%2f57926%2fdo-the-concepts-of-ip-address-and-network-interface-not-belong-to-the-same-layer%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
"In computer networks, the lower layers than the network layer is the data link layer and the physical layer" Only per a completely antiquated and over-simplified system called the OSI model that has very little to do with how things actually work, particularly in the modern age!
– Lightness Races in Orbit
Mar 24 at 20:30