<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>dhcp on p-t-p interface</TITLE>
</HEAD>
<BODY>
<!-- 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>

</BODY>
<br />-- 
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a> at 
<br />mars.rosendal.nu, and is believed to be clean.
</HTML>