Mobile Proxmox on Laptop - WiFi + NAT vmbr0 doesn’t work

jolly.rodger

New Member
Aug 22, 2021
1
0
1
44
Hi. Can you please help to solve this problem.

I tried to install proxmox ve on my laptop, no success. works fine only with ethernet cable and default config.
can't get wifi working with vmbr0. any ideas why? also wpa_supplicant is super slow.

ideally, i want a mobile workstation for proxmox on wifi with dhcp, if it possible


Bash:
auto lo
iface lo inet loopback

iface enp0s31f6 inet manual

auto wlp4s0
iface wlp4s0 inet static
  address 192.168.1.120/24
  netmask 255.255.255.0
  gateway 192.168.1.1
  wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
ifup wlp4s0

auto vmbr0
iface vmbr0 inet static
        address 10.10.10.1/24
        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 wlp4s0 -j MASQUERADE
        post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o wlp4s0 -j MASQUERADE
ifup vmbr0

Bash:
root@pve:~# ip -c a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp0s31f6: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 50:7b:9d:ce:c6:6b brd ff:ff:ff:ff:ff:ff
3: wlp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 44:85:00:51:22:2d brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.120/24 scope global wlp4s0
       valid_lft forever preferred_lft forever
    inet6 fe80::4685:ff:fe51:222d/64 scope link
       valid_lft forever preferred_lft forever
4: vmbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 96:76:9e:c2:ec:1f brd ff:ff:ff:ff:ff:ff
    inet 10.10.10.1/24 scope global vmbr0
       valid_lft forever preferred_lft forever

Bash:
root@pve:~# ip route
default via 192.168.1.1 dev wlp4s0 proto kernel onlink
10.10.10.0/24 dev vmbr0 proto kernel scope link src 10.10.10.1 linkdown
192.168.1.0/24 dev wlp4s0 proto kernel scope link src 192.168.1.120
 
Last edited:
WiFi isn't supported on PVE. It's possible to set it up, since it's a regular Debian under the hood, but especially bridges work very poorly (WLAN in general doesn't like multiple MAC addresses per AP client). We have a wiki page for some assistance: https://pve.proxmox.com/wiki/WLAN
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!