---
# System prepended metadata

title: '# NETWORK'
tags: ['network ', code]

---

#### Network information & commands
```
[hostname]$ sudo su && cd /etc/systemconfig/network-scripts
```

![cd /etc/systemconfig/network-scripts](https://hackmd.io/_uploads/r10md0Cd3.png)

#### If you don't want to Edit VirtualBox network settings in the GUI 
 **⇉ You can add a new NAT network with VBoxManage by using the command:**
 ```
VBoxManage natnetwork add –netname natnet1 –network “192.168.22.0/24” –enable
```
**Where:**

-    natnet1 is the name of the NAT network;
-   192.168.22.0/24 is the address of that NAT network.

### For more :VBox_network:
**https://www.nakivo.com/blog/virtualbox-network-setting-guide/**

#### Comparison of VirtualBox Network Modes

**For more convenience, let’s summarize all information about network modes supported by VirtualBox in this table:**

![Comparison of VirtualBox Network Modes](https://hackmd.io/_uploads/SkNxiCC_h.png)
02/07/23
---------

16/01/24



    An application programmer would list the services that his or her application needs: for example, a guarantee that each message the application sends will be delivered without error within a certain amount of time or the ability to switch gracefully among different connections to the network as the user moves around.

    A network operator would list the characteristics of a system that is easy to administer and manage: for example, in which faults can be easily isolated, new devices can be added to the network and configured correctly, and it is easy to account for usage.

    A network designer would list the properties of a cost-effective design: for example, that network resources are efficiently utilized and fairly allocated to different users. Issues of performance are also likely to be important.

### Concept: multiplexing
- Means that a system resource is shared among multiple users
- Analogy to a timesharing computer system
 ->where a single physical processor is shared (multiplexed) among multiple jobs, each of which believes it has its own private processor
- Similarly, data being sent by multiple users can be multiplexed over the physical links that make up a network.
- A network that attempts to allocate bandwidth to particular flows is sometimes said to support **Quality of Service (QoS)**.

```rust=
The challenge for a network designer is to:
identify the right set of common services.
The goal is to hide the complexity 
of the network 
from the application 
without overly constraining 
the application designer.
```
### The process that requests access to the file is called the client, and the process that supports access to the file is called the server.