Packet Switching Flashcards

1
Q

What is packet switching?

A

method of communication of data across networks, it works by dividing data into a series of packets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How are packets routed?

A

using routers , they’re sent by any available route from source to destination, since each packet is self-contained so they can travel seperately

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does a packet consist of?

A

header
payload
trailer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is contained within the header of the packet?

A
  • sender IP
  • receiver IP
  • protocol being used (TCP/IP )
  • packet number
  • time to live or hop limit (time it takes for packet to expire)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is contained within the payload?

A

The actual data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is contained within the trailer?

A
  • end of packet marker
  • error correcting code
  • checksum
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Describe the process?

A
  • data is broken into packets
  • packets are sent by any available route from source to destination
  • data is reassembled at the receiver based on the packet number
  • the receiving node (IP address) has to confirm delivery, but if doesn’t then it sends a signal to source to retransmit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does this technique allow?

A

The best use of the infrastructure as the packets can take any route, avoiding heavy traffic (congestion), broken paths etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a checksum?

A

Check if the data received hasn’t changed and safe (not corrupted), check if there has been any transmission errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are some disadvantages of packet switching?

A
  • packets can get lost while taking alternative routes

- has latency and packets arrive out of order

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are some advantages of packet switching?

A
  • bandwidth is efficiently used as packets can be routed around congestion
  • charges apply on duration of connectivity, while circuit switching charges also on the distance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What happens if checksum is different than it should be?

A

packet is refused due to suspected corruption and a new copy is requested

How well did you know this?
1
Not at all
2
3
4
5
Perfectly