What is the Internet?
• 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
What is the World Wide Web?
= 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)
What are the features of a WAN?
The Internet is a Wide Area Network (WAN)
What does a WAN stand for?
Wide Area Network
What are the features of a LAN?
• 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
The setup of WANs and LANs
• 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.
What is the Internet of things?
= 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
What is an IP address?
• 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
IPv4 vs IPv6
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
Can your IP address change?
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
What is an NIC?
A network interface card is built into every networked device, that is wired or wireless, which allows a computer to access a network.
What is MAC addressing?
• 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
What is the role of a MAC address?
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.
IP vs MAC address
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
What is a network?
Very rarely now will you use a standalone computer. A
network is when two or more computers are connected
together.
Advantages of a network
• 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
Disadvantages of networks
• 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
Classification of networks
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.
The client-server model
• 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
Draw a school client-server setup
N/a
How does a client server network work?
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
What are the different types of servers and their roles
• 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)
Advantages of a client-server model
• 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
What are web servers?
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)