Questions tagged [data-link-layer]

In the seven-layer OSI model of computer networking, the data link layer is layer 2. The data link layer is the protocol layer that transfers data between adjacent network nodes in a wide area network or between nodes on the same local area network segment.

From Wikipedia:

In the seven-layer OSI model of computer networking, the data link layer is layer 2; in the TCP/IP reference model, it is part of the link layer. The data link layer is the protocol layer that transfers data between adjacent network nodes in a wide area network or between nodes on the same local area network segment. The data link layer provides the functional and procedural means to transfer data between network entities and might provide the means to detect and possibly correct errors that may occur in the physical layer.

Resources

85 questions
0
votes
2 answers

Is there any low level network library for Internet protocol suite?

Is there any low level network library for Internet protocol suite? A library for capturing and sending Ethernet frames (Link layer), handling IP and ICMP packets (Internet layer), Transport layer and so…
Amir Saniyan
  • 13,014
  • 20
  • 92
  • 137
0
votes
1 answer

Rerouting Application Network Traffic at the Data Link Layer

Consider the following situation: You have an application you are tesing, but in order to test the networking functionality of said program, you are required to run multiple instances of it and have them communicate with one another. Possible…
araisbec
  • 1,223
  • 3
  • 16
  • 27
0
votes
1 answer

Simple SDLC CRC calculation not giving the correct value

I am trying to figure out how the calculate the CRC for very simple SDLC frames. Using an MLT I am capturing the stream and i see some simple frames being sent out like: 0x3073F9E3 and 0x3011EDE3 From my understanding the F9E3 and EDE3 are the 2…
cuatro
  • 103
  • 2
  • 9
-1
votes
1 answer

what is this kind of frames, vlan, SMLT?

i've coded a sniffer with libpcap dealing with data link layer. but i've implemented only the ethernet part. Since this morning, i receive this kind of frame all day long. Could you help me to find the protocol used there and the layer ? Thx FF FF…
-1
votes
1 answer

How do two routers agree upon which CRC generator to use?

In a CRC (Cyclic Redundancy Check), usually two nodes agree on an r+1 bit generator. This r is usually 32, and is configured in devices (routers). What happens if two routers have different r bit generators configured (for example one router has a…
-1
votes
1 answer

How does a Frame reach the Network Switch?

While studying about packet traversal in Networks, I understood that in a LAN we use MAC address for traversal of the frame. I also Understand how the frame reaches from PCa to PCb in a network through the switch and how Switch learns the MAC…
-1
votes
2 answers

What is the mechanism of initialization of the table of a switch for a given subnet?

Assuming there is no ARP cache in any nodes, and switch table is empty and IP addresses of source and destination are known (using DNS). Also all nodes are considered to be in same subnet. If n1 wants to send a packet to particular node say n2, it…
Ugnes
  • 709
  • 1
  • 9
  • 23
-1
votes
1 answer

bit stuffing custom frame tags

I am a little confused regarding the bit stuffing. I understand the procedure if the frame tags is not possible to be shown in the sequence but what will happen if the frame tag occur in the frame? For example: if the frame tag is 100001 and the…
-2
votes
1 answer

Where does the Source MAC comes from before Encapsulating Frames in Layer2?

packet arrives from application->...Network->(IP encapsulation added here as per IP configuration)->goes down to Data Link Layer Here the Framing is Done and SourceMac and Dest Mac is added for LAN Switching. Does every time the SourceMac is…
-2
votes
1 answer

How are MAC/IP Addresses used in routing

I have to teach my sixth form about MAC Addresses and IP Addresses in a few weeks time and there are some areas I am unclear on which I am hoping some of you will be able to clarify for me. So as I understand it the following happens when a device…
Robert Flook
  • 307
  • 6
  • 12
1 2 3 4 5
6