Network Layer And Data Link Layer

In summary, the network layer is responsible for sending data from one network to another, often involving the use of routers. However, if the network layer is unable to correctly deliver a message from A to D, it could be due to a difference in addressing schemes between the two nodes, as the data link layer is responsible for sending data within one network.
  • #1
wany
72
0

Homework Statement


If the network layer is sending a message from A to D via B, it can be sure that a message sent by the data link layer from A to B will always arrive at B, and from B to D will always get to D. How is it possible for the network layer not to be able to correctly deliver a message from A to D.

Assume this 4-node network:

A---B----D
|...|...|
|---C ----|

ignore the periods! Basically A is connected with B and C; B is connected with A, C and D; C is connected with A, B, D; D is connected with B and C

Homework Equations


The Attempt at a Solution



I am not sure about this one. Could it be if the two nodes arent using the same addressing scheme? Any help would be appreciated.
 
Physics news on Phys.org
  • #2
Network layer is basically used when we send data from one network to another,... It usually involves routers etc.

for sending data within one network, data link layer is used.
 
  • #3
Network layer is basically used when we send data from one network to another,... It usually involves routers etc.

for sending data within one network, data link layer is used.
 

1. What is the purpose of the Network Layer?

The Network Layer is responsible for routing data packets between different networks or subnetworks, using logical addresses to identify the source and destination of the data. It also ensures that the data is delivered to the correct destination by choosing the most efficient path through the network.

2. How is data transmitted at the Data Link Layer?

The Data Link Layer is responsible for the reliable transmission of data between directly connected devices on the same network. It breaks the data into smaller frames, adds a header and trailer to each frame for error checking, and then sends the frames over the physical network.

3. What are the key differences between the Network Layer and Data Link Layer?

The Network Layer operates at the logical level, focusing on routing and delivering data between networks, while the Data Link Layer operates at the physical level, handling the transmission of data between directly connected devices. Additionally, the Network Layer uses logical addressing, while the Data Link Layer uses physical addressing.

4. How do the Network Layer and Data Link Layer work together?

The Network Layer and Data Link Layer work together to ensure reliable and efficient data transmission. The Network Layer determines the best path for the data to travel through the network, while the Data Link Layer handles the physical transmission of data on that chosen path. They also work together to detect and correct errors in the data.

5. What are some examples of protocols used in the Network Layer and Data Link Layer?

Some examples of protocols used in the Network Layer include IP (Internet Protocol), ICMP (Internet Control Message Protocol), and ARP (Address Resolution Protocol). Examples of protocols used in the Data Link Layer include Ethernet, Wi-Fi, and PPP (Point-to-Point Protocol).

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
1
Views
590
  • Engineering and Comp Sci Homework Help
Replies
3
Views
3K
Replies
1
Views
842
  • Engineering and Comp Sci Homework Help
Replies
4
Views
1K
  • Programming and Computer Science
Replies
1
Views
752
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
  • Programming and Computer Science
Replies
1
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
957
  • Programming and Computer Science
Replies
1
Views
938
  • Engineering and Comp Sci Homework Help
Replies
5
Views
2K
Back
Top