For our solution we need.
- eth0 (onboard here)
- wlan (pcie card)
First let’s do the dummy interface(s):
root@cloud:~# echo dummy >> /etc/modules
root@cloud:~# echo options dummy numdummies=1 >> /etc/modprobe.d/dummy.conf
root@cloud:~# modprobe dummy
You can count the number of dummy interfaces by your self. Got in mind that the interface get automatical a hardware address, that can be in conflict with the virtual machine(s).
We reconfigure the interface in
root@cloud:~# nano /etc/network/interfaces
The configuration files has to look something like:
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you’re doing.
# If you want to manage part of the network configuration manually,
# please utilize the ‘source’ or ‘source-directory’ directives to do
# PVE will preserve these directives, but will NOT its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
iface lo inet loopback
iface vmbr0 inet static
iface vmbr1 inet static
iface wlan0 inet static
If you do it up right here, proxmox will use it without problems;- there is no need for a graphical interface this time.
Time for reboot