cooljimwhy |
10-18-2006 02:18 PM |
dhcpd non-sequential client lease
As stupid as it may sound, I'm really, really confused as to why dhcpd will lease out IPs non-sequentially.
Here is my .conf:
Code:
# Set DHCPD to answer requests on the wireless interface
DHCPDARGS=wlan0;
# Set some defaults for lease time and DNS update method
ddns-update-style ad-hoc;
default-lease-time 600;
max-lease-time 7200;
# Set the subnet mask for the wireless IP network
option subnet-mask 255.255.255.0;
# Set the Broadcast address. This will be 10.x.x.255,
# the "x.x" will depend upon the network assigned to you by NZWireless.
option broadcast-address 10.0.0.255;
# Set the router address, this will be 10.x.x.1, the address
# of your wireless interface WLAN0
option routers 10.0.0.1;
# Set the Name Server address. This will be the same as your WLAN0 address
# because we intend to run DNS on this machine.
option domain-name-servers 10.0.0.1;
# Allocate a network range for dynamic IP addresses to hand out to clients.
# Again, this range will be in 10.x.x.x, depending upon the network
# allocated
# to you by your wireless administrator.
subnet 10.0.0.0 netmask 255.255.255.0 {
range 10.0.0.100 10.0.0.254;
}
It doesn't make sense. Obviously I'm doing the homemade AP (which, by the way is a wonderfully written tutorial on here) and I have about five clients. Each time they connect, the numbers are really out of sequence from one another.
I thought
Code:
subnet 10.0.0.0 netmask 255.255.255.0 {
range 10.0.0.100 10.0.0.254;}
that by default the leases would count up from .100.
Anyway, thank you to whomever replies.
Jim
|