Cách fix lỗi bridge viifbr0 của virtualizor không kết nối mạng sau khi reboot – ubuntu

Bước 1: Off hết VM đang bật trên Virtualizor

Bước 2: Kiểm tra không còn vInterface nào bằng lệnh:

brctl show

Bước 3: Shutdown và xóa bridge viifbr0:

ip link set viifbr0 down
brctl delbr viifbr0

Bước 4: Kiểm tra lại cấu hình netplan và apply lại cấu hình:

root@ubuntu:~# cat /etc/netplan/50-cloud-init.yaml
# This file is generated from information provided by the datasource. Changes
# to it will not persist across an instance reboot. To disable cloud-init’s
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
version: 2
renderer: networkd

ethernets:
eno1:
dhcp4: no
dhcp6: no

bridges:
viifbr0:
interfaces:
– eno1
addresses:
– 103.211.201.19/24
routes:
– to: default
via: 103.211.201.1
nameservers:
addresses:
– 8.8.8.8
– 1.1.1.1
parameters:
stp: false
forward-delay: 0
dhcp4: no
dhcp6: no

Was this article helpful?

Hướng dẫn liên quan

Leave A Comment?