DHCP/PXE configuration problem[URGENT]
Hi
I need to setup dhcp server on my opensuse 10.3. # /etc/dhcpd.conf default-lease-time 600; max-lease-time 7200; ddns-update-style none; ddns-updates off; allow booting; class "pxe" { match if substring(option vendor-class-identifier,0,9)="PXEClient"; } class "etherboot" { match if substring(option vendor-class-identifier,0,9)="Etherboot"; } # Subnet for PXE boot installation subnet 192.168.0.0 netmask 255.255.255.0 { option broadcast-address 192.168.0.255; pool { range 192.168.0.202 192.168.0.203; default-lease-time 180; max-lease-time 360; server-name "192.168.0.103"; # IP of DHCP server means own IP allow members of "pxe"; allow members of "etherboot"; } } host # rcdhcpd restart My host is cramiping showing following error Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file Wrote 0 leases to leases file. No subnet declaration for “eth0” (0.0.0.0). ** Ignoring requests on “eth0”. If this is not what you want, please write a subnet declaration in your dhcpd.conf file for the network segment to which interface “eth0” is attached. ** Not configured to listen on any interfaces! Anybody has idea what's going wrong ? Thanks in advance Pranav |
please do not mark threads as urgent. This is a voluntary forum and it is not urgent for our members who kindly donate their time to help others.
|
Have you given any network interfaces the IP address 192.168.1.1 for example so the dhcpd knows which interface to listen?
|
regarding the input of Zmyrgel
The option is missing if you server has more then one Nic: server-identifier looks like this: Code:
server-identifier 192.168.0.2; |
Hi,
This is Mohammed Dadapeer.i am Working on Redhat v6.6.Please give me the details to install the linux v6.6 with minimum drive partitions. And DHCP Configuration commands. THANKING YOU. REGARDS MOHAMMED. |
@dadapeer.md please open a new thread or can you tell us what this post hast to do with DHCP/PXE configuration problem and OpenSuse ?
|
error still persists
Thanks for the reply(@Zmyrgel and @odcheck)
I have tried DHCPARGS with eth0 as well as network interface with ip but problem still persists. Any more ideas. Pranav |
Are you sure that dhcpd service is started?
And Do you really only want a DHCP Server nothing else? If so then backup this dhcpd.conf in /etc and replace it with the one .../share/doc/dhc****/dhcpd.sample.conf change the values within it and then you've got a working config. Next step check with chkconfig --list dhcpd if the DHCPD Server Daemon is startet in Runlevel 235 if not do a chkconfig -level 235 dhcpd on and then /etc/init.d/dhcpd start Cause in Your config shown above it looks like you want to tread it like a pxe / tftp server without the tftp kernel files... |
All times are GMT -5. The time now is 08:20 AM. |