[CentOS] DHCP static hosts and subnet configuration

John jses27 at gmail.com
Sun Oct 19 15:01:45 UTC 2008


I am not yet sure if we are talking about the same problem, so here is
my current configuration. Unless I add an host definition WITH
fixed-address statement to the 10.2.0.0 subnet, too LaptopWLAN won't
get an IP address within this network range.


JohnStanley Writes:

Marcus, I do not think what your trying to do is going to work. Why?
"failover peer "intra-net"" . You will need a dhcp.master configuration file
on both servers. You running two dhcp servers? Debug with only one server.

Her's my opinion. You need to just  start out with a simple dhcp.conf,
single server and let that be it. On every change you make back it up before
a change to it. Get one laptop and don't use any WiFi Security on itand take
out the keys defined for it in in the dhcp file. You should not need a host
declaration for the laptop if your wantting to get an assigned addy from the
10.2.0.0 range

OK, now while on the laptop topic theres a special decleration you can
provide for an option "option dhcp-server-identifier x.x.x.x;" What this
will accomplish is maybe letting your laptops obtain and address. Certain
Operatting systems can not distinguish between the "SYN" and "ACK" proccess
of a Unix style ddns. Linux/Unix usualy have no problems with it. This can
be seen with something like WireShark or tcp-dump on the network. Using
those two would greatly help solve your problem also. Another note your
failover dhcp server needs to be the same version as the main one

One final note your laptop can be obtaining an address then dropping it
because of RF conectivity issues.




More information about the CentOS mailing list