Informational Website publish

Blog

News about our company, tutorials about IT and much more you will find in this page.

How to Configure network on Proxmox – Debian

Janeiro 30th, 2018

Detecting the name of the network device

  • ls /sys/class/net

Open the network file

  • nano /etc/network/interfaces

Replace all with

auto lo
iface lo inet loopback
iface eth0 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.10.2
netmask 255.255.255.0
gateway 192.168.10.1
bridge_ports eth0
bridge_stp off
bridge_fd 0

ATTN: eth0 is the natwork name that was detected on the first command

Reboot the network

  • /etc/init.d/networking restart

 

Network on VMs

 

auto ens18
iface ens18 inet static
address 192.168.10.2
netmask 255.255.255.0
gateway 192.168.10.1
dns-nameservers 8.8.8.8