LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-13-2003, 01:12 AM   #1
b26_1999
LQ Newbie
 
Registered: Mar 2003
Posts: 2

Rep: Reputation: 0
Please help with dhcpd


dhcpd through Relay Agent was configured once, one iface eth0 10.12.249.7/24 addresses for subnet 10.12.253.0
Here is /etc/dhcpd.conf it was not saved
###################################
ddns-updat e-style none;
shared-network ALL {
options ...
subnet 10.12.253.0 netmask 255.255.255.0 {
range 10.12.253.1 10.12.253.254;
}
}
#########################################
This configuration was working until another subnet was added 10.12.254.0 /etc/dhcpd.conf now looks like this:
#########################################
ddns-upda te-style none;
shared-network ALL {
subnet 10.12.253.0 netmask 255.255.255.0 {
range 10.12.253.1 10.12.253.254;
}
subnet 10.12.254.0 netmask 255.255.255.0 {
range 10.12.254.1 10.12.254.254;
}
}
#########################################
dhcpd cannot ba started:
No subnet declaration for eth0...
Please advise
 
Old 04-01-2003, 03:06 PM   #2
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
Is the netmask for eth0 255.255.0.0?
 
Old 04-01-2003, 04:02 PM   #3
bahamat
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 158

Rep: Reputation: 30
Um, the options you've cliped out of the first one may be of some importance.

I know for sure that the line
options ...
won't work.
 
Old 04-02-2003, 02:20 AM   #4
b26_1999
LQ Newbie
 
Registered: Mar 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks everybody it's solved. Local subnet also should be declared
 
  


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
dhcpd subnet declaration problems in dhcpd.conf vcrispo Linux - Networking 6 07-15-2005 10:32 AM
dhcpd blackzone Linux - Networking 1 12-21-2004 09:41 AM
DHCPD startup failure, mdk 9.2, dhcpd v3.0.1rc11 fuzzyworm Linux - Networking 1 02-14-2004 03:58 AM
Dhcpd??? eXor Linux - Networking 6 10-18-2002 04:17 AM
dhcpd.master or dhcpd.conf rickg Linux - Networking 0 04-11-2002 03:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:32 PM.

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