Link layer process, Computer Networking

Each link layer process will have two connections: one "up" to the appropriate IP layer process, and one "sideways" to the link layer process on the simulated machine at the other end of its link.

Each link layer uses variable-length frames with these ?elds in this order:

  • Source (1 byte)
  • Destination (1 byte)
  • Protocol (1 byte)
  • Length, in bytes, of data ?eld (1 byte)
  • Data (0-MTU bytes)

There is no CRC. You must ensure that every frame sent among link processes has correct values for all ?elds. The MTUs are as follows:

  • A-R1 = 64 bytes
  • B-R1 = 64
  • C-R2 = 80
  • D-R2 = 80
  • R1-R2 = 56

Notice that all MTUs must be 255 or less because each link layer's frame length ?eld is a single byte.

The link addresses of A, B, C, D are 2, 3, 5, and 7, respectively. The link address of R1 to be used by A and B is 11. The link address of R2 to be used by C and D is 13. R1 and R2 are attached to a third link. The link address of R1 to be used by R2 is 17. The link address of R2 to be used by R1 is 19. The protocol number for IP is 42.

A link layer process is simple: it calls select(2), awaiting input on either connection. When input is available from the IP process, it is read, encapsulated in a single frame if possible, and then the frame is written into the connection to the other link process. (If the IP process attempts to send an IP datagram that is too big to ?t in a single frame, an error should be returned. On UNIX, this error is EMSGSIZE.)

When input is available from the other link process it is veri?ed to be a frame carrying IP data, and, if so, the frame's header is stripped and its data ?eld written into the IP connection. If the frame is erroneous, it is silently dropped.

Posted Date: 3/15/2013 12:58:37 AM | Location : United States

Related Discussions:- Link layer process, Assignment Help, Ask Question on Link layer process, Get Answer, Expert's Help, Link layer process Discussions

Write discussion on Link layer process
Your posts are moderated
Related Questions
What is Piggy Backing? A process called piggybacking is used to get better the efficiency of the bidirectional protocols. When a frame is carrying data from A to B, it can also

Which command saves the configuration stored in RAM to NVRAM Ans) copy running-config startup-config is the command which saves the configuration stored in RAM to NVRAM

What is Forward Error Correction and data words Forward error correction It is the process in which the receiver tries to guess the message by using redundant bits. Da

Assign switch ports to VLANs. Refer to the port assignment table at the starting of the lab to assign ports to the VLANs. Use the interface range command to make simpler this

Fixed version of rdt 2.0 rdt 2.1 The  rdt 2.1 sender and receiver  FSM each now  have  twice  as many  states  as before. This is because  the protocols  state must  now refle

Configure a Wireless MAC Filter Step: Add a Mac filter. Navigate back to the web utility page of the router ( Navigate to the Wireless section a

Control Flow: Once the client has established a network connection with a server, the server must instantiate a new, empty, BasicEnrollmentManager implementation for this client,

How is final different from finally and finalize ()? Final is a modifier which can be applied to a class or a method or a variable. final class can't be inherited, final method

Monitor Stations Lost tokens - timer is issued each time a frame or token is generated If no frame is received in time period new token is generated by a monitor stat

DNS Records  and Messages Two types  of records  are used DNS. The  question records  are used in the question  section of the query and response  messages. The resource  reco