Important Facts
Internet, Networking & Cyber Security · Study material
Networks, topologies, devices and media
Kinds of networks
| Network | Area covered | Example |
|---|---|---|
| PAN | Around one person | Phone linked to earbuds by Bluetooth |
| LAN | A room, building or campus | Office or school network |
| MAN | A city | A city-wide cable network |
| WAN | Countries and continents | The internet is the largest WAN |
An intranet is a private network inside an organisation; an extranet opens part of it to partners and suppliers. In a client–server network, servers provide services to clients; in a peer-to-peer network every computer is equal.
Topologies
- Bus – all devices on one backbone cable; cheap, but a break stops the network.
- Star – every device joins a central switch or hub; easy to manage, but the centre is a single point of failure.
- Ring – devices form a closed loop; data passes round in one direction.
- Mesh – every device links to many others; the most reliable and the most expensive.
- Tree – star networks joined in a hierarchy.
Network devices
| Device | Job | OSI layer |
|---|---|---|
| Repeater | Boosts a weak signal | 1 – Physical |
| Hub | Sends data to every port | 1 – Physical |
| Switch | Sends data only to the right device, using MAC addresses | 2 – Data link |
| Bridge | Joins two LAN segments | 2 – Data link |
| Router | Joins different networks and picks a path, using IP addresses | 3 – Network |
| Gateway | Joins networks that use different protocols | Can work at all layers |
Media and wireless
Twisted-pair cable (Ethernet, RJ-45) · coaxial cable (cable TV) · optical fibre – light pulses, the fastest and immune to electrical interference. Wireless: Wi-Fi (IEEE 802.11), Ethernet (IEEE 802.3, wired), Bluetooth (short range, named after the Danish king Harald Bluetooth), NFC (a few centimetres – contactless payments).
The internet, protocols, addresses and the OSI model
The internet's story
| Year | Milestone |
|---|---|
| 1969 | ARPANET, funded by the US Department of Defense, sends its first message |
| 1983 | ARPANET switches to TCP/IP – often called the birth of the modern internet |
| 1993 | Mosaic, the first popular graphical web browser |
| 1994 | Netscape Navigator and Yahoo! appear |
| 1998 | Google founded by Larry Page and Sergey Brin; ICANN set up to manage domain names |
| 2001 / 2004 / 2005 | Wikipedia / Facebook / YouTube |
Protocols and ports
| Protocol | Job | Port |
|---|---|---|
| HTTP / HTTPS | Web pages / secure web pages (encrypted with TLS) | 80 / 443 |
| FTP | File transfer | 21 |
| SSH / Telnet | Remote login – secure / insecure | 22 / 23 |
| SMTP | Sending email | 25 |
| POP3 / IMAP | Receiving email – download / keep on server | 110 / 143 |
| DNS | Turns domain names into IP addresses | 53 |
| DHCP | Gives devices an IP address automatically | 67/68 |
Addresses
- IPv4 – 32 bits, written like 192.168.1.1, about 4.3 billion addresses. IPv6 – 128 bits, written in hexadecimal.
- MAC address – 48-bit hardware address burnt into a network card. Port numbers are 16 bits (0–65535).
- A URL such as https://www.example.in/page has a protocol, a domain name and a path. .in is India's country code domain, run by NIXI.
The OSI model (7 layers, bottom to top)
Physical → Data link → Network → Transport → Session → Presentation → Application. The TCP/IP model groups these into four layers.