Corrupt dhcpd.conf file

Ausmus, Matt mausmus at chapman.edu
Wed Jan 6 19:45:26 UTC 2010


Some specifics first.  The current machine that I've had the problem on
is running CentOS 5.4 and dhcp-3.0.5-21.  The problem relates to IP
information that is received by Nortel IP phones.  The first one was
running CentOS 5.2, I believe.  The dhcp server has multiple tagged vlan
interfaces on them and dhcp is being served for each interface.

 

I've had this issue twice now.  I built the dhcpd.conf file on a Windows
workstation using Notepad++.  I don't remember if I used Notepad++ or
gVim on the first file.  When the phone request a dhcp address it is
getting a default route from a different subnet.  When I plug a regular
workstation (in this case Windows XP) in, it receives the correct
default route information.  This would lead me to think that the phones
are doing something wrong.  The problem is that if I build a new
dhcpd.conf file locally on the server or pull one off another Linux box
and then modify the file natively in Linux the problem goes away.  All I
can think is that there is some type of hidden data left in the file
from editing it in a text editor in Windows that is not removed when I
run dos2unix against the file.   Using vim with :set list enabled, I
compared the working file and the bad file to see if anything looked out
of place and I didn't see anything wrong.   I also looked at the file
using od -c and I didn't see anything that looked out of place.

 

Has seen an issue like this before?  Any suggestions on where I should
look next?  I just want to figure out what happened so I can make sure
it doesn't happen again.

 

Thanks.

 

____________________________

Matt Ausmus

Network Administrator

Chapman University

635 West Palm Street

Orange, CA  92868

(714)628-2738

mausmus at chapman.edu <mailto:mausmus at chapman.edu> 

 

"Man will occasionally stumble over the truth, but most of the time he
will pick himself up and continue on."

            - Churchill's Commentary on Man

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20100106/c85e263c/attachment.html>


More information about the dhcp-users mailing list