DHCP Problem With PXE
May 24, 2008
I'm currently working on a little project to get a rescue image loaded through PXE. It shouldn't be that difficult, but personally I don't really work with DHCP (obviously we usually just use static IPs), and DHCP is required for PXE.
I've setup the PXE host server and it's also running DHCPd without errors. This is the configuration of dhcpd.conf:
Code:
ddns-update-style ad-hoc;
option subnet-mask 255.255.255.0;
option domain-name-servers x.x.x.37;
subnet x.x.x.0 netmask 255.255.255.0 {
range x.x.x.155 x.x.x.159;
option broadcast-address x.x.x.255;
option routers x.x.x.1;
next-server x.x.x.153;
filename "pxelinux.0";
max-lease-time 100;
default-lease-time 100;
}
(I have replaced the first three numbers of the IPs with x.x.x for privacy reasons)
That configuration seems fine.. Now the problem is that when I try to get a server to boot with PXE, after a minute or so, it reports that it hasn't received any DHCP offers.
Some side information: both the host and client server are on the same network, but not on the same switch though. I guess that shouldn't matter, or does it?
View 5 Replies
Apr 5, 2009
for a project i'm setting up a WDS server for rapid deployment of Windows 2008 servers.
The information regarding WDS and automated deployments is clear for me.
The only, and probably biggest problem is how to configure the linux dhcp/pxe server to able to boot an image from the WDS to start the installation.
Unfortunately I haven't found much information about it.
I hope some one here can push me in the right direction.
View 1 Replies
View Related
Jul 17, 2007
I follow instruction from redhat to setup my Centos acts like a router. When i setup the dhcp server, at the end when i start the dhcp, it keeps getting me the failed error. So i believe that i need to use 'touch' command for first time start dhcp server but seem that no such file or directory for dhcpd.leases.
Quote:
[root@localhost dhcp-3.0.5]# touch /var/lib/dhcp/dhcpd.leases
touch: cannot touch `/var/lib/dhcp/dhcpd.leases': No such file or directory
View 3 Replies
View Related
Nov 19, 2008
I'm using XEN to setup my VPS. The installation have no problem for the first two server. On the 3rd server, I install using DHCP IP and it's ok.The problem is when I change the DHCP IP to static IP .
Using Centos 5.2, I'm using vi to edit /etc/sysconfig/network-scripts/ifcfg-eth0
and restart the network service network restart, the IP change, but outside or other static IP VPS network can't ping to this server.
I've tried to change the /etc/xen/the-host-config to include the IP . the results is still the same. Is there some script or way I can use to bridge this new 3rd server to the Xen host ant other network?
* I've restart the Xen server.
View 8 Replies
View Related
May 28, 2013
I have apache installed on a box with 2 nics. I've seen how to force the listener to an IP, but the issue is that this box uses DHCP. Is it possible to lock the listener to a network/subnet or to a specific NIC?
View 2 Replies
View Related