11: Networks Flashcards
What is meant by a standalone machine?
A single computer not connected to anything else
What are the 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 network
- servers can control security, software updates and backup of data
- Communication with other people - e.g. email and social networking
what are the disadvantages of networks?
- Increased security risks to data
- malware and viruses spread very easily between computers
- If a server fails, the computers connected to it may not work
- Computers may run slower if there is a lot of data travelling on the network
What is meant by standards?
A set of hardware and software specifications that allow manufacturers to create products and services that are not compatible with each other
What is a protocol?
An agreed set of rules/standards devices follow in order to communicate with each other
What are common protocols used for communication over LANs/WANs?
- TCP (transmission control protocol)
- IP (internet protocol)
- UDP (User Datagram protocol)
what are common protocols used for web page requests?
- HTTP (Hypertext Transfer Protocol)
- HTTPS (Hypertext Transfer protocol secure)
What protocol is commonly used for file transfers?
- FTP (File Transfer Protocol)
What protocols are commonly used for emails?
- POP (post office protocol)
- IMAP (internet message access protocol)
- SMTP (simple mail transfer protocol)
What does TCP do?
Provides error-free transmission between two routers
What does IP do?
Routes packets across a WAN
What does TCP and IP come together to create?
TCP/IP protocol stack, the foundation of communication over the internet
What does UDP do?
- Uses a simple, connectionless transmission model
- Alternative to TCP but has no error-checking
- Used to send short messages using datagrams, where speed is more important than accuracy
- maintains an open, two-way connection ideal for online gaming
- not used very much as it is significantly less reliable than TCP
What does the HTTP do?
It provides a way for a client and server to send and receive requests and deliver HTML web pages
What does HTTPS do?
- Effectively the same as HTTP, except it adds in encryption and authentication
- Should be used whenever a website deals with sensitive information such as passwords or bank account details
What does FTP do?
- Used for sending files between computers, normally on a WAN
- people often use FTP clients - software applications that sit on top of the actual FTP protocol
- When you interact with the program, the client generates and sends the appropriate FTP commands
What does SMTP do?
Transfers ongoing emails between servers and from email clients to servers
What does POP do?
Retrieves emails from a mail server and transfers them to your device, removing them from the server in the process
what does IMAP do?
keeps emails on the mail server, maintaining synchronicity between devices
How do devices connect to make up the internet?
- a home network would be connected via a typical wireless router
- The router is connected to the Internet Service Provider (ISP), typically via a telephone connection or fibre optic cable
- The ISP is connected to a Domain Name Service (DNS) and other routers that make up the backbone of the internet
- These routers are also connected to: devices on their LANs, other routers on the WAN, and servers
What is meant by the concept of layering?
- To divide the complex task of networking into smaller, simpler tasks that work in tandem with each other
- The hardware and/or software for each layer has a defined responsibility, and each one provides a service to the layer above it
What are the advantages of layering?
- Reducing a complex problem into smaller sub-problems
- Devices can be manufactured to operate at a particular layer
- Products from different vendors will work together
What is meant by TCP/IP stack?
- A set of networking protocols, consisting of four layers working together.
- All incoming and outgoing data packets pass up and down through the various layers
What are layers of the TCP/IP protocol?
Applications, Transport, Network, Data Link + (physical)
why does it make more sense to split physical connections from data delivery than it did when TCP/IP was originally conceived? (The fourth layer)
There were very few physical connection option when TCP/IP was conceived, now we have twisted pair, Wi-Fi, fibre optic etc
What protocols are associated with the application layer?
- network application such as web browsers or email programs operate at this layer
- FTP, HTTP, HTTPS, SMTP, IMAP
What protocols are associated with the transport layer?
- Sets up communication between two hosts - they agree settings such as language and packets size
- TCP, UDP
What protocols are associated with the network layer?
- addresses and packages data for transmission. It routes packets across the network
- IP
What connections would be associated with the link layer?
- Network hardware and connection port standards. Operating system device drivers also sit there. Facilitates the transmission of binary via any media
- Copper twister pair, fibre optic, Wi-Fi
What would happen during the application layer when a message is being sent (example)
- The application layer uses an appropriate protocol relating to whatever application is being used to transmit data
What would happen during the transport layer when a message is being sent (example)
- The transport layer uses the TCP part of the stack as well as other conversation protocols like UDP
- It is responsible for establishing an end-to-end connection and maintaining conversations between application processors
- Theses protocols use port numbers to track sessions and add this information to the header
- Once the connection is made, the transport layer splits the data into packets and adds its number/sequence, the total number of packets, and the port number to each packet
- Packets are numbered so they can be reassembled in the correct order
What happens during the network layer when a message is being sent?
- The network layer add to each packet: the source IP address, and the destination IP address
- Routers, which operate at this layer, use the IP address to find out where the packets are heading
- We now have what is known as a socket: IP address + port
- We now know: the device the packet is being sent to (IP), and the application on that device that needs the packet (port)
What happens in the link layer when a message is being sent?
- The link layer represents the actual physical connection between network devices
- It is responsible for adding the unique Media Access Control (MAC) address of the: source device, and destination device
- When transmitting data between routers on a WAN, the MAC address is changed at each hop on the route