Score:0

Bridge wifi to vmbr

cn flag

Here is my networking setup:

The system is running Proxmox (Debian-based) so it has a bunch of VMs.

The default bridge of the system is vmbr0, connected via ethernet to a network with the 192.168.86.0/24 IP range

I wanted to create a new bridge (vmbr1) that bridges the current VM to another network with the 192.168.1.0/24 IP range, via wifi

below is my /etc/network/interfaces

auto lo
iface lo inet loopback

auto enp8s0

iface enp8s0 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.86.69/24
        gateway 192.168.86.1
        bridge-ports enp8s0
        bridge-stp off
        bridge-fd 0


auto wlo1
allow-hotplug wlo1
iface wlo1 inet static
        wpa-conf /etc/wpa.conf
        address 192.168.1.69
        netmask 255.255.255.0
        gateway 192.168.1.1
        pre-up sysctl net.ipv4.ip_forward=1
        pre-up sysctl net.ipv4.conf.all.proxy_arp=1
        post-up /usr/sbin/parprouted -d vmbr1 wlo1
        post-up ip addr add $(ip addr show wlo1 |perl -wne 'm|^\s+inet (.*)/| && print $1')/32 dev vmbr1
        pre-down ip addr del $(ip addr show wlo1 |perl -wne 'm|^\s+inet (.*)/| && print $1')/32 dev vmbr1
        post-down /usr/bin/killall /usr/sbin/parprouted


auto vmbr1
iface vmbr1 inet static
        address 192.168.1.69
        netmask 255.255.255.0
        bridge-ports none

the result of this setup is kinda weird, i set the static IP of a virtual machine as 192.168.1.23, and gateway as 192.168.1.1, but the VM can only ping 192.168.1.23, all other IPs under the 192.168.1.0/24 range will result in no route to host.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.