Running new dhcpd instance on same physical interface

Dario Aguilar daguilar at arnet.net.ar
Wed Mar 11 18:06:11 UTC 2009


Hi there, I trying to run a new instance of dhcpd on the same physical
interface but with a different IP Address (on the same subnet/vlan, Eg.: 1st
instance IP = 192.168.0.1/24 and 2nd instance IP= 192.168.0.2/24) and with a
new sub-interface. Of course I´ve change conf. files, pid-file name, leases
DB, etc... But I receive this error message when I start the daemon on the
sub-interface eth1:1 --->

 

Mar 11 12:19:00 dhcp-server dhcpd: ** Ignoring requests on eth1:1.  If this
is not what

Mar 11 12:19:00 dhcp-server dhcpd: No subnet declaration for eth1:1 (no IPv4
addresses).

Mar 11 12:19:00 dhcp-server dhcpd:    you want, please write a subnet
declaration

Mar 11 12:19:00 dhcp-server dhcpd: ** Ignoring requests on eth1:1.  If this
is not what

Mar 11 12:19:00 dhcp-server dhcpd:    in your dhcpd.conf file for the
network segment

Mar 11 12:19:00 dhcp-server dhcpd:    you want, please write a subnet
declaration

Mar 11 12:19:00 dhcp-server dhcpd:    to which interface eth1:1 is attached.
**

Mar 11 12:19:00 dhcp-server dhcpd:    in your dhcpd.conf file for the
network segment

Mar 11 12:19:00 dhcp-server dhcpd: 

Mar 11 12:19:00 dhcp-server dhcpd:    to which interface eth1:1 is attached.
**

Mar 11 12:19:00 dhcp-server dhcpd: 

Mar 11 12:19:00 dhcp-server dhcpd: 

Mar 11 12:19:01 dhcp-server dhcpd: Not configured to listen on any
interfaces!

 

In fact, my dhcpd_new.conf has this subnet declaration (at the end of the
file) and looks like this:

 

#---------------------------------------------------------------------

log-facility local5;

 

allow booting;

allow bootp;

 

lease-file-name "/var/db/dhcpd_wimax.leases";

ddns-update-style none;

ignore client-updates;

default-lease-time 43200;

max-lease-time 86400;

 

#---------------------

# Logging

#---------------------

log ( info, concat( "circuit-id: ", option agent.circuit-id));

log(debug, concat ("giaddr: ", binary-to-ascii(10,8, ".", packet(24,4)))) ;

 

# General Options 

option domain-name-servers 200.45.191.35;

option subnet-mask 255.255.255.0;

 

subnet 192.168.0.0 netmask 255.255.255.0 {} 

 

#-----------------------------------------------------------------------

 

Is it posible to make this configuration work? or the only way to start a
new instance of dhcpd on the same server is to have another physical
interface available??? 

 

thanks,

 

Dario Aguilar

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


More information about the dhcp-users mailing list