Unit 2 Flashcards
Three components of a packet
- Header
- Payload
- Trailer
What’s in the Packet header
- IP of sending device
- IP of receiving device
- Sequence number of the packet
- Packet size
What’s in the packet payload
The actual data being sent
What’s in the packet trailer
- Identification of the end of the packet
- Error checking method (CRC)
Describe the process of packet switching [5]
- Each packet follows its own route
- Routers determine the journey of each packet
- Routing selection depends on number of packets waiting to be processed
- The shortest possible path is always taken
- Packets reconstruct once the final packet is received
Benefits of Packet Switching
- No need to tie up single communication line
- Overcome failed or busy lines via other route
- Easy to expand package usage
- High data transmission rate possible
Drawbacks of packet switching
- Packets can be lost and need to be resent
- Prone to errors with real time streaming
- Delay at destination while packets are reordered
What is hopping/hop numbers
A hop number is added to a packet and increases by 1 every time it switches router. If it hits maximum hops then it’s resent from computer.
Simplex
Sent from one direction only
Half duplex
Can send in both directions but not at same time
Full duplex
Data can be sent both ways simultaneously
Serial data transmission
One bit at a time
Parallel Data transmission
Multiple streams of bits
Benefits of Serial Data transmission
- cheaper
- reliable over long distances
- can send data long distances
- less risk of external interference
Benefits of parallel data transmission
- Faster
- works well over short distances
- easier to program input/output operations when parallel is used.