14.2 - Circuit Switching and Packet Switching Flashcards
(8 cards)
1
Q
Describe Packet Switching
A
- A large message is divided into a group of smaller chunks called packets
- Packet has header and payload
- Header contains a source IP, destination IP and sequence number
- Each packet is dispatched individually, and may travel along different routes
- Packets may arrive out of order, and are reasembled into origional message at destination
- If packets are missing, re-transmission request is sent
2
Q
Pros of packet switching
A
- Accuracy, allows accurate deliver of message
- Completness, missing packets can easily be detected and re-transmission request can be sent
- Resilience, if network changes, router can detect this and send packets another way
3
Q
Cons of packet switching
A
- Unsuitable for real time transmission
- Time taken to reasemble packets at destination
- Requires complex protocl
- Time delay to correct errors, and re-request missing packets
4
Q
Describe circuit switching
A
- A dedicated cricuit is established at the start of the communication
- Between the sender and receiver
- All data is transmitted along the same route
- This lasts for the duration of the call/transmission
- Data is transfered using the entire bandwidth
5
Q
Pros of circuit switching
A
- Reduced latency
- Little delay in sending and receiving packets, as error checking is not required
- Allows 2 way real time transmission
- Full bandwidth available
6
Q
Cons of packet switching
A
- Bandwidth not available to others
- Need extra time to set up circuit before communication
- Failure of single route means failure of entire transmission
- Less secure
- Alternative route not available without restarting whole conversation
7
Q
Purpose of packet header
A
- To store data
- Ensures packet reaches correct data
- Stores IP address, IP destination, and packet number
8
Q
Function of router in packet switching
A
- Examines packet header
- Reads destination IP
- Has acces to routting table, which has the status of routes
- Decides the next hop
- Sends packet to next hop