1.3.3 Networks Flashcards
characteristic of a network
A network is the name given to two or more computers connected together with the ability to transmit data between each other. There are two main types of networks: local area networks and wide area networks.
LAN
Local area network (or LAN) is the name given to a network which is spread over a small geographical area or a single site, for example: a school.
WAN
A wide area network (or WAN) is the name given to a network which is spread over a large geographical area. Large corporations with offices in multiple locations will often have a WAN allowing them to communicate between different sites.
Protocols
A protocol is a set of rules defining how two computers communicate with each other.
Protocols are standard so that all devices have a designated method of communicating with each other, regardless of manufacturer.
НТТР
(Hypertext Transfer Protocol) - Used for web page rendering, an encrypted version, HTTPS (Secure), is becoming more common
TCP/IP
(Transmission Control Protocol / Internet Protocol) - This is a networking protocol used in the routing of packets through networks
POP3
(Post Office Protocol) and IMAP (Internet Message Access Protocol) - Mailing protocols, used for email access.
FTP
(File Transfer Protocol) - Used for the transmission of files over networks.
The Internet Structure
The Internet is a network of networks which allows computers on opposite sides of the globe to communicate with each other. Continents are connected to each other using large international backbone cables.
Many of these pass underwater, linking continents to one another.
The TCP/IP Stack and protocol layering
TCP/IP stands for Transmission Control Protocol / Internet Protocol. A stack of networking protocols that work together passing packets during communication.
Application Layer
• The application layer is based at the top of the stack. It specifies what protocol needs to be used in order to relate the application that’s being sent.
• For example, if the application is a browser then it would select a protocol such as HTTP, POP3, FTP
Transport Layer
• The transport layer uses TCP to establish an end-to-end connection between the source and recipient computer.
• The transport layer splits data up into packets and labels these packets with their packet number, the total number of packets the original data was split up into and the port number being used for communication
• If any packets get lost, the transport layer requests retransmissions of these lost packets.
Network Layer
• The network layer adds the source and destination IP addresses. (The combination of the IP address and the port number is called a socket address.)
• Routers operate on the network layer and the router is what uses the IP addresses to forward the packets.
• The sockets are then used to specify which device the packets must be sent to and the application being used on that device.
Link Layer
• The link layer is the connection between the network devices, it adds the MAC address identifying the Network Interface Cards of the source and destination computers.
• For devices on the same network, the destination MAC address is the address of the recipient computer, otherwise, it will be the MAC address of the router.
The TCP/IP Stack and protocol layering
Stack
On the next page is a diagram showing exactly what happens in the process of sending a file.
LANs and WANs
As specified earlier, a LAN is a local area network and a WAN is a wide area network. A LAN is a network spread over a small geographical area while a WAN is typically spread over a large geographical area.
Usually, a WAN will require extra telecommunication hardware. Infrastructure used in WANs is owned by third-parties. The largest WAN is the Internet, and is made up of a series of smaller networks.
DNS
-The domain name system (DNS) is the system used to name and organise internet resources. It is a hierarchy, in which each smaller domain is separated from the larger domain by a full stop. For example, ‘leeds.gov.uk’. TLD stands for Top Level Domain, and 2LD stands for 2nd Level Domain.
-Domain names are much easier to remember than IP addresses, which is why they are used to link to servers across the world. The role of the domain name system server (DNS server) is to translate these domain names into IP addresses when we wish to access a books