Networks Flashcards

(106 cards)

1
Q

What is the Internet?

A

• A GLOBAL collection of inter-connected networks
• Stretches across a wide geographical area + makes use of 3rd party comms infrastructure therefore making it the world’s most famous WAN

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the World Wide Web?

A

= a service that runs on the Internet

→ uses HTTP/HTTPS and web browsers to access web pages and websites

ie. The WWW is the part of the Internet that you view using a web browser.

(there are also other services available on the internet, e.g.
email, cloud services, online gaming platforms)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the features of a WAN?

A
  1. A network in which the computers communicate
    “using networking hardware owned by a third party”
  2. A WAN is usually spread over a large geographical area

The Internet is a Wide Area Network (WAN)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does a WAN stand for?

A

Wide Area Network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the features of a LAN?

A

• LAN stands for Local Area Network
• A LAN operates over a small geographical area such as a school or small business using their own networking hardware

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The setup of WANs and LANs

A

• WANs are often used by large businesses to connect
their office networks
• Each office typically has its own local area network, or
LAN, and these LANs connect via a WAN.
• These long connections may be formed in several
different ways, including leased lines
• A leased line is a direct network connection rented from a
large network provider such as an ISP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the Internet of things?

A

= everyday objects connected to the internet, e.g. smartphones, smart TVs, fitness trackers, smart fridges, traffic sensors, lights in the home

The devices can collect data, share it, and act automatically

-> Means many more devices online, ie. connected to the internet, not just computers and phones

One person may use dozens of connected devices

Leads to billions of devices worldwide

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is an IP address?

A

• Like every front door in the world, every device connected
to the internet in the world has a separate, unique address
• This is its IP address
• A router is required to connect a home or business
network to the internet
• The router’s IP address identifies that network on the
internet (The router assigns IP addresses to the devices
currently connected to it on its own network)
• Because every computer and other device
connected to the Internet has an IP address
• There are now so many computers/devices that the
number of available IPv4 addresses is running out
• A new IPv6 system of addressing is replacing IPv4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

IPv4 vs IPv6

A

IPv4:
• 32 bits = 4 bytes
• Broken down into four 8-bit numbers (octets)
• For humans, each number is written as 4 decimal numbers separated by full-stops eg.192.168.0.12
• But…biggest number will only ever be 255 because of 8 bits…
• Approx 4 billion unique addresses

IPv6:
• 128 bits = 16 bytes
• Broken down into eight 16-bit numbers (octets)
• Each section is separated by a colon (:)
• Each section is written in Hex
• Approx 80 octillion (10^48) unique addresses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Can your IP address change?

A

Yes
• If you use a laptop at home, its IP address is the provided
by the router at home
• But if you take the laptop on holiday and use it at the airport
or on the beach, your IP address doesn’t go with you - it will
change each time you move from place to place

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is an NIC?

A

A network interface card is built into every networked device, that is wired or wireless, which allows a computer to access a network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is MAC addressing?

A

• A Media Access Control (MAC) address is assigned to
each Network Interface Card (NIC) by the manufacturer
• It uniquely identifies each device connected to a network
anywhere in the world
• A MAC address is 12 hex digits grouped into pairs e.g:
3B:14:E6:39:0A:2C
• This equates to 6 bytes long

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the role of a MAC address?

A

The internet isn’t so different from the regular postal
service:

• Instead of a home address, we have IP addresses
• Instead of names, we have MAC addresses

Together, they get the data to your door: The IP address is
used to transport data from one network to another network using the TCP/IP protocol.

The MAC address is used to deliver the data to the right
device on a network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

IP vs MAC address

A

IP
• IP addresses can be changed / are allocated as needed
• IP(v4) addresses are 4 bytes long (IP(v6) are 16 bytes long)
• IP(v4) addresses are written in denary (IP(v6) addresses are written in hex)
• IP addresses are configured by software
• IP addresses are used for routing across a WAN / internet

MAC
• MAC addresses can’t be changed / every device has a fixed MAC address
• MAC addresses are 6 bytes long
• MAC addresses are written in Hex
• MAC addresses are configured in hardware
• MAC addresses are only used within the LAN

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a network?

A

Very rarely now will you use a standalone computer. A
network is when two or more computers are connected
together.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Advantages of a network

A

