<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EstiloCorreo17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=ES link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>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 ---><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Mar 11 12:19:00 dhcp-server dhcpd: ** Ignoring requests on
eth1:1. If this is not what<o:p></o:p></p>
<p class=MsoNormal>Mar 11 12:19:00 dhcp-server dhcpd: No subnet declaration for
eth1:1 (no IPv4 addresses).<o:p></o:p></p>
<p class=MsoNormal>Mar 11 12:19:00 dhcp-server dhcpd: you want, please write
a subnet declaration<o:p></o:p></p>
<p class=MsoNormal>Mar 11 12:19:00 dhcp-server dhcpd: ** Ignoring requests on
eth1:1. If this is not what<o:p></o:p></p>
<p class=MsoNormal>Mar 11 12:19:00 dhcp-server dhcpd: in your dhcpd.conf
file for the network segment<o:p></o:p></p>
<p class=MsoNormal>Mar 11 12:19:00 dhcp-server dhcpd: you want, please write
a subnet declaration<o:p></o:p></p>
<p class=MsoNormal>Mar 11 12:19:00 dhcp-server dhcpd: to which interface
eth1:1 is attached. **<o:p></o:p></p>
<p class=MsoNormal>Mar 11 12:19:00 dhcp-server dhcpd: in your dhcpd.conf
file for the network segment<o:p></o:p></p>
<p class=MsoNormal>Mar 11 12:19:00 dhcp-server dhcpd: <o:p></o:p></p>
<p class=MsoNormal>Mar 11 12:19:00 dhcp-server dhcpd: to which interface
eth1:1 is attached. **<o:p></o:p></p>
<p class=MsoNormal>Mar 11 12:19:00 dhcp-server dhcpd: <o:p></o:p></p>
<p class=MsoNormal>Mar 11 12:19:00 dhcp-server dhcpd: <o:p></o:p></p>
<p class=MsoNormal>Mar 11 12:19:01 dhcp-server dhcpd: Not configured to listen
on any interfaces!<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>In fact, my dhcpd_new.conf has this subnet declaration (at
the end of the file) and looks like this:<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>#---------------------------------------------------------------------<o:p></o:p></p>
<p class=MsoNormal>log-facility local5;<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>allow booting;<o:p></o:p></p>
<p class=MsoNormal>allow bootp;<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>lease-file-name "/var/db/dhcpd_wimax.leases";<o:p></o:p></p>
<p class=MsoNormal>ddns-update-style none;<o:p></o:p></p>
<p class=MsoNormal>ignore client-updates;<o:p></o:p></p>
<p class=MsoNormal>default-lease-time 43200;<o:p></o:p></p>
<p class=MsoNormal>max-lease-time 86400;<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>#---------------------<o:p></o:p></p>
<p class=MsoNormal># Logging<o:p></o:p></p>
<p class=MsoNormal>#---------------------<o:p></o:p></p>
<p class=MsoNormal>log ( info, concat( "circuit-id: ", option
agent.circuit-id));<o:p></o:p></p>
<p class=MsoNormal>log(debug, concat ("giaddr: ",
binary-to-ascii(10,8, ".", packet(24,4)))) ;<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal># General Options <o:p></o:p></p>
<p class=MsoNormal>option domain-name-servers 200.45.191.35;<o:p></o:p></p>
<p class=MsoNormal>option subnet-mask 255.255.255.0;<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>subnet 192.168.0.0 netmask 255.255.255.0 {} <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>#-----------------------------------------------------------------------<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>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??? <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>thanks,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Dario Aguilar<o:p></o:p></p>
</div>
</body>
</html>