I have my primary router running ubuntu, which has been working fine for my basically very tiny large-scale setup (if that makes any sense at all). I got a handful of extra soho routers which I decided I would setup near a couple of wired workstations and configure them to extend the wireless network.
Note in advance: security is not paramount. WEP is sufficient for my purposes.
I set up all the soho routers to use the same ssid and security settings as the main router, and turned off the DHCP server option on all of them, plugged them in and everything seemed to work exactly as expected. So I got back on my laptop and walked into the room where the main router is and the connection "dropped" (laptop is running Windows XP).
The issue: on the main router, I have dhcp configured so wireless users are in 192.168.3.0/24 and wired are in 192.168.2.0/24 . Since all the soho routers are "wired", wireless clients connecting through those AP's get a "wired" IP. When the client moves to the range of the main router, it needs a new IP, thus breaking the connection for 10 seconds or so as Windows goes through the dhcp process again.
How do I go about configuring the wireless and wired devices on my main router to use the same dhcp range?
dhcdp.conf
subnet 192.168.2.0 netmask 255.255.255.0 {
min-lease-time 360;
default-lease-time 86400;
max-lease-time 604800;
range 192.168.2.10 192.168.2.200;
option routers 192.168.2.1;
option domain-name-servers 192.168.0.1;
authoritative;
}
subnet 192.168.3.0 netmask 255.255.255.0 {
min-lease-time 360;
default-lease-time 86400;
max-lease-time 604800;
range 192.168.3.10 192.168.3.200;
option routers 192.168.3.1;
option domain-name-servers 192.168.0.1;
authoritative;
}
/etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
# WAN connection
auto eth1
iface eth1 inet dhcp
# LAN connection
iface eth2 inet static
address 192.168.2.1
netmask 255.255.255.0
# WLAN connection
auto ath0
iface ath0 inet static
address 192.168.3.1
netmask 255.255.255.0
up iwconfig ath0 mode Master && iwconfig ath0 essid "shadow-ubuntu" && iwconfig ath0 key *********
auto eth2