1
1
1
Q7. Match the following to one or more layers of the OSI model:
a. Route determination
b. Flow control
c. Interface to transmission media
d. Provides access for the end user
7.
Q8. Match the following to one or more layers of the OSI model:
a. Format and code conversion services
b. Establishes, manages, and terminates sessions
c. Ensures reliable transmission of data
d. Log-in and log-out procedures
e. Provides independence from differences in data representation
8.
a. Format and code conversion services: presentation layer
b. Establishing, managing, and terminating sessions: session layer
c. Ensuring reliable transmission of data: data link and transport layers
d. Log-in and log-out procedures: session layer
e. Providing independence from different data representation: presentation layer
Q9. Match the following to one or more layers of the OSl model:
a. Communicates directly with user's application program
b. Error correction and retransmission
c. Mechanical, electrical, and functional interface
d. Responsibility for carrying frames between adjacent nodes
9.
Q10 If the data link layer can detect errors between hops, why do you think we
need
another checking mechanism at the transport layer?
10. The errors between the nodes can be detected by the data link layer control,
but the
error at the node (between input port and output port) of the node cannot be
detected by the data link layer.
Q11. what are the different between the Physical address and logical address?
11. (see page no. 46 and 47)
CHAPTER 13
b. 47:20:1B:2E:08:EE
Q7. An Ethernet MAC sublayer receives 1510 bytes of data from the upper
layer. Can the data be encapsulated in one frame? If not, how many frames need
to be sent? What is the size of the data in each frame?
7. The maximum data size in the Standard Ethernet is 1500 bytes. The data of
1510 bytes, therefore, must be split between two frames.
Data size for the first frame: 1500 bytes
Data size for the second frame: 46 bytes (with padding).
Q8. What are the common Standard Ethernet implementations?
Q9. What are the common Fast Ethernet implementations?
Q10. An Ethernet MAC sublayer receives 42 bytes of data from the upper layer.
How many bytes of padding must be added to the data?
Examples:
Class C:
N.N.N.H
IP :
192.1.2.0
Mask: 255.255.255.0
Class B:
N.N.H.H
IP : 168.12.0.0
Mask:
255.255.0.0
Class A:
N.H.H.H
IP : 100.0.0.0
Mask: 255.0.0.0
( ) :
From formula : No of Subnets = 2n , n is the number bits that
borrowed from the host
32 = 2n ==> n = 5,
64
32
16
Network ()
4 2 1
host
192.168.1.0
192.168.1.8
192.168.1.16
192.168.1.24
..
..
192.168.1.248
( 6 )
192.168.1.8
192.168.1.8
192.168.1.9
Network ID
host
192.168.1.10
host
192.168.1.11
host
192.168.1.12
host
192.168.1.13
host
192.168.1.14
host
192.168.1.15
Broadcast ID
Q7. The size of the option field of an IPv4 datagram is 20 bytes. What is the
value of HLEN? What is the value in binary?
If the size of the option field is 20 bytes, then the total length of the header is
40 bytes (20 byte base header plus 20 bytes of options). The HLEN field will
be the total number of bytes in the header divided by 4, in this case ten
(1010 in binary).
Q8. An IPv4 datagram is carrying 1024 bytes of data. If there is no option
information, what is the value of the header length field? What is the value
of the total length field?
Since there is no option information, the header length is 20, which means that
the value of HLEN field is 5 or 0101 in binary. The value of total length is 1024
+ 20 or 1044 (00000100 00010100 in binary).
Q9. Table 20.5 lists the MTUs for many different protocols. The MTUs
range from 296 to 65,535. What would be the advantages of having a large
MTU? What would be the advantages of having a small MTU?
Advantages of a large MTU:
Good for transferring large amounts of data over long distances
No fragmentation necessary; faster delivery and no reassembly