<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
your log states: "<span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">Sep 20 07:58:33 hera dhcpd: No subnet declaration for
venet0:0
(0.0.0.0).</span>"<br>
<br>
Define one...<br>
<br>
       subnet x.x.x.x netmask x.x.x.x<br>
        {       <br>
                authoritative;<br>
        }<br>
<br>
DHCP will listen on any interface it's told to listen on...<br>
<br>
<br>
-------- Original Message  --------<br>
Subject: SV: dhcp on p-t-p interface<br>
From: Anders Rosendal <a class="moz-txt-link-rfc2396E" href="mailto:anders@rosendal.nu"><anders@rosendal.nu></a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@isc.org">dhcp-users@isc.org</a><br>
Date: Saturday, September 20, 2008 1:01:00 AM<br>
<blockquote
 cite="mid:602BCEC29740BE4D9A07F80BC9DC8F5004D023@milou.ad.rosendal.nu"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 12 (filtered medium)">
  <title>dhcp on p-t-p interface</title>
  <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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
span.E-postmall18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
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]-->
  <div class="Section1">
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">Hi<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">Thanks Blake.<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">I do use ”-q” when starting dhcpd. Could you describe
more what
you mean with “dummy unathorative”?<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US"><o:p> </o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">I also saw that I had missed one interesting line in the
syslog
output in my last message (the unknown address type).<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">My guess is that the problem is that the broadcast is
0.0.0.0.<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">Is it possible to make dhcpd not listen to broadcast, and
only open
udp port 67 and listen for packets that are addressed to the server?<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US"><o:p> </o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">Regards Anders R<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US"><o:p> </o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">Sep 20 07:58:33 hera dhcpd: Internet Systems Consortium
DHCP
Server V3.0.6<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">Sep 20 07:58:33 hera dhcpd: Copyright 2004-2007 Internet
Systems
Consortium.<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">Sep 20 07:58:33 hera dhcpd: All rights reserved.<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">Sep 20 07:58:33 hera dhcpd: For info, please visit
<a class="moz-txt-link-freetext" href="http://www.isc.org/sw/dhcp/">http://www.isc.org/sw/dhcp/</a><o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">Sep 20 07:58:33 hera dhcpd: Wrote 0 leases to leases file.<o:p></o:p></span></p>
  <p class="MsoNormal"><b><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">Sep 20 07:58:33 hera dhcpd: venet0:0:
unknown hardware address type 65535<o:p></o:p></span></b></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">Sep 20 07:58:33 hera dhcpd: <o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">Sep 20 07:58:33 hera dhcpd: No subnet declaration for
venet0:0
(0.0.0.0).<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">Sep 20 07:58:33 hera dhcpd: ** Ignoring requests on
venet0:0. 
If this is not what<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">Sep 20 07:58:33 hera dhcpd:    you want, please write a
subnet
declaration<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">Sep 20 07:58:33 hera dhcpd:    in your dhcpd.conf file
for the
network segment<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">Sep 20 07:58:33 hera dhcpd:    to which interface
venet0:0 is
attached. **<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">Sep 20 07:58:33 hera dhcpd: <o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">Sep 20 07:58:33 hera dhcpd: <o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US">Sep 20 07:58:33 hera dhcpd: Not configured to listen on
any
interfaces!<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"
 lang="EN-US"><o:p> </o:p></span></p>
  <div>
  <div
 style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
  <p class="MsoNormal"><b><span
 style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">Från:</span></b><span
 style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users-bounce@isc.org">dhcp-users-bounce@isc.org</a>
[<a class="moz-txt-link-freetext" href="mailto:dhcp-users-bounce@isc.org">mailto:dhcp-users-bounce@isc.org</a>] <b>För </b>Blake Hudson<br>
  <b>Skickat:</b> den 20 september 2008 00:05<br>
  <b>Till:</b> <a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@isc.org">dhcp-users@isc.org</a><br>
  <b>Ämne:</b> Re: dhcp on p-t-p interface<o:p></o:p></span></p>
  </div>
  </div>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p class="MsoNormal">Start DHCPD with '-q venet0:0' or similar or put
in
79.99.1.114 as a dummy unauthoritative subnet that does not have any
pools.<br>
  <br>
--Blake<br>
  <br>
-------- Original Message  --------<br>
Subject: dhcp on p-t-p interface<br>
From: Anders Rosendal <a moz-do-not-send="true"
 href="mailto:anders@rosendal.nu"><anders@rosendal.nu></a><br>
To: <a moz-do-not-send="true" href="mailto:dhcp-users@isc.org">dhcp-users@isc.org</a><br>
Date: Friday, September 19, 2008 3:41:35 PM<br>
  <br>
  <o:p></o:p></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p><span style="font-size: 10pt;">Hi<br>
I'm having one server at local LAN that I'm serving with IP's. I'm now
trying
out a a virtual server from a hosting provider, and aiming to use that
as a
redundant dhcp-server. When installing dhcpd on it I ran into problems.
The
public network interface of the server is a p-t-p one, with a broadcast
set to
0.0.0.0.<br>
I guess that the hosting supplier is using XEN or similar to provide
the
service.<br>
This is what I've got:<br>
  <br>
