Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bridged wifi Access for kvm vm's
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1290

PostPosted: Fri Dec 20, 2024 10:06 am    Post subject: Bridged wifi Access for kvm vm's Reply with quote

Hi All,

I am testing debian based ProxMox as Hypervisor and its looking quite promising. Our company has a requirement, that the vms use bridget network and no nat. That works fine with wired nic connection - particularly because with the following entry in the network settings, it enables usint eap-tls certificates to distinguish in which vlans the vms are routed.

Code:
post-up echo 8 > /sys/class/net/vmbr0/bridge/group_fwd_mask


My goal is to successfully establish networking through a bridge for the vms which is connected to the wifi nic of the host; in proxmox forum they told me that it is possible, but difficult as the problem is, the vm sends packets through the bridge but the access point, did not negotiate its ssid and password with the vm but only with the host, thus the vm is an unknown entity and those packets will probably be rejected.

They also mentioned it should be possible anyway but is rather complicated. a) by connman or b) by rewriting the packages so that they seem to come from the host.

Can anyone point me to the right direction on to how this could be achieved? (Either way - via connman or via rewriting packets)
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3928

PostPosted: Sat Dec 21, 2024 4:17 pm    Post subject: Reply with quote

You can try with NetworkManager.
Code:

nmcli con add ifname br0 type bridge con-name br0
nmcli con add type bridge-slave ifname wlan0 master br0
nmcli con mod br0 ipv4.address <ip/cidr> ipv4.gateway <router-ip> ipv4.dns  <preferred dns> ipv4.method.manual

Maybe NM can bridge wifi.just check it out.
_________________
:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum