ch14 Flashcards
Protocol
a set of rules governing communication across a network: the rules are agreed by both sender and recipient.
what are the four layer structure for TCP/IP protocols
4- application layer
3- transport layer
2- internet (network) layer
1- link network
sending 4-1 // receiving 1-4
application layer
contains all the programs that exchange data, such as web browsers or server software; it sends files to the transport layer.The application layer enables applications to access network services and defines the protocols for data exchange between them
Give two benefits of packet switching
*Accuracy – Ensures accurate delivery of the message
* Completeness – Missing packets can be easily detected and a re-send request sent so the message arrives complete
*Better security as packets hashed and sent by different routes
give two drawbacks of packet switching
*Network problems may introduce errors
in packets
* Requires complex protocols for delivery
* Unsuitable for real time transmission applications
Explain how packet switching is used to transfer messages across the internet.
A large message is divided up into a group of smaller chunks of the same size called packets
* The packet has a header and a payload
* The header contains a source IP address, destination IP address (and
sequence number)
* Each packet is dispatched independently
* … and may travel along different routes / paths
* If packets are missing / corrupted a re-transmission request is sent
Outline the function of a router in packet switching.
The router examines the packet’s header
* It reads the IP address of the destination (from the packet header)
* A router has access to a routing table
* …containing information about, e.g., available hops / netmask / gateway
used
* … and the status of the routes along the route
* … the router decides on the next hop / best route
* … and sends the packet on its next hop.
application layer protocols
HTTP(S) (1) for sending and receiving web pages / hypertext documents (1)
FTP (1) for sending and receiving files over a network / between devices (1)
SMTP (1) for sending/uploading emails /push protocol (1)
POP(3) (1) for receiving/downloading emails /pull protocol (1)
IMAP (1) for receiving/downloading emails /pull protocol (1)
TCP/IP layers function
Transport (1) handles packets (1)
Internet (1) handles transmission of data using
IP addresses // provides (optimal) route (1)
Network Access (Interface) // (Data) Link // Physical (1) Handles how data is physically sent (1)
Explain why a protocol is used in communication between computers
Protocols set a standard for communication
* Protocols enable communication/compatibility between devices from different manufacturers/platforms
* If two devices were sending messages to each other but using different protocols, they would not be able to
communicate properly
Describe the purpose of the IMAP protocol
used by email clients to retrieve email messages // a pull protocol
* from a mail server (over a TCP/IP connection)
* keeps the server and client in sync
State, with a reason, where it would be appropriate to use circuit switching.
Circuit switching is used where a dedicated path needs to be sustained
throughout the call / communication // where the whole bandwidth is
required // where a real time communication is used.
A typical application is standard voice communications / video streaming /
private data networks
Give two benefits and two drawbacks of circuit switching
B:
MP1 Whole of bandwidth is available
MP2 Dedicated communication channel increases the quality of transmission
MP3 Data is transmitted with a fixed data rate
MP4 No waiting time at switches
D:
MP1 A dedicated connection makes it impossible to transmit other data even
if the channel is free
MP2 Not very flexible
MP3 No alternative route in case of failure
State two examples of where it would be appropriate to use packet switching.
Packet switching is most commonly used on data networks such as the internet to send large data files that don’t need to be live streamed
MP2 Packet switching is used when it is necessary to be able to overcome
failed/faulty lines by rerouting
Give four differences between circuit switching and packet switching
Circuit switching uses a dedicated channel to make communication,
whereas packet switching forms data into packets to transmit over a
digital network.
MP2 The dedicated path for circuit switching must be established before
the transfer of data can commence, which is not the case with packet
switching (as it doesn’t require a dedicated path).
MP3 Data in packet switching is split into packets, in circuit switching the
message remains intact.
MP4 All of the transmission in circuit switching follows the same path
whereas different packets in packet switching can take different
routes