I want to bridge wlan0 and eth0 to get Internet from wlan0 to eth0 to plug in a switch.
I configured wpa-supplicant and have this interfaces file:
auto lo iface lo inet loopback iface eth0 inet manual auto wlan0 iface wlan0 inet manual auto br0 iface br0 inet static address 192.168.1.5 #ip in wlan0 for Internet netmask 255.255.255.0 #netmask in wlan0 for Internet gateway 192.168.1.1 #gateway in wlan0 for Internet bridge_ports wlan0 eth0 bridge_stp off bridge_maxwait 5 wpa-iface wlan0 wpa-bridge br0 wpa-driver wext wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
It seems not to work. What could be the problem?
Now I know: bridging from wifi to ethernet doesn't work, if the WiFi adapter isn't in host mode because it isn't allowed to send any information with an different MAC address! I thought that's only the problem with bridging from Ethernet to WiFi.