26 | | First we have do the network configuration. If we need the VMs to receive the same IP range as in the Host server, then we need to create a network bridge interface. Network bridge 'virbr0' is already created with NAT enabled. Now need to configure it in bridge mode. Please open the terminal application Change the configuration as in the below, |
| 26 | First we have do the network configuration. Right now in your network settings DHCP is automatically enabled and you should have a IP address received. |
| 27 | |
| 28 | To check the IP address enter below in the terminal. |
| 29 | |
| 30 | {{{ |
| 31 | ip addr show |
| 32 | }}} |
| 33 | |
| 34 | Now we are going to disable DHCP in our network configurations and enable static IP configuration. We will also put same IP received from DHCP to the static IP configuration to avoid any IP conflict among us. Also notice the interface name. For the VirtualBox VM it will be mostly enp0s3. |
| 35 | |
| 36 | If we need the VMs to receive the same IP range as in the Host server, then we need to create a network bridge interface. Network bridge 'virbr0' is already created with NAT enabled. Now need to configure it in bridge mode. Please open the terminal application Change the configuration as in the below, |
| 37 | |
| 38 | {{{ |
| 39 | sudo nano /etc/netplan/01-network-manager-all.yaml |
| 40 | }}} |