Lecture notes
- Lecture materials
- Lecture contents
- Introduction to Networks
- Introduction to the internet
- TCP/IP Protocol
- Application Layer Protocols
- Transport Layer Protocols
- Internet Protocols & IP Addresses
- Domain names and DNS
- Network Layer
- Internet Governance and infrastructure
- Hardware for Computer Networks
- Application and Services
Lecture materials
- High school networks notes (in Italian)
Lecture contents
- Introduction to Networks
- Understanding the Internet
- Application and Services
- Developing for the Web
Introduction to Networks
-
Communication networks β to exchange data and information
- Data β database of values
- Information β what is extracted from processed data
-
Shannonβs Communication Model β Devised by Claude Shannon in 1948
-
Classification of networks by extension
- PAN (Personal area network) β Serves a single individual wirelessly
- LAN (Local area network) β connects machines in a single building
- WAN (Wide area network) β large areas, are made up by smaller networks
-
Communication channels β medium for information transmission
- Wired channels β wires or cables
- Pros β Shileded, dependable and secure
- Cons β costly, limited mobility and easy to damage
- Wireless channels
- Used means β Radio signals, microwave
- Radio Frequency β Sent by transceivers through antennas
- Wireless devices and transceivers β send and receive data and include antennas
- Wired channels β wires or cables
-
Security in wired channels β Wired connections are secure
-
Bandwidth in communication channels
- Bandwidth β transmission capacity
- Broadband β at least 25 Mbps
- Narrowband β Slower than 25 Mbps
-
Topology of Networks β structure and layout of network components
- Point-to-point β connects peripheral devices to a host
- Star topology β Connects devices to a central device
- Mesh topology β All the devices are connected with each other
-
Network nodes
- Network node β any device on a network
- Data Terminal Equipment β stores or generates data
- Data Communication Equipment β controls data speed, signal conversion, error checking and routing
-
Devices as Network Nodes
Introduction to the internet
- Internet β global system of computers connected together
- Redundancy β The internet is redundant (Redundancy of paths)
- Hierarchical β internet is organized into levels/groups
- Birth of the internet β 1957 project at Stanford to connect computing machines at a distance as a part of the ARPA project. This later expanded to connect all universities in the US and include multiple services.
- Client-Server Architecture
- Checkout https://traceroute-online.com
tracerout [website]
- Checkout https://traceroute-online.com
Uniform Resource Locator
Link to original
- Protocol β Rules for the information
- Domain name β human readable, gets converted to an IP Address via a Domain Name Server
- IP Address β Computer readable unique address for a machine in a network
- Hierarchy β each byte of the address gets more specific
- Challenges of the internet
- How does the receiving computer interpret the response
- How to communicate across multiple operating systems
- how to ensure all information was transferred
- how to handle multiple requests and responses to the same router
- How do routers know where to send information
TCP/IP Protocol
- Defines rules for sending and receiving information between devices
- First developed by the US Department of Defense, now used widely
- Layers of the protocol:
- Network Layer β Captures the physical aspects of data transmission and hardware related protocols.
- Internet Layer β Looks after the logical transmission of data. Defines an IP Address for each device connected to the network.
- Transport Layer β Responsible for end-to-end communication and handles error-free transfers (TCP and UDP protocols). Some data has higher importance than other and is thus handled differently (e.g. bank info)
- Application Layer β Where the server defines networking preferences and safety (SSL)
Application Layer Protocols
- Hypertext Transfer Protocol β for web browsing, defines how web browsers and web servers communicate
- 200s β all good
- 400s β client errors
- 500s β server errors
- Languages: HTML, CSS, JavaScript
Transport Layer Protocols
- Responsible for end-to-end communication and data integrtiy
- Handles data segmentation, sequencing, error correction and flow control
- Transmission Control Protocol β ensures reliable communication, confirms data receipt and retransmits lost data
- User Datagram Protocol β Faster but less reliable, suitable for real-time application and video-streaming
Internet Protocols & IP Addresses
- Devices connected to the internet need to adhere to the IP protocol
IP Address
- The ISP provides the IP Addresses β 4 byte (4 * 8 bits = 32 bits) address
- IPv4 and IPv6 standards
- Static IP β IP Address does not change (e.g. for web services)
- Dynamic IP β IP addresses change frequently (e.g. phone, laptop and personal devices)
- Private IP β Valid only within a local network (unique within the network)
- Public IP β Accessible anywhere on the internet (assigned to router)
Link to original
- Format: XX.XX.XX.XX
- Hierarchy β First byte corresponds to the larger network, then the following is more and more specific
- IPv6 β Expanding to 6bytes instead of only 4 bytes (but lacking infrastructure)
Domain names and DNS
- Domain name β easy to remember
- Top-level domains β .it, .com, .org, .nl
- Domain Name System β associates domain names with the corresponding IP Addresses
- DNS Spoofing β unauthorized changes to the hierarchy
Network Layer
- Handles the physical aspect of communication
- Specifies and defines cable types, signal standards and data rates
- Ethernet β wired connection with twisted-pair or coaxial cables
- Wi-Fi β standard for wireless connections, using radio frequency tech
Internet Governance and infrastructure
- Internet Corporation for Assigned Names and Numbers (ICANN) β Supervises internet
- ISP (Internet Service Providers) β Maintain the infrastructure
- Tier 1 ISP networks form the backbone of the internet (around 16 globally)
- Tier 2 Service Providers (e.g. Ziggo, Vodafone, KPN)
Hardware for Computer Networks
- Router β forwards packets and helps in allocation and deallocation of Private IP addresses
- Gateway β each router connects one network to another
- Wireless Access Point β Connected to a router, allow wireless devices to participate in the network
- Content Distribution Network (CDN) β Used in handling high traffic
- Redistribution β redirects requests and responses through routers to avoid traffic
- Caching β saves frequently requested resources
- Load balancing β stores resources across multiple servers to manage load
Distributed Systems
- Aim at solving the high expenses of memory and CPU usage of certain processes
- Linking βcheaperβ computers into a bigger machine β each smaller machine solves or stores part of the problem
- Challenges β Computer crashes
Exam information
All the content after this is irrelevant for the examination
Application and Services
- Client-Server Model β
- Server β Runs on a server to cater to requests from clients
- Web Servers
- EMail Servers
- Game Servers
- Realtime Comm. Servers
- Application Server
- Client β Limited process, makes requests to the servers
- Server β Runs on a server to cater to requests from clients
- Databases for Information Storage
Exam style questions
- What does error 404 mean?
- Why do we need standardisation to make the internet work?
- What does the application/transport/internet/network layer do?