Changes between Version 7 and Version 8 of Csle2022/Agenda/virtualization


Ignore:
Timestamp:
Nov 25, 2022, 3:28:45 PM (2 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Csle2022/Agenda/virtualization

    v7 v8  
    2020user:password
    2121
    22 
     22Once login open the terminal application to do the rest of the installations.
    2323
    2424== Network Configuration ==
    2525
    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,
     26First 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
     28To check the IP address enter below in the terminal.
     29
     30{{{
     31ip addr show
     32}}}
     33
     34Now 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
     36If 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{{{
     39sudo nano /etc/netplan/01-network-manager-all.yaml
     40}}}
    2741
    2842{{{
    2943network:
    3044  ethernets:
    31     eno1:
     45    enp0s3:
    3246      dhcp4: no
    3347    eno2:
     
    4155  bridges:
    4256    virbr0:
    43       interfaces: [eno1]
     57      interfaces: [enp0s3]
    4458      addresses:
    45         - 192.168.0.10/24
    46       gateway4: 192.168.0.254
     59        - <IP_ADDRESS>/23
     60      gateway4: 10.1.1.254
    4761      nameservers:
    4862        addresses: [192.248.1.161,1.1.1.1]
    4963}}}
    5064
    51 Once done execute below to test the connection and if OK Enter to accept the changes,
     65Once done execute below to test the connection. Before the timeout you can check the connectivity by pinging to the IP from the host computer. if ping is working then press Enter to accept the changes,
    5266
    5367{{{
     
    5569}}}
    5670
    57 and then check the connectivity.
    5871
    5972Once we are done with the network configuration we will go to installation of the KVM.