Hello everyone, I'm a beginner with promox, but I managed to connect it via WiFi, not being able to use the cable where the PC is located.
I have access to the gui, but I can't get an ip from the VM, I am trying to create a VM for Home Assistant and I need to receive an IP
Can anyone help me?
This is what I'm in /etc/network/interfaces
I have access to the gui, but I can't get an ip from the VM, I am trying to create a VM for Home Assistant and I need to receive an IP
Can anyone help me?
This is what I'm in /etc/network/interfaces
auto lo
iface lo inet loopback
#iface enp3s0 inet manual
allow-hotplug wlp2s0
auto wlp2s0
iface wlp2s0 inet static
address 192.168.1.xxx/24
netmask 255.255.255.0
gateway 192.168.1xxx
wireless-channel 1
pre-up wpa_supplicant -iwlp2s0 -c /etc/wpa_supplicant/wpa_supplicant.conf -B
auto vmbr0
iface vmbr0 inet static
address 10.10.10.1
netmask 255.255.255.0
gateway 192.168.1.xxx
bridge-ports none
bridge-stp off
bridge-fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o wlp2s0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o wlp2s0 -j MASQUERADE
Last edited: