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:
iface lo inet loopback
iface eth0 inet manual
iface wlan0 inet manual
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
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.