Professional Documents
Culture Documents
Аудиториски Вежби Бр.4
Аудиториски Вежби Бр.4
КОМУНИКАЦИСКИ ТЕХНОЛОГИИ
Вовед во мрежи
- Introduction to networks-
м-р Данијела Ефнушева
danijela@feit.ukim.edu.mk
1 задача
• An end system sends 50 packets per second using the User Datagram
Protocol (UDP) over a full duplex 100 Mbps Ethernet LAN connection. Each
packet consists 1500B of Ethernet frame payload data. The length of the IP
header is 20B and the length of the UDP header is 8B. What is the
throughput, when measured at the UDP layer?
--------------------------------------------------------------------------------------
• Frame Size = 1500B
• Packet has the following headers:
• IP header (20B) and UDP header (8B)
• Total header in each packet = 28B
• Total UDP payload data is therefore 1500-28 = 1472B.
• Throughput = number of useful (data) bits transferred by a layer using the
services of the layer below.
• Total bits sent per second = 1472 x 8 x 50 = 588800 bps or 588 kbps.
м-р Данијела Ефнушева 11/17
10 задача
• A TCP session sends 10 packets per second over an Ethernet Local Area
Network (LAN). Each packet consists 1480B of Ethernet frame excluding the
preamble and cyclic redundancy check (CRC). The length of the TCP header is
20B, the length of the IP header is 20B and the length of the MAC header is
14B. Calculate the size of the headers, and hence the TCP payload data. What
therefore is the TCP throughput of the session?
--------------------------------------------------------------------------------------
• First we determine the protocol headers which contribute to the PDU size:
• MAC Header (14 bytes) + IP Header (20 bytes) + TCP(20 bytes) + TCP Payload ( ? bytes)
• Next determine the size of the payload:
• TCP Payload = 1480B - ( 14+20+20)B = 1426 B
• Throughput = number of useful (data) bits transferred by a layer using the
services of the layer below.
= 1426 x 8 x 10 b/s = 114 kbps
м-р Данијела Ефнушева 12/17
КОМПЈУТЕРСКИ
КОМУНИКАЦИСКИ ТЕХНОЛОГИИ
Задачи за вежбање
16/17
4 задача