You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
zanninso d762552ce1
docs: adding the credentials and more details about how setup machines correctly (#2347)
12 months ago
..
audit CON-1846 adding UTM links and remove the specification of virtualbox 1 year ago
README.md docs: adding the credentials and more details about how setup machines correctly (#2347) 12 months ago

README.md

connect

To communicate over a network, a computer must have an IP address.

The computer can choose its own IP address (static) or can ask a DHCP server to assign one (dynamic).

Generally, clients (smartphones, laptops, etc...) rely on DHCP servers to have a dynamic IP address and servers have a static IP address.

For this project you will need to add these 3 VM :

For VirtualBox

For UTM

The VM are configured like this :

        N E T W O R K S                C O M P U T E R S
_______________________________     ________________________

.-----------------------------.
|          Internet           |
'-----------------------------'
               ^
               |
               v
.-----------------------------.
|              NAT            |
|                             |
|         DHCP server         |     .----------------------.
|          DNS server         |     |         box          |
|                             |     |                      |
|              (10.0.2.2) NIC |<--->|  INT_2 (10.0.2.15)   |
|                             |     |   ^                  |
'-----------------------------'     |   |                  |
.-----------------------------.     |   |                  |
|      Internal Network       |     |   | DHCP server      |
|                             |     |   v                  |
|                           |<----->|  INT_1 (192.168.0.1) |
|                           | |     |                      |
|                           | |     '----------------------'
|                           | |     .----------------------.
|                           | |     |       machine1       |
|                           | |     |                      |
|                           |<----->|  INT_1 (192.168.0.2) |
|                           | |     |                      |
|                           | |     '----------------------'
|                           | |     .----------------------.
|                           | |     |       machine2       |
|                           | |     |                      |
|                           |<----->|  INT_1 (192.168.0.2) |
|                             |     |                      |
'-----------------------------'     '----------------------'

You will only have control over "machine2". This computer have Internet access through the "box".

Machine Credentials: Use 'root' as the login and a single space (' ') as the password.

Configure the network of the connect_box to use the NAT network, following the diagram provided above.

Start the 3 VM and test on machine2 the connectivity quality with this command :

timeout --signal SIGINT 1m ping google.com

After one minute the result shows the percentage of lost packets. It should be quite high (above 10%). machine1 and machine2 have the same IP address, which leads to connectivity problems.

Find how to :

  • change the IP address to avoid the conflict
  • make the IP address dynamic (attributed by the box DHCP server)