Networks Flashcards
what are packets?
Packets are segments of data.
what are the 3 main things a packet contains?
Header
Payload
Trailer
What are the things that are present in the header of a packet?
○ Sender and recipient IP addresses
○ Protocol being used
○ Order of the packets
○ Time To Live / Hop Limit
What is the purpose of having a sender and recipient IP addresses in the header ?
The sender and the recipient’s IP addresses act like a postcode,
allowing the packet to be delivered to the correct destination and
enabling the recipient device to trace where the packet came from
What is the purpose of having a protocol in the header?
The protocol allows the recipient computer to understand how to interpret the packet.
What is the purpose of having an order of packets space in the header?
Upon arriving at the recipient device, packets are reconstructed in the appropriate order as specified in the header
What is the purpose of having an TTL / Hop Limit ?
The Time To Live (TTL), tells the packet when to expire so that it does
not travel forever.
What does a payload contain?
A payload contains raw data to be transmitted
What does a trailer contains?
Trailer contains checksum, or cyclic redundancy check that is used to detect whether any errors have
occurred during transmission.
There are two techniques using which networks exchange data:
circuit switching and
packet switching
Describe how and what packet switching is and works.
Packet switching is a method of communication in which data is communicated using packets across a network. In this method of communication, packets are sent across the most efficient route, which can vary for each packet.
What are the advantages of using packet switching
Multiple methods to ensure data arrives intact eg. checksums and cyclic redundancy checks.
Multiple routes can be used between devices, so if one path breaks, another can be used.
Packets can be transferred over very large networks to allow communication globally.
What are the disadvantages of using packet switching
Time is spent deconstructing and reconstructing the data packets
Must wait for all packets to arrive before data can be received.
Describe what and how circuit switching is and works.
Circuit switching is a method of communication where a direct link is created between two
devices. This direct link is maintained for the duration of the entire conversation between
devices. Circuit switching requires the two devices to transfer and receive data at the
same rate.
What are the advantages of using circuit switching
Data arrives in a logical order which results in a quicker reconstruction of the data.
Enables two users to hold a call without delay in speech.