The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
95 views
What is the maximum size of data that the Network layer can forward to the Data link layer including header data? Should it be 65535B or 1500B?
asked in Computer Networks by (35 points) | 95 views
i think that such limitations i.e on size of data sent from network layer to data link layers depends on the medium to be used to transmission in case of Ethernet the max size to be sent is 1500 B

2 Answers

+1 vote

According to IPV4 Header format , 

IPv4 Header Format
Offsets Octet 0 1 2 3
Octet Bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
0 0 Version IHL DSCP ECN Total Length
4 32 Identification Flags Fragment Offset
8 64 Time To Live Protocol Header Checksum
12 96 Source IP Address
16 128 Destination IP Address
20 160 Options (if IHL > 5)
24 192
28 224
32 256

Here Total length field is of 16 bit which specifies the entire packet size in bytes, including header and data. The minimum size is 20 bytes (header without data) and the maximum is 65,535 bytes. so according to your question network layer can only send a packet of maximum size 65,535 byte to DLL.

notify me if there is any mistake.

hope it helps.

answered by (417 points)
0 votes

65535 B 

Because Maximum IP packet size is 65535 B  then fragmentation is done in DLL .which is converted according to Medium.

answered by Junior (951 points)
Fragmentation is done at Network Layer.


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

29,997 questions
37,681 answers
96,745 comments
35,329 users