A Ubuntu 8.04 LTS server with isc-dhcpd-V3.0.6.<br>
  <br>
rosendal@hera:~$ cat /etc/network/interfaces<br>
# This configuration file is auto-generated.<br>
# WARNING: Do not edit this file, otherwise your changes will be lost.<br>
# Please edit template /etc/network/interfaces.template instead.<br>
  <br>
  <br>
# Auto generated interfaces<br>
auto lo<br>
iface lo inet loopback<br>
  <br>
auto venet0<br>
iface venet0 inet static<br>
        address 127.0.0.1<br>
        netmask 255.255.255.255<br>
        broadcast 0.0.0.0<br>
        up route add -net 192.0.2.1 netmask
255.255.255.255 dev venet0<br>
        up route add default gw 192.0.2.1<br>
  <br>
iface venet0 inet6 static<br>
        address ::1<br>
        netmask 128<br>
  <br>
auto venet0:0<br>
iface venet0:0 inet static<br>
        address 79.99.1.114<br>
        netmask 255.255.255.255<br>
        broadcast 0.0.0.0<br>
  <br>
rosendal@hera:~$ ifconfig -a<br>
lo        Link encap:Local Loopback <br>
          inet
addr:127.0.0.1  Mask:255.0.0.0<br>
          inet6 addr: ::1/128
Scope:Host<br>
          UP LOOPBACK
RUNNING  MTU:16436  Metric:1<br>
          RX packets:0 errors:0
dropped:0 overruns:0 frame:0<br>
          TX packets:0 errors:0
dropped:0 overruns:0 carrier:0<br>
          collisions:0
txqueuelen:0<br>
          RX bytes:0 (0.0 B) 
TX bytes:0 (0.0 B)<br>
  <br>
venet0    Link encap:UNSPEC  HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 <br>
          inet
addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0 
Mask:255.255.255.255<br>
          inet6 addr: ::1/128
Scope:Host<br>
          UP BROADCAST POINTOPOINT
RUNNING NOARP  MTU:1500  Metric:1<br>
          RX packets:452 errors:0
dropped:0 overruns:0 frame:0<br>
          TX packets:339 errors:0
dropped:0 overruns:0 carrier:0<br>
          collisions:0
txqueuelen:0<br>
          RX bytes:49704 (48.5
KB)  TX bytes:56924 (55.5 KB)<br>
  <br>
venet0:0  Link encap:UNSPEC  HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 <br>
          inet
addr:79.99.1.114  P-t-P:79.99.1.114  Bcast:0.0.0.0 
Mask:255.255.255.255<br>
          UP BROADCAST POINTOPOINT
RUNNING NOARP  MTU:1500  Metric:1<br>
  <br>
rosendal@hera:~$<br>
  <br>
The dhcpd.conf file is copied from the working server and I have added:<br>
  <br>
subnet 79.99.1.114 netmask 255.255.255.255 {<br>
}<br>
  <br>
  <br>
but when restarting dhcpd I get the following message in dhcpd I get
the
following message:<br>
  <br>
Sep 19 22:30:04 hera dhcpd: No subnet declaration for venet0:0
(0.0.0.0).<br>
Sep 19 22:30:04 hera dhcpd: ** Ignoring requests on venet0:0.  If this
is
not what<br>
Sep 19 22:30:04 hera dhcpd:    you want, please write a subnet
declaration<br>
Sep 19 22:30:04 hera dhcpd:    in your dhcpd.conf file for the
network segment<br>
Sep 19 22:30:04 hera dhcpd:    to which interface venet0:0 is
attached. **<br>
Sep 19 22:30:04 hera dhcpd:<br>
Sep 19 22:30:04 hera dhcpd:<br>
Sep 19 22:30:04 hera dhcpd: Not configured to listen on any interfaces!<br>
  <br>
  <br>
  <br>
Does anyone has suggestion how I should configure to get the server to
listen
to the venet0:0 interface?<br>
The router on my main network is configured to forward dhcp-requests to
my
"redundant" server, so this is not a problem.<br>
  <br>
  <br>
Thanks in advance.<br>
  <br>
Regards Anders R</span> <o:p></o:p></p>
  <p class="MsoNormal"><br>
-- <br>
This message has been scanned for viruses and <br>
dangerous content by <a moz-do-not-send="true"
 href="http://www.mailscanner.info/"><b>MailScanner</b></a>
at <br>
mars.rosendal.nu, and is believed to be clean. <o:p></o:p></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p class="MsoNormal"><span style="color: windowtext;"><br>
-- <br>
This message has been scanned for viruses and <br>
dangerous content by <a moz-do-not-send="true"
 href="http://www.mailscanner.info/"><b>MailScanner</b></a>
at <br>
mars.rosendal.nu, and is believed to be clean. <o:p></o:p></span></p>
  </div>
  <br>
-- <br>
This message has been scanned for viruses and
  <br>
dangerous content by
  <a moz-do-not-send="true" href="http://www.mailscanner.info/"><b>MailScanner</b></a>
at <br>
mars.rosendal.nu, and is believed to be clean.
</blockquote>
<br>
</body>
</html>