Hi im trying to configure centos to run as a dhcpd daemon but it simply doesnt work
I'm using the default configuration file from dhcdp (and tried multiple alternatives).
problem is that pxe clients do not aquire dhcp addresses in the log i can see that there are 3 or 4 dhcp offers per boot atempt but no dhcp requests
anyone?
i'm going crazy here... .i've tryed 3 diferent machines (servers) and 4 or 5 diferent clients sometimes windows clients are able to catch the ip but only sometimes.
maybe this is a route problem?
the machine(s) was freshly installed with centos 4.3
please advise!
sorry... i've finaly figured out dhcpd needs a working dns server or entries in the hosts file
no comments.
_____
From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Daniel Teixeira Sent: sexta-feira, 24 de Novembro de 2006 19:04 To: 'CentOS mailing list' Subject: [CentOS] dhcpd
Hi im trying to configure centos to run as a dhcpd daemon but it simply doesnt work
I'm using the default configuration file from dhcdp (and tried multiple alternatives).
problem is that pxe clients do not aquire dhcp addresses in the log i can see that there are 3 or 4 dhcp offers per boot atempt but no dhcp requests
anyone?
i'm going crazy here... .i've tryed 3 diferent machines (servers) and 4 or 5 diferent clients sometimes windows clients are able to catch the ip but only sometimes.
maybe this is a route problem?
the machine(s) was freshly installed with centos 4.3
please advise!
sorry but this is really strange
my dhcpd daemon only works sometimes!!!!!!
the problem is the same as before dhcpoffer is beeing sent but with no further actions
--------------my dhcpd.conf:
ddns-update-style ad-hoc;
option subnet-mask 255.255.0.0; option broadcast-address 10.0.255.255; option routers 10.0.150.100; option domain-name-servers 10.0.150.100; option domain-name "domain.lan"; option option-128 code 128 = string; option option-129 code 129 = text;
get-lease-hostnames true;
next-server 10.0.150.100; option root-path "10.0.150.100:/opt/ltsp/i386";
subnet 10.0.150.0 netmask 255.255.255.0 { range 10.0.150.200 10.0.150.254; if substring (option vendor-class-identifier, 0, 9) = "PXEClient" { filename "/lts/2.6.16.1-ltsp-1/pxelinux.0"; } else{ filename "/lts/vmlinuz-2.6.16.1-ltsp-1"; }
host teste { hardware ethernet 44:4d:50:e1:25:a9; fixed-address 10.0.150.234; }
----------ifcfg-eth0:
DEVICE=eth0 BOOTPROTO=none BROADCAST=10.0.255.255 HWADDR=00:04:76:28:95:AB IPADDR=10.0.150.100 NETMASK=255.255.0.0 NETWORK=10.0.0.0 ONBOOT=yes TYPE=Ethernet USERCTL=no IPV6INIT=no PEERDNS=yes GATEWAY=10.0.0.1
---------route Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.0.0 * 255.255.0.0 U 0 0 0 eth0
PLEASE Help ! :-(
_____
From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Daniel Teixeira Sent: sexta-feira, 24 de Novembro de 2006 19:04 To: 'CentOS mailing list' Subject: [CentOS] dhcpd
Hi im trying to configure centos to run as a dhcpd daemon but it simply doesnt work
I'm using the default configuration file from dhcdp (and tried multiple alternatives).
problem is that pxe clients do not aquire dhcp addresses in the log i can see that there are 3 or 4 dhcp offers per boot atempt but no dhcp requests
anyone?
i'm going crazy here... .i've tryed 3 diferent machines (servers) and 4 or 5 diferent clients sometimes windows clients are able to catch the ip but only sometimes.
maybe this is a route problem?
the machine(s) was freshly installed with centos 4.3
please advise!
my dhcpd daemon only works sometimes!!!!!!
It smells like you need an authoritative statement for your dhcpd.conf.
This is done by adding the following to the top of your dhcpd.conf:
authoritative;
Just tried that I've also tried a yum update Nothing seems to work!
Any ideas???
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Jim Perrin Sent: sexta-feira, 24 de Novembro de 2006 21:58 To: CentOS mailing list Subject: Re: [CentOS] dhcpd
my dhcpd daemon only works sometimes!!!!!!
It smells like you need an authoritative statement for your dhcpd.conf.
This is done by adding the following to the top of your dhcpd.conf:
authoritative;
-- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Daniel Teixeira spake the following on 11/24/2006 1:27 PM:
sorry but this is really strange
my dhcpd daemon only works sometimes!!!!!!
the problem is the same as before dhcpoffer is beeing sent but with no further actions
--------------my dhcpd.conf:
ddns-update-style ad-hoc;
option subnet-mask 255.255.0.0; option broadcast-address 10.0.255.255; option routers 10.0.150.100; option domain-name-servers 10.0.150.100; option domain-name "domain.lan"; option option-128 code 128 = string; option option-129 code 129 = text;
get-lease-hostnames true;
next-server 10.0.150.100; option root-path "10.0.150.100:/opt/ltsp/i386";
subnet 10.0.150.0 netmask 255.255.255.0 { range 10.0.150.200 10.0.150.254; if substring (option vendor-class-identifier, 0, 9) = "PXEClient" { filename "/lts/2.6.16.1-ltsp-1/pxelinux.0"; } else{ filename "/lts/vmlinuz-2.6.16.1-ltsp-1"; }
host teste { hardware ethernet 44:4d:50:e1:25:a9; fixed-address 10.0.150.234; } ----------ifcfg-eth0:
DEVICE=eth0 BOOTPROTO=none BROADCAST=10.0.255.255 HWADDR=00:04:76:28:95:AB IPADDR=10.0.150.100 NETMASK=255.255.0.0 NETWORK=10.0.0.0 ONBOOT=yes TYPE=Ethernet USERCTL=no IPV6INIT=no PEERDNS=yes GATEWAY=10.0.0.1
---------route Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.0.0 * 255.255.0.0 U 0 0 0 eth0
PLEASE Help ! :-(
*From:* centos-bounces@centos.org [mailto:centos-bounces@centos.org] *On Behalf Of *Daniel Teixeira *Sent:* sexta-feira, 24 de Novembro de 2006 19:04 *To:* 'CentOS mailing list' *Subject:* [CentOS] dhcpd
Hi im trying to configure centos to run as a dhcpd daemon but it simply doesnt work
I'm using the default configuration file from dhcdp (and tried multiple alternatives).
problem is that pxe clients do not aquire dhcp addresses in the log i can see that there are 3 or 4 dhcp offers per boot atempt but no dhcp requests
anyone?
i'm going crazy here... .i've tryed 3 diferent machines (servers) and 4 or 5 diferent clients sometimes windows clients are able to catch the ip but only sometimes.
maybe this is a route problem?
the machine(s) was freshly installed with centos 4.3
please advise!
I don't think the ad-hoc ddns updates will work without the proper keys for rndc included.
On Fri, 2006-11-24 at 18:22 -0800, Scott Silva wrote:
Daniel Teixeira spake the following on 11/24/2006 1:27 PM:
sorry but this is really strange
my dhcpd daemon only works sometimes!!!!!!
the problem is the same as before dhcpoffer is beeing sent but with no further actions
--------------my dhcpd.conf:
ddns-update-style ad-hoc;
option subnet-mask 255.255.0.0; option broadcast-address 10.0.255.255; option routers 10.0.150.100; option domain-name-servers 10.0.150.100; option domain-name "domain.lan"; option option-128 code 128 = string; option option-129 code 129 = text;
get-lease-hostnames true;
next-server 10.0.150.100; option root-path "10.0.150.100:/opt/ltsp/i386";
subnet 10.0.150.0 netmask 255.255.255.0 { range 10.0.150.200 10.0.150.254; if substring (option vendor-class-identifier, 0, 9) = "PXEClient" { filename "/lts/2.6.16.1-ltsp-1/pxelinux.0"; } else{ filename "/lts/vmlinuz-2.6.16.1-ltsp-1"; }
host teste { hardware ethernet 44:4d:50:e1:25:a9; fixed-address 10.0.150.234; } ----------ifcfg-eth0:
DEVICE=eth0 BOOTPROTO=none BROADCAST=10.0.255.255 HWADDR=00:04:76:28:95:AB IPADDR=10.0.150.100 NETMASK=255.255.0.0 NETWORK=10.0.0.0 ONBOOT=yes TYPE=Ethernet USERCTL=no IPV6INIT=no PEERDNS=yes GATEWAY=10.0.0.1
---------route Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.0.0 * 255.255.0.0 U 0 0 0 eth0
PLEASE Help ! :-(
*From:* centos-bounces@centos.org [mailto:centos-bounces@centos.org] *On Behalf Of *Daniel Teixeira *Sent:* sexta-feira, 24 de Novembro de 2006 19:04 *To:* 'CentOS mailing list' *Subject:* [CentOS] dhcpd
Hi im trying to configure centos to run as a dhcpd daemon but it simply doesnt work
I'm using the default configuration file from dhcdp (and tried multiple alternatives).
problem is that pxe clients do not aquire dhcp addresses in the log i can see that there are 3 or 4 dhcp offers per boot atempt but no dhcp requests
anyone?
i'm going crazy here... .i've tryed 3 diferent machines (servers) and 4 or 5 diferent clients sometimes windows clients are able to catch the ip but only sometimes.
maybe this is a route problem?
the machine(s) was freshly installed with centos 4.3
please advise!
I don't think the ad-hoc ddns updates will work without the proper keys for rndc included.
---- I think it will but it isn't recommended but whether or not an ad-hoc dns entry is created has little to do with dhcpd assigning an address.
The above dhcpd.conf doesn't make sense to me in that you are assigning 'option subnet mask' as a class B 255.255.0.0 and then defining a class C subnet 10.0.150 with 255.255.255.0
I think these need to be the same type of subnets, thus at the top...
option subnet-mask 255.255.255.0 option broadcast-address 10.0.150.255
Craig
On 24/11/06, Daniel Teixeira dteixeira@bitecnica.com wrote:
sorry but this is really strange
my dhcpd daemon only works sometimes!!!!!!
the problem is the same as before dhcpoffer is beeing sent but with no further actions
I'd recommend avoiding RTF/HTML mails to mailing lists, they're generally frowned upon. As is top-posting. Just a friendly prod, I don't mind as-such but I know if irks a lot of people.
Is your problem specific to a particular hardware platform? I've had IBM systems that have caused me all sorts of headaches when Dell kit has been fine and vice versa. Does upping the logging on the TFTPd give you any additional information?
What about the other VTYs when you're netbooting a "client"?
Will.
Hi I've solved my issues with DHCPD.
As I mentioned, I was trying to configure the DHCP server in a clean isolated install, with only one client with a crossover cable. Network and dhcpd configurations where made as if the server was connected to the network, but as i already had another dhcp server....
As soon as i connected this server on the network (on a diferent segment), everything worked just fine!!!
What can be the causes for this? The lack of dns? The gateway? I've tried to configure the gateway as the local machine itself, but with no results.
Thank you for your kind help!
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Will McDonald Sent: segunda-feira, 27 de Novembro de 2006 2:15 To: CentOS mailing list Subject: Re: [CentOS] dhcpd
On 24/11/06, Daniel Teixeira dteixeira@bitecnica.com wrote:
sorry but this is really strange
my dhcpd daemon only works sometimes!!!!!!
the problem is the same as before dhcpoffer is beeing sent but with no further actions
I'd recommend avoiding RTF/HTML mails to mailing lists, they're generally frowned upon. As is top-posting. Just a friendly prod, I don't mind as-such but I know if irks a lot of people.
Is your problem specific to a particular hardware platform? I've had IBM systems that have caused me all sorts of headaches when Dell kit has been fine and vice versa. Does upping the logging on the TFTPd give you any additional information?
What about the other VTYs when you're netbooting a "client"?
Will. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
possible you have some intermitten network issues?
Quoting Daniel Teixeira dteixeira@bitecnica.com:
Hi im trying to configure centos to run as a dhcpd daemon but it simply doesnt work
I'm using the default configuration file from dhcdp (and tried multiple alternatives).
problem is that pxe clients do not aquire dhcp addresses in the log i can see that there are 3 or 4 dhcp offers per boot atempt but no dhcp requests
anyone?
i'm going crazy here... .i've tryed 3 diferent machines (servers) and 4 or 5 diferent clients sometimes windows clients are able to catch the ip but only sometimes.
maybe this is a route problem?
the machine(s) was freshly installed with centos 4.3
please advise!
thanks, -Nathan -http://www.netdigix.net