On Thu, Jun 05, 2014 at 07:01:50PM +0200, Pol Hallen wrote: > Hi all :-) > Easy situation: > > server1: > eth0 --> internet > eth1 --> 192.168.1.0/24 ip 192.168.1.1 > > server2 > > eth0 --> 192.168.1.0/24 ip 192.168.1.2 > wlan0 (with hostapd) --> 192.168.2.0/24 ip 192.168.2.1 > > runs ;-) > > I'd like re-configure like this: > > server1: > eth0 --> internet > eth1 --> 192.168.1.0/24 ip 192.168.1.1 > > server2 > > eth0 --> 192.168.1.0/24 ip 192.168.1.2 > wlan0 (with hostapd) --> 192.168.1.0/24 ip 192.168.1.3 > > and all clients that connect to hostapd (via dhcpd) having > 192.168.1.0/24 network > > how I put wlan0 of server2 to 192.168.1.0/24? > > thanks for help! > > Pol >
On server 2 /etc/network/interfaces auto br0 allow-hotplug eth0 iface eth0 inet manual allow-hotplug wlan0 iface wlan0 inet manual iface br0 inet static bridge_ports eth0 wlan0 address 192.168.1.2 netmask 255.255.255.0 gateway 192.168.1.1 you may want to check https://wiki.debian.org/WiFi/HowToUse on how to setup your wireless securely -H -- Henning Follmann | hfollm...@itcfollmann.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140605174210.gb24...@newton.itcfollmann.com