• Resources such as printers, central storage and internet
connections can be shared -> saves money
• It’s easy to communicate with other users using e.g. email
• Software can be installed and updated remotely -> admin
staff can more easily maintain large numbers of computers
• Security measures such as anti-malware software and
secure passwords can be easily setup and enforced

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Disadvantages of networks

A

• Hardware required for networks is expensive
• Large networks need dedicated staff to manage and
maintain them
• Parts of the network (e.g. central servers) are crucial
and if they break, the network may cease to work

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Classification of networks

A

Networks can be classified as LAN or WAN.

Networks can be further classified as:
• client–server or
• peer-to-peer.

This classification explains the role that devices have within
a network and is not directly related to whether the network is a LAN or a WAN.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

The client-server model

A

• The server is a powerful computer which provides services or resources required by any of the clients
• A client is a computer which requests the services or resources provided by the server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Draw a school client-server setup

A

N/a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

How does a client server network work?

A

The client:
• sends requests to the server
• Waits for a reply
• Receives the reply

The server:
• waits for requests from a client
• Acknowledges the request
• Processes the request which will depend on what was being requested, e.g. it may involve sending data back to the client

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What are the different types of servers and their roles

A

• A login server may used to manage security - user logon
and user management (checking you have a valid account)
• A file server holds all the data files and provides file storage and retrieval services (finding a file)
• A print server may organise printing on different printers
• An email server may receive emails, detect and block spam, distribute emails to users
• A database server may store the school’s database (eg. taking the register)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Advantages of a client-server model

A

• All data can be backed up centrally rather than on each
individual computer
• Security is better because data is held in one location
rather than all over the organisation
• Users can log in from any computer on the network and
access their data
• Updates can be done centrally

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What are web servers?

A

Web sites are stored on web servers:
• HTML Code
• Images/Videos used in the website
• CSS (styling info)

The client is the device on which the web browser software
is running. It requests a specific page from the server.

