06_Network configuration
Network configuration
Une carte réseau configurée en mode bridge permet de relier plusieurs interfaces réseau et d'agir comme un commutateur virtuel. Elle permet aux machines virtuelles ou aux conteneurs d’accéder directement au réseau physique. Aller dans /etc/network/interface
sudo nano /etc/network/interface
Exemple de fichier :
# 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
iface ens33 inet manual
auto vmbr0
iface vmbr0 inet static
address "IP/CIDR"
gateway "IP_Gateway"
dns-nameservers "IP_DNS"
bridge-fd 0
bridge-stp off
bridge-ports ens33
# dns-* options are implemented by the resolvconf package, if installed
Si vous installer Proxmox par l'ISO directement cela se fait automatiquement vous n'aurais pas besoin de faire cette étape