Networks - Circuit/Packet Switching Flashcards
What is packet switching?
A method of communication.
Data is communicated using packets across a network, via the most efficient route (which can vary for each packet).
Packet switching advantages
Multiple routes can be used between devices. If one path breaks, another can be used.
Multiple methods to ensure data arrives intact. For example, checksums/cyclic redundancy checks
Packets can be transferred over very large networks to allow communication globally.
Packet switching disadvantages
Time is spent deconstructing and reconstructing the data packets.
Must wait for all packets to arrive before data can be received.
What is circuit switching?
A direct link is created between two devices. This direct link is maintained for the duration of the entire conversation between devices.
What does circuit switching require?
The two devices to transfer and receive data at the same rate.
Circuit Switching Advantages
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.
Circuit Switching Disadvantages
Bandwidth is wasted during periods of time in which no data is being sent.
Devices must transfer and receive data at the same rate.
Using switches means electrical interference may be produced which can corrupt or destroy data.
Ties up sections of the network which cannot be used by others data until transmission has been completed
What is the difference between circuit switching and packet switching?
Packet switching involves breaking the message into smaller parts (packets), as opposed to sending a whole message in one go.
What is the TCP/IP Stack
A stack of networking protocols. It sets out the rules for handling packets at each stage in their journey.
With the TCP protocol, once all of the packets have ______ an acknowledgement message is sent to the ______ ______ as confirmation.
With the TCP protocol, once all of the packets have ARRIVED an acknowledgement message is sent to the ORIGINAL COMPUTER as confirmation.
What happens with the TCP protocol if a packet is missing or corrupted?
The receiver sends a request for that particular packet to be resent.
What three components do packets consist of?
Trailer (end of packet flag, checksum)
Payload (data)
Header
What is an ideal payload size for packets?
500-1500 bytes.
Why are packets kept small?
To ensure individual packets don’t take excessive time to transfer, preventing other packets from moving.
What does the header contain?
Senders IP
- For replies to be sent appropriately
Recipients IP
- For appropriate direction across the network
Packet number + Overall number of packets
- To assist in reassembling the data
Time To Live (TTL) or hop limit