The web server receives that request and executes it
resulting the the requested page being sent back to the
web browser (ie. the client)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Servers on LANs and WANs
1. One or more servers may be part of a LAN 2. A server may also be part of a WAN, e.g. 3. Google has massive servers in several different countries 4. Websites are stored on web servers
26
Peer-to-peer network structure
• A peer-to-peer network has no central server • All the nodes/devices are equal to one another
27
How does P2P work?
• Each computer stores files and acts as a server • If one peer has a printer connected to it, the other peers can access • Or another peer is connected to the router, and therefore provides internet connectivity to the other peers In this sense, the peers acts as both clients and servers.
28
How to share files with P2P?
• Most commonly used for sharing files, especially large ones. • In the client-server model, many users trying to access a large file, e.g. a film, would put strain on one server. • In the P2P model, many peers could store the same file. Each computer can then send sections of the file, sharing the workload P2P is ideal for sharing files. It wouldn't work for a service such as booking tickets where one server needs to keep track of how many tickets are left
29
Advantages of P2P
• Easier to set up – computers can simply be cabled together • No special software or staff is required to run the network • Individual computers can share a printer, router, modem and other hardware • Users can communicate directly with each other and share each others’ files
30
Disadvantages of P2P
• Viruses and malware are easily transferred over this type of network • Data recovery and backup is not done centrally, so each computer has to have its own backup system • Files are not centrally organised, but stored on individual computers and may be hard to locate if the computer’s owner does not have a logical filing and naming system
31
What is networking hardware?
To connect a computer or device to a network, several hardware components are required: • The device must contain a network interface controller (NIC) • A transmission medium, either wired or wireless • A point to connect to such as a router, switch or wireless access point (WAP)
32
What are packets?
When data is sent across a network, it is split into packets (smaller chunks). Each packet has some additional information attached in a header such as the IP address of where the data came from, and its destination IP address
33
What is an NIC?
What is its purpose? • To connect a device to a network • Every NIC has a unique MAC address - it is allocated by the manufacturer and cannot be changed Tasks performed by a NIC: • At the sending end: Converts data sent by the device into the appropriate format to be sent across the transmission medium (wired or wireless) • At the receiving end: Converts signals received by the device into the corresponding digital data
34
What is transmission media?
Transmission Media carry data signals from one computer to another. Media are either wired (physical cable) or wireless.
35
What are switches?
What is its purpose? • To connect wired devices together in a network (don't need if using wireless devices) • Smart device as only sends packets to the intended recipient therefore minimising network traffic Tasks performed by a switch: • Receives packets • Sends packets only to its intended destination • Know which devices to send packets to as it records the addresses of devices as they are accessed - it has to look for the correct MAC address before sending it on • Uses the devices’ MAC addresses
36
What is a router?
What is its purpose? Connects different types of network together MUST have in order to be able to access the internet. At home it connects your home network to the internet via your ISP. Tasks performed by a Router: • Receives packets • Forwards packets on • To do this it maintains a routing table so that it can…. • Send data packets along the most efficient path to their destination using IP addresses • Assign IP address to nodes in a network
37
What is a WAP?
A wireless access point What is its purpose? Enables devices to connect wirelessly to a LAN/wired network (the WAP itself will be connected to the LAN via a cable) Tasks performed by a WAP: Provides a wireless network radio signal for wireless devices to connect to (NB: It is not the device that provides internet access) So…to connect wirelessly to the internet you need a WAP and a Router. However, at home, they are likely to be built into the same device
38
What are network topologies?
• The devices in a LAN can be arranged in different ways • Two of these topologies are: • Star • Mesh • A topology diagram will show the layout of devices (often referred to as nodes) and the connections between them
39
What is a star topology?
● One central switch ● All computers /devices connected to this central switch [Can have variations of this, e.g. Switch or Hub (not recommended) or INCORRECTLY..a server!]
40
Draw a star topology
N/a
41
Advantages of a star topology
Higher performance / fast data transfer as there are fewer data collisions as data is only passed on to the intended recipients If one cable / device fails the other devices are not affected Easy to add new nodes to the network - just need to be connected to the central switch
42
Disadvantages of a star topology
Requires additional hardware at the centre of it, ie. the central switch If the central switch fails the whole network goes down = SINGLE POINT OF FAILURE
43
Star network uses
Star topologies tend to be found in large organisations, such as educational establishments and businesses, where high performance is a must. They are also found in home networks, especially those that are wireless. In this case, a switch is combined with a wireless access point (WAP) to provide the central connection for all nodes. A router provides access to the internet
44
Draw a full mesh topology vs a partial mesh topology
N/a For these, the fastest route is calculated before sending data
45
Advantages of a mesh topology
No single point of failure Resilient - if one link fails, then there will always be an alternative route Expansion and modification can be done without disrupting the network Work well under high load - multiple devices can transmit data at the same time which will travel via different routes
46
What is a full mesh/partial mesh topology?
• Full Mesh Topology: • Every device is connected to every other device • Multiple communication paths between the devices • Partial mesh Topology: • Each device is connected to at least one other device • There is a minimum of one path between every pair of devices • Usually used, often in conjunction with star topologies to create larger networks The internet is a classic example of a mesh topology
47
Disadvantages of a mesh topology
Can involve redundant connections - inefficient use of hardware Expensive to install cabling if using wired connections (hence wired mesh networks are not very common) Network maintenance and management is more complicated than other topologies
48
Mesh networks uses
Mesh topologies are used where the reliability of network communication is very important: ● military organisations often use mesh topologies to avoid breakdowns in communication ● cities are increasingly using wireless mesh networks to help monitor traffic flow, sewage treatment and to help control street lighting ● emergency services, such as police and fire services, also use wireless mesh networks to ensure that communication is reliable
49
What is transmission media?
Transmission media transmits data from one device to another. Two main categories: ● Wired ● Wireless
50
What is wired transmission media? Also, draw how it is shown.
Wired transmission media is a physical cable that connects one device to another. This is often shown as a solid or a long dashed line in a graph or a diagram. N/a
51
What is wireless transmission media? Also, draw how it is shown.
Wireless transmission media doesn’t require a physical cable. Wireless signals are sent through the air. A wireless connection is often shown using a short dotted line or a wave symbol. N/a
52
Can a network be made up of wired and wireless transmission media?
Yes
53
Protocols
A protocol is a set of rules for how data is transmitted on a network • The Ethernet protocol is used in wired transmission between devices and between networks • WiFi is a suite of protocols used for wireless transmission over longer distances • Bluetooth is a protocol used for wireless transmission over a short distance
54
Wireless transmission media types
• WiFi - enables you to connect your device to a network • Bluetooth - enables you to connect different devices together Both use radio signals
54
Wired transmission media types
In modern networks, wired media use either twisted copper wiring, or fibre-optic cable. Both use the Ethernet protocol: Twisted Copper Wire: Cost: cheap Maximum transmission speed: fast Maximum distance for reliable communication: up to 100m Form of signal: uses electrical signal Fibre-optic cable: Cost: expensive Maximum transmission speed: very very fast Maximum distance for reliable communication: over 2km Form of signal: uses light pulses
55
What two things do you need to connect to WiFi?
1. A Wifi Enabled Device - Built into the device, either a wireless NIC / Adapter (typically in PCs) or a wireless Antenna (tablets, smartphones) 2. Access to a WAP
56
What is the Internet?
The internet is a global network of networks. It is an infrastructure that is used to share data and resources on a global scale.
57
What does the ISP do?
Your Internet Service Provider (ISP) connects you to the billions of devices that are connected to the internet. Each, with their own unique IP address. IP addresses allow a device to be located and data to be sent to the intended recipient.
58
What is the WWW?
It is the World Wide Web. The internet can be used to access the World Wide Web (WWW). The WWW is a collection of web pages.
59
What is a web browser software?
In order to navigate the WWW you need a web browser. The most widely used web browsers are: ● Google Chrome ● Safari ● Firefox ● Microsoft Edge
60
How does a web browser work?
To access a web page on the WWW you enter a website address into the address bar at the top of your browser. This website address is known as a Uniform Resource Locator (URL). A website address is a user friendly way of writing the IP address location of the server that stores the website. It would be very hard to remember the IP address of every website that you wish to use, so a naming system is used instead.
61
What is a domain name system?
DNS is a domain name system that associates a website address with the IP address of its web server (ie. the server hosting the website)
62
How does a DNS work initially?
First, it will check if you have visited the website before. If you have, then your computer will already know the IP address. It will be stored in the browser's cache If not there it will use the DNS to find the IP address for the website.
63
DNS hierarchy
DNS = thousands of DNS servers all around the world arranged in a hierarchy. If your computer doesn’t know the IP address for the website that you need then it will try and find that IP address in the fastest way possible. There is a process for this.
64
How many root DNS servers are there worldwide?
About 600
64
DNS process
1. URL is sent to DNS. Firstly DNS checks your ISP’s DNS server (e.g Sky Broadband) 2. On it, DNS looks for the URL in its table of URLs to find the corresponding IP address of the web server 3. If it is found there, the IP address is returned to the browser Otherwise, If the website’s IP address can not be found here then it sends the URL / Request to a higher-level DNS Server in the hierarchy. Either: ● The URL is found, and the IP address of its web server is returned to the Browser, or ● The URL and corresponding IP address is not found, so an error is returned to the browser
65
Draw a DNS hierarchy
N/a
66
How does a web browser work
The web browser establishes a connection with the web server at the IP location specified by the DNS. The web browser then makes a request for the web page. The server will then check what has been requested and start to build a response. Web pages are typically built using a markup language known as HTML. The server will prepare the HTML required to build the web page in your browser. It will then send that HTML page and any other files, like images to your computer. The browser then takes the HTML and builds the web page within your browser. This is then displayed as a fully functioning web page.
67
Steps to resolving a URL
'Resolving' a URL means translating the URL into the IP address of the Server hosting the website 1. Browser checks its cache for the URL, and the corresponding IP address. If not found there….. 2. The URL is sent to the ISP's DNS server. 3. Its table of URL is searched to find the URL, and its corresponding IP address 4. If it is found, it is sent back to the browser otherwise… 5. The URL/Request is sent to a higher-level DNS server in the DNS hierarchy 6. This repeats until either the URL is found, and the corresponding IP address is returned to the browser OR an error is sent back indicating that the URL can't be found
68
Advantages of DNS
1. We as users don’t have to remember / type in IP addresses -> URLs are much easier for us to remember 2. The IP address of a server (eg. the web server is upgraded) can be changed seamlessly
69
What is the cloud?
= Computing services which are accessed via the internet Services include: 1. Storage 2. Software 3. Processing The services are run out of server farms - huge warehouses full of servers attached to extremely large storage devices
70
Hosting
• An Internet host is a company (often an ISP) that is able to: • store your files and make them available to you or others from other Internet-connected computers • Host software which you can then run, without having it installed on your device • These include: • Website pages, images and related files • Online file hosting services such as OneDrive or DropBox • Video hosting services such as YouTube • Software such as Office 365, Gmail, Google Slides
71
Cloud computing
• The software and storage for your account is not held on your computer – it’s on the service provider’s servers • Your device is the client, and accesses those servers via the internet • Usually, each application will have its own dedicated servers (e.g. Google Drive, Slides, Classroom, etc..)
72
What is a cloud-based software?
• Cloud-based servers enable access to software on demand • Typically on a subscription basis • No need to have the software installed on a local machine • Can access the software (and your data) from any Internet-connected computer, including mobile phone applications • Examples include: • Word processing (e.g. Google Docs) • Graphics design (e.g. Adobe Creative Cloud)
73
Advantages of cloud computing software
• Can access applications from any device at any time (providing have internet connection) • You don’t need a powerful computer with a powerful CPU and huge hard drive – the software application is stored and run on a remote computer • Updating software is done automatically by the service provider
74
What is cloud based storage?
• Data is stored on 3rd party servers • Data can be accessed from any device (providing have an internet connection) • Typically need to sign into the service to retrieve their data
75
What is cloud-based processing?
• Can access additional processing power • Computation-intensive applications (e.g. rendering animations, processing large data sets, creating 3D models) can be done with borrowed computing power from the cloud Advantage: • Can free up your own machine (for individuals) • Don’t have to invest in and maintain extra computers that might not be fully utilised all of the time
76
Advantages and disadvantages of cloud computing data storage
Advantages: • For individuals: • Can access data and files from any device at any time (providing have internet connection) • Backing up data is no longer crucial – it is done by the service provider • You don’t need as much storage space on your device -> saves money • For data, is typically easily scalable (albeit at a price) • Much of the above also applies to organisations as well Disadvantages: • Need an internet connection! • Are totally dependent on that company taking care to: • protect your data (in line with the Data Protection Act) • back it up regularly • As data is being transferred via the internet between the device and the cloud, is susceptible to interception • While you can usually store a limited amount of data for free, you typically have to pay to store more than the free allowance
77
What is network performance?
….is all about response time - how fast a message can be sent, or how quickly a film can be streamed, or how quickly a web page can be loaded, etc Several factors affect network performance: 1. Bandwidth 2. Number of connected devices 3. Type / Amount of data being transmitted 4. Error rate 5. Transmission Medium
78
What is bandwidth?
• The amount of data that can be carried at a time - Lower bandwidth means less data can be transmitted at the same time
79
What can affect bandwidth?
- type of transmission media - number of users connected - what users are doing
80
What is number of connected devices?
The number of devices connected to the network will affect the performance of the network for all users due to its impact on available bandwidth: • More users/devices means more data is being transmitted at a time • The available bandwidth will need to be split between more users/devices -> means less bandwidth for each user/device
81
What is the type/amount of data being transmitted?
Ie. What the users are doing will have an impact on the network performance: E.g. streaming high definition movies -> Greater quantity of data being transmitted -> needs more bandwidth VERSUS Writing an essay using a cloud based word processing application
82
What is error rate?
• The larger the amount of data being sent across the network, the greater likelihood of errors and collisions • When packets collide, they are corrupted or lost which means… • …more data has to be retransmitted…. (again, reducing available bandwidth) • ….Causing more corrupted packets and data to be lost
83
What is transmission medium?
I.e. Wired vs Wireless For wired connections typically offer higher bandwidth. Fibre Optic offers the highest, over long distances. For wireless, there are other factors affecting the performance: • Distance from WAP • Obstacles such as walls • Interference from other electronic devices
84
How is network performance?
Latency
85
What is latency?
• Latency is the time delay between the moment the first data packet of a communication starts and when it is received at its destination • A network with low latency -> very little delay in transmission = High Performance • A network with high latency -> many delays in transmission = Low Performance Bandwidth = the amount of data that can be transferred per second. Latency = the time that data takes to travel between its source and destination
86
What are standards?
Standards are technical specifications that specify how hardware and software components must work. Without agreed standards, hardware made by different manufacturers and software components produced by different companies would not work together. A standard: • Is used by many manufacturers / devices… • … as it allows compatibility with other devices
87
A standard must be…
• Fit for purpose - depending on the area where it’s likely to be used it might need to be: secure, reliable, high performance • Cost effective
88
What is a protocol?
A protocol is a set of rules governing how computers communicate, ie. how they transfer data between them Many protocols are also standards, e.g. Ethernet, Wifi, Bluetooth, TCP However other protocols exist which are not standards, (e.g. HTTP, FTP).
89
Application related protocols
- HTTP - HTTPS - FTP
90
Purpose and features of HTTP
Hypertext Transfer Protocol Purpose: - used for accessing and receiving web pages in the form of HTML files on the Internet Features: - Sends a request for a webpage from the web browser to the web servers - transfers the requested web page from the web server to the user’s browser for viewing - If the page cannot be found it will return an error code
91
Purpose and features of HTTPS
Hypertext Transfer Protocol Secure Purpose: - Encrypted version of HTTP Features: - As for HTTP but sends an encrypted request for a webpage, and an encrypted page is returned
92
Purpose and features of FTP
File Transfer Protocol Purpose - Used to upload or download a file between a device and a server via the Internet Features - Server opens a data connection over which the file is transferred
93
How does email work?
• Mail servers pass on or store emails until they are collected • You must log in to a mail server to collect mail • Examples of mail providers are Gmail or Yahoo sender’s computer -SMTP-> sender’s mail server -SMTP-> Internet -SMTP-> recipient’s mail server -POP/IMAP-> recipient’s computer
94
Email related protocols
- SMTP - POP - IMAP
95
SMTP Purpose and Features
Purpose: - Used to send an email to an email server Features: - Delivers the email from the client/sender’s device to their email server - And then…delivers the email to the recipient’s email server (destination mail server)
96
POP Purpose and Features
Purpose: - Used to request any new emails for a specific email account from an email server Features: - Downloads any emails from an email server to the user’s device - Deletes the email from the server
97
IMAP Purpose and Features
Purpose: - Used to synchronise a client email account with an account on a mail server - Allows a user to use multiple devices to access their email account Features - Server delivers the header of any new emails to the client / user’s device(s) - Downloads the email when the email is opened on the client/user’s device - Leaves the message on the recipient’s email server (unless the user deletes the email on their client/device)
98
TCP Features and Purpose
Transmission Control Protocol Purpose: - Splits data to be sent into packets, and reassembles packets at receiving end Features: - When data is to be sent, it is split into packets - Each packet is given a sequence number - When data packets are received, they are checked, and any missing packets are re-requested
99
IP Purpose and Features
Internet Protocol Purpose: - Routes Packets using IP address Features: - Adds source and destination IP addresses to packets - ….allowing packets to be routed across the internet
100
Ethernet and WiFi Purpose and Features
Purpose: - Manages transmission of the data along the wired (Ethernet) or wireless (WiFi) media - Uses MAC addresses Features: - Turns packets into frames (another kind of packet) - Adds source and destination MAC addresses
101
Why do we use layers?
Network communication across the internet is very complex Many organisations are involved in writing the software and developing the hardware which is involved in networking To simplify the process, it is divided into layers: • Each layer has a defined responsibility • The layers are ordered so that data moves from one layer to the next in its journey from the application (ie. the user) to the point at which it is physically transmitted across a network, and vice versa at the receiving end • The specification for the interface between each layer is well documented -> means that developers and manufacturers just need to make sure that the data is in the correct format so that it can move from one layer to the next
102
What is the TCP/IP protocol stack?
• Layering means dividing up the process of sending and receiving data into different sub-parts ( = layers) • The TCP/IP stack is made up of 4 layers - each is a division of network functionality, each carrying out a different role • Different protocols operate in different layers. Therefore, protocols are used as a hierarchy that divides the tasks of communications into different layers.
103
How to send data?
The application you are using to send data will determine the correct protocol to use to communicate Application (computer application - HTTP/HTTPS, FTP, IMAP, POP) —> Transport (creates connection - TCP) —> Internet (sends and routes the data - IP) —> Link (physical hardware and cables - Ethernet and WiFi) —> Link —> <— Internet —> router
104
Advantages of layers
• Layers are self-contained which means: • A layer can be removed or changed without affecting any other layers • Each layer doesn’t need to consider what the other layers do • Different hardware or software operates on a particular layer providing interoperability between providers and systems, e.g. one manufacturer’s router operating on the Internet layer, will operate with another manufacturer’s NIC operating on the Link layer • Individual protocols are smaller and simpler to manage since they only need to cover a small part of the overall network functionality