On 02/26/2013 02:46 PM, Curt Lundgren wrote:
Ah, CentOS country here, and yes, a different path: /etc/dhcpd.conf
Some snippets from our current file:
ddns-update-style none;
default-lease-time 3600;
max-lease-time 7200;
option domain-name "some-domain.com <http://some-domain.com>";
deny client-updates;
allow bootp;
authoritative;
# Some Net
subnet 10.10.10.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option routers 10.10.10.254;
option broadcast-address 10.10.10.255;
option domain-name-servers 10.10.10.10, 10.10.10.11;
option ntp-servers 10.10.10.10, 10.10.10.11;
range 10.10.10.50 10.10.10.99;
# Some fine device
host some-fine-device {
hardware ethernet 00:30:C4:5F:AB:40;
fixed-address 10.10.10.8;
}
}
You may have as many subnets as you wish. Again, given the CentOS/RHEL
layout, /etc/sysconfig/dhcpd
DHCPDARGS=" eth0 eth1 eth2 eth3 eth4 eth5";
If you have more than one VLAN, as we do, the above file lets DHCPD know
which interfaces will be used.
Curt
Thank you kind sir. Now I need one more data point :) When I try to
confirm that "some-fine-device" got 10.10.10.8 as an IP address, I go
looking in /var/lib/dhcp3/dhcpd.leases and I do not see 10.10.10.8. I
am able to ping 10.10.10.8 and it shows up in arp -na. Just trying to
understand the complete behavior.
Howard
--
--
You received this message because you are subscribed to the Google Groups
"NLUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nlug-talk?hl=en
---
You received this message because you are subscribed to the Google Groups "NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.