Hi
my vm cannot access the net , how to correctly set the vmbr0?
cat /etc/network/interfaces
show this
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet static
address 202.111.42.118/24
gateway 202.111.42.1
name Ethernet LAN card
iface eth0 inet manual
auto eth1:1
iface eth1:1 inet static
address 202.111.42.2/24
name Ethernet alias LAN card
auto vmbr0
iface vmbr0 inet manual
bridge-ports eth0
bridge-stp off
bridge-fd 0
my vm cannot access the net , how to correctly set the vmbr0?
cat /etc/network/interfaces
show this
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet static
address 202.111.42.118/24
gateway 202.111.42.1
name Ethernet LAN card
iface eth0 inet manual
auto eth1:1
iface eth1:1 inet static
address 202.111.42.2/24
name Ethernet alias LAN card
auto vmbr0
iface vmbr0 inet manual
bridge-ports eth0
bridge-stp off
bridge-fd 0
Last edited: