Article

noneal's picture
article
Reads:

7200

Score:
0
0
 
Comments:

1

Loading DHCPD on OES2 Linux - "Error - "No Subnet Declaration for eth1"

(View Disclaimer)

DHCP Services running on OES2 Linux.

Overview

Ok, here was my scenario and I have seen this twice now. I am basically recreating the DHCP Wheel sending everything to OES2 Linux via iManager 2.7. Keep in mind, we did not migrate the existing settings as it has been years. We took the opportunity to start fresh. Once the config was complete, subnets, pools, options etc, when I start dhcpd I get an error about "No Subnet Declaration for eth1".

Here is what you need to do:

edit your /etc/dhcpd.conf

at the very bottom of the small config file, place your subnet declaration like this: see the bottom line... The subnet declaration is the subnet where the server itself resides.

authoritative;
ldap-server "10.2.1.10";
ldap-port 389;
ldap-ssl off;
ldap-base-dn "ou=dnsdhcp,o=myOrg";
ldap-method static;
ldap-debug-file "/var/log/dhcp-ldap-startup.log";
ldap-dhcp-server-cn "DHCP_ins1";
ldap-referrals on;
subnet 10.2.1.0 netmask 255.255.255.0 {}

(I share this because I could not find anything online however I chatted with Novell Backline Support and they helped us. It is something about this server serving multiple subnets. I hope this makes since. If not, send me an email @ noneal@nteg.net. Thanks.)

________________________

Norm O'Neal
Novell Users Group of Indiana (NUGI)
Serving "One Community"


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

bbendily's picture

it says right there in the default dhcpd.conf file:

Submitted by bbendily on 3 August 2009 - 2:02pm.

"# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.

subnet 10.152.187.0 netmask 255.255.255.0 {
}"

© 2013 Novell