2 networks to 2 bridges

thetux

New Member
Dec 11, 2021
3
0
1
37
hello,
i would like 2 network ( 192.168.10.1/24 and 192.168.1.1/24 at 2 bridge)
on with wifi card and on with wire card
1639243634095.png

but it donc work :(
there is my interface config

Code:
auto lo
iface lo inet loopback

iface enp3s0 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.10.240/24
        gateway 192.168.10.1
        bridge-ports enp3s0
        bridge-stp off
        bridge-fd 0

allow-hotplug wlp2s0
iface wlp2s0 inet manual
        wpa-conf managed
        wpa-ap-scan 1
        wpa-scan-ssid 1
        wpa-essid *****
        wpa-psk ******

auto vmbr1
iface vmbr1 inet static
        address 192.168.1.240/24
        gateway 192.168.1.1
        bridge-ports wlp2s0
        bridge-stp off
        bridge-fd 0

and iwconfig result:

Code:
lo        no wireless extensions.

enp3s0    no wireless extensions.

wlp2s0    IEEE 802.11  ESSID:"ChezNous"
          Mode:Managed  Frequency:2.462 GHz  Access Point: A4:3E:51:C5:3B:76
          Bit Rate=1 Mb/s   Tx-Power=20 dBm
          Retry short limit:7   RTS thrff   Fragment thrff
          Encryption keyff
          Power Managementn
          Link Quality=70/70  Signal level=-27 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

vmbr0     no wireless extensions.

vmbr1     no wireless extensions.

but ip 192.168.1.40 isn't ping :(

can you help me ?
thank you
 
Last edited:
ok thank you i check this but i don't understand :(
it's possible you can made me an exemple of configuration for what i want ?
thank you
 
Your wifi chipset is lacking the features a ethernet NIC would have. You basically can't attach that wifi interface to a bridge so you need to use a complicated routed/nat network setup so you don't need to attach that wifi interface to the bridge (because your PVE host will then route between the wifi interface and that bridge which are n'T directly connected that way) or you need to buy a second NIC and use that instead of the wifi.
 
Last edited:
Ok :-( and with this nat, it’s possible to have two ip ?
If yes have you an exemple or a page that deals with this subject?
 
Last edited:
Yes. Look at the NAT on the wiki for an example. You bascially need to setup your PVE host to work as a router/firewall so everything outside your PVE host will send stuff to a WAN IP on your host, your bridge and guests got another private subnet range and then PVE will need to NAT/route between these WAN and LAN subnets. If you got no experience with routing/NAT it might be easier, more secure and more reliable to just get a cheap USB/PCIe NIC if you only want to use wifi because your board doesn't got a buildin second NIC.
 
Last edited:
Yes. Look at the NAT on the wiki for an example. You bascially need to setup your PVE host to work as a router/firewall so everything outside your PVE host will send stuff to a WAN IP on your host, your bridge and guests got another private subnet range and then PVE will need to NAT/route between these WAN and LAN subnets. If you got no experience with routing/NAT it might be easier, more secure and more reliable to just get a cheap USB/PCIe NIC if you only want to use wifi because your board doesn't got a buildin second NIC.
Can you show me your etc/network/interfaces with NAT? it seems like I'm having the same problem as op when I followed that guide for NAT.
 

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!