Link layer process, Computer Networking

Assignment Help:

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.


Related Discussions:- Link layer process

ppp error detection on cisco routers , Which form of PPP error detection o...

Which form of PPP error detection on Cisco routers monitors data dropped on a link?  Ans) The Quality protocol monitors data dropped on a link. Magic Number avoids frame looping

#incident response scenario, assignment is for incident response In this ...

assignment is for incident response In this final week, you will provide a short procedures document (2–3 pages) concerning the steps by which to prepare for and execute expert te

Factors effects the quality of image of monitor, Q. Factors effects the qua...

Q. Factors effects the quality of image of monitor? Four factors effects the quality of image of monitor:   1.  Phosphor coating: This affects the colour and persistence (Th

Tunnelling - point to point, Tunnelling To guarantee privacy for the  o...

Tunnelling To guarantee privacy for the  organization, VPN specifies that each IP datagram destined for private  use of the  organization, must  first be  encrypted and then en

List some most useful advantages of token ring, List some most useful advan...

List some most useful advantages of Token Ring. Here are Token ring's most useful advantages: a. It depends excellent throughput under high-load conditions. b. Token Ring

Explain the basic of network properties, Explain the basic of Network Prope...

Explain the basic of Network Properties   The subsequent properties are related with interconnection networks. 1)  Topology: It refers how the nodes a network are systema

Different types of subnet classfull networks are present, How many dissimil...

How many dissimilar types of subnet classful networks are present?

Firewall architectures-screened host architecture, Screened Host Architectu...

Screened Host Architecture This architecture consists of two host machines: a Screening Router and a Screening Host. Screening Router is placed between a local network and the

Different models of computation-parallel algorithms, There are various comp...

There are various computational models for representing the parallel computers. In this part, we discuss various models. These models would give a platform for the designing as wel

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd