Henning Follmann wrote:
> Pol Hallen wrote:
> > eth0 --> 192.168.1.0/24 ip 192.168.1.2
> > wlan0 (with hostapd) --> 192.168.1.0/24 ip 192.168.1.3
> 
> iface br0 inet static
>   bridge_ports eth0 wlan0
>   address 192.168.1.2
>   netmask 255.255.255.0
>   gateway 192.168.1.1

If you previously had a DHCP daemon running on wlan0 (with hostapd)
then you should disable it when switching to a bridging configuration.
With the wifi bridged to the wired lan the dhcp requests will be
serviced by the dhcp server on the wired lan.  Otherwise you might
continue to be giving out 192.168.2.0/24 addresses from the previous
configuration.

Bob

Attachment: signature.asc
Description: Digital signature

Reply via email to