LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 06-18-2009, 01:50 AM   #1
shellarchive
Member
 
Registered: Jan 2007
Posts: 50

Rep: Reputation: 15
Dhcp server reporting bogus mac id while binding.


i am using using Red Hat Enterprise Linux ES release 3 (Taroon)
dhcp server ver: dhcp-3.0pl2-6.14
i am trying to bind macid 00-21-6B-A1-C9-4C & 00-15-00-1D-AD-57;
but it give

when i start dhcp service, i get the following error messages.
i am sure macid are absolutely correct.
following the error message i get.

Starting dhcpd: Internet Software Consortium DHCP Server V3.0pl2
Copyright 1995-2003 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
/etc/dhcpd.conf line 2196: Bogus number: 00-21-6B-A1-C9-4C.
hardware ethernet 00-21-6B-A1-C9-4C;
^
Configuration file errors encountered -- exiting

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting.


same messages is in output of /var/log/messages.


Please help
 
Old 06-18-2009, 08:45 PM   #2
rayfordj
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 488

Rep: Reputation: 78
I believe it needs to be colon delimited instead of dash.

example:
Code:
 host example {
                hardware ethernet 0f:1e:2d:3c:4b:5a;
                fixed-address 192.168.354.127;
        }
failing that, please post your dhcpd.conf (or at least the pertinent parts) in code tags in this thread for review.

 
Old 06-18-2009, 09:31 PM   #3
shellarchive
Member
 
Registered: Jan 2007
Posts: 50

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rayfordj View Post
I believe it needs to be colon delimited instead of dash.

example:
Code:
 host example {
                hardware ethernet 0f:1e:2d:3c:4b:5a;
                fixed-address 192.168.354.127;
        }
failing that, please post your dhcpd.conf (or at least the pertinent parts) in code tags in this thread for review.


----------
dhcpd.conf
----------
subnet 10.57.28.0 netmask 255.255.254.0 {
range 10.57.28.26 10.57.28.254;
option routers 10.57.28.1;
option subnet-mask 255.255.254.0;
option domain-name "india.airtel.itm";
option domain-name-servers 10.56.40.15,10.56.40.16;
option time-offset -18000;
default-lease-time 2160000;
max-lease-time 4320000;
# we want the nameserver to appear at a fixed address


host DDYMK1BS2{
hardware ethernet 00:15:00:1D:AD:57;
fixed-address 10.57.28.101;
}

host th_dth_rahulra{
hardware ethernet 00-21-6B-A1-C9-4C;
fixed-address 10.57.28.100;
}
 
Old 06-19-2009, 02:07 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,361

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Like rayfordj said, use colons ':' not dashes '-'. See http://www.linuxtopia.org/online_boo...ml#config-file
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MAC with IP binding in squid Proxy saas Linux - Newbie 4 01-02-2009 10:57 AM
Exclude a mac Address in Dhcp server alnmostafa Linux - Networking 3 12-30-2006 09:20 AM
Configure DHCP server to assign IP using mac addr mayaLinux Linux - Networking 4 12-07-2005 05:00 PM
DHCP server with MAC authentication on different V-LAN'S wesleywestervel Linux - Networking 1 03-24-2005 12:17 PM
ISC DHCP Server MAC Address dlucas10 Linux - Networking 1 05-25-2004 05:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration