1.3 - Exchanging data Flashcards
What is a standalone machine?
A single computer not connected to anything else.
What is a network?
2 or more devices connected to each other.
(Either by cable or wireless)
What are the 5 advantages of networks?
- Users can share files.
- Users can share peripherals and connections to other networks such as the internet.
- Users can access files from any computer on the internet.
- Servers can control security, software updates and the backup of data.
- Communication with other people. (e.g. email + social networking)
What are the 4 disadvantages of networks?
- Increased security risks to data.
- Malware and viruses easily spreadable between computers.
- Computers connected may not work if server fails.
- Computers may run slower if there is alot of data travelling on the network.
What are standards?
Set of hardware & software specifications that allow manufactures to create products and services that are compatible with each other.
How do standards need to be used for characters sets?
If 1 device recognises 01000001 as A, other devices also need to recognise it as A.
What is an example of a standard?
HTML - adopted within the WWW to be the standard for display of web pages in browsers.
What is a protocol?
It is a set of rules that ensure devices follow the same standards
What is TCP?
Transmission Control Protocol
What does TCP do?
- Communication over LAN/WAN.
- Provides and Error free transmission between two routers.
What is IP?
Internet Protocol
What does IP do?
- Communication over LAN/WAN.
- Routes packets across a wide area network.
What is UDP?
User Datagram Protocol
What are the 3 characteristics of UDP?
- Alternative to TCP but has no error checking + is less relaible so mainly obsolete.
- Sends short messages using datagrams (speed is more important than accuracy).
- Maintains an open two way connection ideal for gaming.
What is HTTP?
Hypertext Transfer Protocol
What does HTTP do?
- Way for client & server to send and receive requests and deliver HTML web pages.
- Fundamental protocol of the WWW (World wide web).
What is HTTPS?
Hypertext Transfer Protocol Secure
What does HTTPS do?
- Way for client & server to send and reciebe requests and deliver HTML web pages.
- Fundamental protocol of the WWW (World wide web).
- Adds encryption and authentication. (Should be used when a website deals with sensitive information).
What is FTP?
File transfer protocol
What does FTP do?
- Sends files between computers, normally on a WAN.
- People often use FTP clients.
What is POP?
Post Office Protocol
What does POP do?
Retrieves emails form a mail server and transfers them to your device, removing them from the server in the process.
What is IMAP?
Internet Message Access Protocol
What does IMAP do?
Keeps emails on the mail server, maintaining synchronicity between devices.
What is SMTP?
Simple Mail Transfer protocol
What does SMTP do?
Transfers outgoing emails between servers and from clients to servers
What is TCP/IP?
Transmission Control Protocol/Internet Protocol Stack.
It is the foundation of communication accross the internet
What are FTP clients.
Software applications that sit on top of the actual FTP protocol.
When interacting with the program, the client generates + sens the appropriate FTP commands.
What is the internet?
- A WAN.
- A collection of interconnected networks, routers, cables, sattelites, and other hardware spanning the world.
How is a home network connected through a wireless router?
- The router is connected to an ISP (typically via a telephonr connection or a fibre optic cable).
- ISP is connected to the DNS and other routers making up the backbone of the internet.
- Routers also connected to devices on their own LANS, other routers on WANS, Servers.
What is an ISP?
Internet Service Provider.
What is a DNS?
Domain Name Service.
What is the concept of layering?
- Divides the complex task of networking into smaller, simple tasks that work in tandem with each other.
- The hardware/software of each layer has a defined responsibility and each one provides a service to the layer above it.
What are the 3 advantages of layering?
- Reducing complex problems into smallersub-problems.
- Devices can be manufactured to operate at a particular layer.
- Products from different vendors will work together.
What are the 4 layers of the TCP/IP stack?
Application -> Transport -> Internet -> Data link.
What happens during the application layer?
TCP/IP stack
Network applicatons such as web browsers or email applications operate at this layer. So an appropriate protocal is chosen; e.g. FTP, HTTP, HTTPS, SMTP, IMAP
What happens during the application layer?
TCP/IP stack
Network applicatons such as web browsers or email applications operate at this layer.
Protocols = FTP, HTTP, HTTPS, SMTP, IMAP
What happens during the transport layer?
TCP/IP stack
Establishes an end-to-end connection and maintaining conversations between application processors and they agree settings such as language + packet size.
Protocols use port numbers to track sessions and this info is added to the header.
- Once connection is made, data is split into packets and these are added to each packets;
- Its number/sequence, the total no. of packets, the port number that the packet should use.
Protocols = TCP, UDP.
What happens during the internet layer?
TCP/IP stack
- The source IP address and destination IP address are added to each packet.
- All routers operate at this layer. They use the IP address to find out where is is going, from the socket.
- Protocols = IP.
What happens during the link layer?
TCP/IP stack
- The physical connection between network devices.
- It adds the MAC address of source device and destination device.
- When transmitting data between routers over a WAN, the MAC address is changed at each hop on the route.
Medium = Copper twisted pair, fibre, Wi-fi.
What is a socket?
IP address + port.
e.g. 127.56.87.2:80.
What is a MAC address?
Media Access Control address
What address is needed for communication on a LAN?
Communication between 2 devices on the same LAN, only requires the link layer - which creates a frame using MAC addresses (unique to each device).
What addresses are needed for communication on a WAN?
Communication between 2 devices on different networks (WAN) requires both the network layer (Uses the IP address to create a packet) and the link layer frame. (Mac Address)
What does the MAC address tell you?
Who you are.
What does the IP address tell you?
Where you are.
How is the MAC address stored?
Switches store the address for connected LAN devices only.
How is the IP address stored.
Routers cache some IP addresses.