Internet Communication ( 1 ) Flashcards
What is circuit switching?
Circuit switching creates a direct link between two endpoints for the duration of the transfer of data.
What are some disadvantages to circuit switching?
- Bandwidth is wasted during the periods when no data is being sent
- Can only connect devices that operate at the same transfer rate ( because two devices must transmit and receive data at the same rate )
- Because switches are used to connect and disconnect circuits Electrical interference is produced, may produce corrupt or lost data if the path is already being used to transmit data.
What are some advantages of circuit switching?
Exclusive connection between two devices for the duration of the communication, data packets arrive in the same order in which they are sent, making the process of reconstructing the message simpler.
How does electrical interference affect circuit switching?
• Because switches are used to connect and disconnect circuits electrical interference is produced, may produce corrupt or lost data if the path is already being used to transmit data.
What is packet switching?
- Sending data packets across a network in which other similar communications are happening simultaneously.
- Data that you receive arrives as a series of packets, and leaves as a series of packets
What happens to data that is going to be transmitted?
- Data that is to be transmitted across a network is broken down into more manageable chunks called packets.
- Each packet contains: Header, payload, and checksum
What does each data packet contain?
- Header
- Payload/Data
- Checksum/Also known as the trailer
What is the payload?
The body of data being sent
What is the header?
• Part which identifies the source and destination of the packet
Usually contains:
• Sender and recipient IP addresses
• Protocol being used with the packet
• Number of the packet in the sequence being sent
• Hop limit
What is the purpose of the checksum?
Contains error checking components that verify data received in the payload has not been corrupted on transfer
• Used to detect transmission errors by creating and attaching a hash total calculated from the data contained in the packets.
• Calculated through adding up the total number of 1s in the transmission, CRC is recalculated for each packet upon retrieval, and matched to help verify the payload data is not changed during transmission of the data
• If the totals differ, the packet is refused due to data corruption, and a new copy is requested.
How does the checksum/CRC check verify that data is not altered?
- Creating and attaching a hash total calculated from the data contained in the packets.
- Calculated through adding up the total number of 1s in the transmission, CRC is recalculated for each packet upon retrieval, and matched to help verify the payload data is not changed during transmission of the data
- If the totals differ, the packet is refused due to data corruption, and a new copy is requested.
What is an advantage of using data packets?
They increase network efficiency & reliability
Where might packet switching be used?
Networks where multiple connections of the same type are occurring simultaneously, and multiple routes to the destination exist
What route does a packet take?
Each packet takes the fastest possible route to the destination
What does the header contain?
- Sender and recipient IP addresses
- Protocol being used with the packet
- Number of the packet in the sequence being sent
- Hop limit