Proxmox over WIFI (WLAN)

Don't do that. A host shouldn't have multiple IPs assigned to the same subnet. This will screw up routing. So either use 192.168.88.88/24, 192.168.88.99/24 or 192.168.88.89/24 but only one of them. In your case you probably want to use DHCP on wlx18a6f70bc768 for the 192.168.88.0/24 subnet and some other subnet for vmbr0.

Sorry but maybe I do not get the idea how it works.
I thought that the main server IP, for example for web access, should be the WiFi interface (wlx18a6f70bc768) IP address (192.168.88.89). If I use DHCP on that then I get web access on random IP address and everything becomes a bit complicated. Am I thinking the wrong way?

What subnet should I use for Bridge (vmbr0)? Does it have any restrictions instead of not being in the WiFi interface (wlx18a6f70bc768) network?
I've got 3 IPs on the server - Ethernet, WiFi and Bridge, should I transfer the Ethernet IP to another 3rd network if I even wanna use it?
Also should router be in the fourth network or is it OK for WiFi IP interface to be router subnet (192.168.88.0/24)?

Thank you for your help with goofy questions.
 
If I use DHCP on that then I get web access on random IP address and everything becomes a bit complicated. Am I thinking the wrong way?
Wifi usually uses DHCP go grab a IP/gateway/DNS from your local DHCP server. To then get always the same IP you tell your WifiAPs DHCP server to set a static lease for it.

What subnet should I use for Bridge (vmbr0)? Does it have any restrictions instead of not being in the WiFi interface (wlx18a6f70bc768) network?
Choose one based on RFC 1918. Doesn'T matter which one as long as it won'T collide with existing subnets: https://en.wikipedia.org/wiki/Private_network

should I transfer the Ethernet IP to another 3rd network if I even wanna use it?
Yes.

Also should router be in the fourth network or is it OK for WiFi IP interface to be router subnet (192.168.88.0/24)?
Wifi IP will have to be in your routers subnet or otherwise your PVE server would be isolated.
 
Hello, I hope my answer could be useful for those who shaking between the "What and how to configure my Wlan, routing table, and at the same time sharing internet connection to the VM's".
Here is my configuration:

auto lo
iface lo inet loopback

auto vmbr0
iface vmbr0 inet static
address 10.12.59.254/24
gateway 10.12.59.1
bridge-ports none
bridge-stp off
bridge-fd 0

auto wlp2s0
iface wlp2s0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.12.59.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.12.59.0/24' -o vmbr0 -j MASQUERADE

up route add default dev wlp2s0

iface enp0s31f6 inet manual

iface wwan0 inet manual


source /etc/network/interfaces.d/*


#/etc/wpa_supplicant/wpa_supplicant.conf

network={
ssid="Your_ssid"
#key_mgmt=WPA-PSK
psk="Your_password"
priority=2
}
 

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!