Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Changes in dhcpd.conf do not make a difference in DHCP service behaviour Post 303031910 by bakunin on Thursday 7th of March 2019 07:44:41 AM
Old 03-07-2019
Quote:
Originally Posted by ekorgur
I will copy the dhcpd.conf to /etc/dhcp/ directory too and try restarting the dhcpd service.
At this point, to get more qualified help, you might consider telling us a bit more about your environment:

OS + version (of the DHCP server)?
DHCP server software used + version?

Again, where the configuration files can be found depends on the implementation, so don't expect more than generic suggestions as long as you do not provide more specific information.

In general, a daemon will re-read its configuration only if made to do so. The common way of doing so is to send signal 1 (i.e. kill -1 <PID-of-dhcpd>) but maybe your implementation does it differently - again: tell us what you use and we may offer better/less generic help.

Quote:
Originally Posted by ekorgur
I will check it but not much hope as the working ServerX was fine with the file /etc/dhcpd.conf.
We did the modification on this file /etc/dhcpd.conf but no changes on the behaviour as I mentioned in my first entry.
If you hoped for something like press the foo-key three times, turn right, spit over your left shoulder and all is good i have to disappoint you. ;-)) I am, at this point, at the same loss you are and by suggesting whatever comes to my mind as remotely possible i hope to help you to get the right idea eventually.

Quote:
Originally Posted by ekorgur
I didnt get the explanation of why could the server ignore the requests not coming from a defined set of addresses.
For the MAC addresses DISCOVERed in the incoming relayed packet, we have entries in dhcpd.conf and an OFFER should occur.
It is possible to enter rules into the configuration so that "MAC-address X" is always given "IP-address Y (plus other specific information in the DHCP option fields: default route, DNS server, ...)". It is also possible to configure the DHCP server to only answer requests from clients explicitly defined in that way - which implies ignoring all the others. So, provided you have such a setup (and maybe you are not aware of that) and if you did not enter explicit configuration for the new servers it might lead to what you saw. If you have configs for the new systems, this point is also moot.

Another possibility crossed my mind: if you have a firewall between you and the client it might block some of the traffic. This is rather unlikely after what you said as you come across pretty sure the server itself doesn't answer but again: i try to come up with ideas, you have to test them.

Quote:
Originally Posted by ekorgur
Thanks a lot for your time by the way
You are welcome. If - once you found the solution - tell us what it was and how you resolved to problem we all have learned something and we have to in fact thank you for making us wiser.

I hope this helps.

bakunin

Last edited by bakunin; 03-08-2019 at 02:36 AM.. Reason: typo
 

10 More Discussions You Might Find Interesting

1. Linux

dhcpd.conf

I have intall a REdhat 9.0 as a server and Ive configure to act as a DHCP however Im having technical problems b/c the file /etc/dhcpd.conf does not exists. I went to the text edit and I created : subnet 192.192.168.100.0 netmask 255.255.255.0 { range 192.168.100.10 192.168.100.150;... (1 Reply)
Discussion started by: keliy1
1 Replies

2. Solaris

DHCP Service

Thanks for reply , i realy love using unix ... is there anyone who can give me an instruction to configure DHCP Server in Sun Solaris 10 just a quick guide .. i know how to configure DHCP Server in Windows operating System ..But i want also learn how to configure it from the SUN SOLARIS 10...... (6 Replies)
Discussion started by: giancarlodjabon
6 Replies

3. Shell Programming and Scripting

Shell/Perl Script to edit dhcpd.conf

Hi, I need to get a script together to edit the dhcp service configuration file dhcpd.conf. Mac addresses are defined in classes ex. class "HOST1" { match if substring (hardware, 1,18)=00:11:11:FF:FF:FF;} class "HOST2" ... class "HOST3" ... ... followed by allow or deny statements:... (4 Replies)
Discussion started by: sahilb
4 Replies

4. Linux

dhcpd.conf - static route

Hi, I've setup DHCP Server on RH linux AS3 and everything works fine except static routes. They are not getting effected on client systems. My dhcpd.conf: +++++++++++ ddns-update-style interim; ddns-updates off; option domain-name-servers 192.168.116.122; option domain-name... (3 Replies)
Discussion started by: prvnrk
3 Replies

5. Shell Programming and Scripting

delete dhcp.conf entry using sed

I am trying to use sed to remove entries from my dhcpd.conf file. The form of the file is: host foo { option 1 option 2 } host bar { option 1 option 2 } I was trying to use a label like: sed -e :a -e "s/^host bar {*//g;/{/N;//ba" /etc/dhcpd.conf... (2 Replies)
Discussion started by: tizatron
2 Replies

6. Solaris

Solaris Install over WAN(where to keep wanboot.conf file for DHCP client)

I am trying to configure my jumpstart server to install Solaris 10 on a T1000 machine(target) over WAN. I do not know the IP address of the client, i wish the client to get the IP address from DHCP. how do i configure my /etc/netboot hierarchy. One option would be to keep the wanboot.conf in... (1 Reply)
Discussion started by: hemalsid
1 Replies

7. UNIX for Dummies Questions & Answers

Difference between configure/make/make install.

Hi, While installation of apache on linux, we perform the below tasks. 1) Untar 2) configure 3) make 4) make install. I wanted to understand the difference and working of configure/make/make install. Can any one help me understanding this? Thanks in advance. (1 Reply)
Discussion started by: praveen_b744
1 Replies

8. Shell Programming and Scripting

Help with Perl to change dhcpd.conf file

Hi all, I am too new for this stuff and i am lost in perl tutorials. I need help to change dhcp entries in .conf file with a perl script. The file entries are like below : host bertha-clp-0 { hardware ethernet AA:0A:A0:00:6c:40; fixed-address 10.10.10.72; option... (6 Replies)
Discussion started by: ekckabatop
6 Replies

9. Shell Programming and Scripting

Shell Script to check dhcp conf file

Hi, I have to prepare a script to check the dhcp conf file. The script has to check for a specific parameter called circuit ID. If the Circuit ID is unique it should show the output that it is unique and if it is duplicate it should show that the Circuit ID is duplicate. I have prepared the... (4 Replies)
Discussion started by: Crazy_Nix
4 Replies

10. Shell Programming and Scripting

Listing IPs from the dhcpd.conf

Hy everybody, Within a dhcpd.conf file, we got some fixed IP adresses from 192.168.0.1 - 192.168.0.254. Sample: #ddns-update-style interim; ddns-update-style none; ignore client-updates; deny client-updates; authoritative; #### By red for PXE Booting allow booting; allow bootp; ###... (17 Replies)
Discussion started by: hermouche
17 Replies
All times are GMT -4. The time now is 11:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy