> For the complete documentation index, see [llms.txt](https://isubasinghe.gitbook.io/isithas-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://isubasinghe.gitbook.io/isithas-wiki/computer_science/distributed_systems/computer_networks.md).

# Computer Networks

## Basic idea

Spatially separated computers exchanging messages over a shared physical medium according to a layered stack of protocols (link → IP → TCP/UDP → application).

## Key facts

* Layered model: physical / link / network (IP) / transport (TCP, UDP) / application.
* Internet: a network of networks linked by ISPs and backbone routers; addresses via IP.
* Intranet: privately administered subnet of the Internet, isolated by firewalls.
* Wireless paradigms enable mobile, ubiquitous and IoT computing.

Common distributed systems based on widely used computer networks

* The internet
* Intranets
* Wireless networks

## The internet

Consists of a large number of interconnected collection of computer networks of different types. Features include:

* Computers interacting using a common means of communicating.
* Many different services (applications) (WWW, FTP, SFTP)
* A number of Intranets linked by backbones
* Internet Service Providers (ISPs), that provide access to services on the Internet while providing local services such as email and web hosting.
* A backbone network link with high transmission capacity
* Communication via Satellite, fiber optic cables and other high bandwidth circuits.

![Internet](/files/y1gMGqPkmGn7gFWHywAR)

## Intranets

Is a portion of the Internet that is seperately administrated by organisations. Features:

* A boundary that can be configured to enforce local security policies.
* Several local area connections (LANs) linked by backbone connections.
* A connection to the Internet via a router allowing users within the intranet to acces services on the Internet.
* Firewalls to protect an intranet by preventing unauthorized messages leaving or entering by filtering incoming and outgoing messages.

![Intranet](/files/k3tPldm4N4fPc6E1jkKD)

## Wireless networks

Wireless networks allow the intergration of small computing devices (laptops, mobile phones etc)

Three popular paradigms that use wireless networks are:

1. **Mobile computing :** The mobile computing paradigm allows users to perform computing tasks on the move, while being part of a distributed system.
2. **Ubiquitous computing :** Where cheap computing devices are embedded in devices that are used in parts of parts of a distributed system.
3. **Internet of Things :** Everyday objects are addressable and connected to the internet and may be part of a distributed system.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://isubasinghe.gitbook.io/isithas-wiki/computer_science/distributed_systems/computer_networks.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
