<!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">
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 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: Friday, September 19, 2008 3:41:35 PM<br>
<blockquote
 cite="mid:602BCEC29740BE4D9A07F80BC9DC8F50313B@milou.ad.rosendal.nu"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="MS Exchange Server version 6.5.7226.0">
  <title>dhcp on p-t-p interface</title>
<!-- Converted from text/plain format -->
  <br>
  <p><font size="2">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</font>
  </p>
  <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>