Answer the question
In order to leave comments, you need to log in
How to "shove" wlan0 into a network bridge?
I want to use a bridge in KVM, into which wlan0 is inserted. Well, that is, "shove" virtual machines into the same network as the host machine. network-manager is disabled, and therefore wi-fi is configured manually. But I can't set up the bridge in any way.
My
Ubuntu 16.04 configs on a laptop[email protected]:~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto lan
iface lan inet static
address 192.168.0.150
netmask 255.255.255.0
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
dns-nameservers 192.168.0.1
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid MyWiFi
wpa-ap-scan 1
wpa-proto WPA RSN
wpa-pairwise TKIP CCMP
wpa-group TKIP CCMP
wpa-key-mgmt WPA-PSK
wpa-psk MyWiFiPassword1234
auto wlan0
Answer the question
In order to leave comments, you need to log in
This can be done through the virtual machine manager - virt-manager.
Well, or create a bridge and pair it with the real network interface of the subnet you want.
Config example: enp3s0 - real interface, br1 - bridge.
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto br1
iface br1 inet dhcp
bridge_ports enp3s0
bridge_stp off
bridge_fd 0.0
dns-search blabla.ru
dns-search blabla.ru
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question