Section 10 Chapter 57 - Packet switching and routers Flashcards
Packet switching
The method of communicating packets of data across a network where other communications are happening simultaneously
Structure of a packet
Header - Payload - Trailer
Contents of the header (5)
- Senders IP address
- Recipients IP address
- Protocol
- Packet number
- Time to live (time before it expires)
How packets are routed through the internet
Each packet will be sent along the path that is at that moment the least congested. Packets may arrive out of order and some may be missing, but the receiver can put them in order and request any that were lost
Router
A device that is used to connect networks
Hop
A traversal between two routers
Job of the router
Read the recipients IP address of a packet and send the packet along the least congested route do its destination
Why routers that are connected to the internet have to be registered
Because the IP address will have to be unique over the whole internet
Gateway
Performs the same task as a router but is used if the network it is receiving from uses a different protocol to the network it is about to traverse through. The gateway strips away the header and replaces it with one according to the new protocol