Before Install
Update, Check CPU
apt update
egrep -c '(vmx|svm)' /proc/cpuinfo
Install Package
apt install -y qemu-kvm virt-manager libvirt-daemon-system virtinst libvirt-clients bridge-utils
Add Network Bridge
cd /etc/netplan
vim 01-netcfg.yaml
01-netcfg.yaml
network:
ethernets:
<nic_name>:
dhcp4: false
dhcp6: false
# add configuration for bridge interface
bridges:
br0:
interfaces: [<nic_name>]
dhcp4: false
addresses: [<server_ip_and_slash>]
macaddress: <mac_address>
routes:
- to: default
via: <gw_ip>
metric: 100
nameservers:
addresses: [<dns_server_ip>]
parameters:
stp: false
dhcp6: false
version: 2
Apply Conf
netplan apply
Verify
ip a
Top comments (0)