All pastes #744026 Raw Edit

DHCP problem

public text v1 · immutable
·published 2007-10-21 00:26 UTC
rendered paste body
/etc/dhcpd.conf:

ddns-update-style none;
authoritative;

option domain-name "myvano.lcl";
option domain-name-servers 172.16.254.254, 208.67.222.222, 4.2.2.1;

default-lease-time 86400;
max-lease-time 604800;

subnet 172.16.254.0 netmask 255.255.255.0 {
        option routers 172.16.254.1;
        option subnet-mask 255.255.255.0;
        option broadcast-address 172.16.254.255;
        pool {
                range 172.16.254.200 172.16.254.225;
        }
}


/etc/network/interfaces:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address 172.16.254.254
        netmask 255.255.255.0
        network 172.16.254.0
        broadcast 172.16.254.255
        gateway 172.16.254.1


/var/log/syslog:
Oct 20 19:39:06 vano dhcpd: Internet Systems Consortium DHCP Server V3.0.5
Oct 20 19:39:06 vano dhcpd: Copyright 2004-2006 Internet Systems Consortium.
Oct 20 19:39:06 vano dhcpd: All rights reserved.
Oct 20 19:39:06 vano dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Oct 20 19:39:06 vano dhcpd: Internet Systems Consortium DHCP Server V3.0.5
Oct 20 19:39:06 vano dhcpd: Copyright 2004-2006 Internet Systems Consortium.
Oct 20 19:39:06 vano dhcpd: All rights reserved.
Oct 20 19:39:06 vano dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Oct 20 19:39:06 vano dhcpd: Internet Systems Consortium DHCP Server V3.0.5
Oct 20 19:39:06 vano dhcpd: Copyright 2004-2006 Internet Systems Consortium.
Oct 20 19:39:06 vano dhcpd: All rights reserved.
Oct 20 19:39:06 vano dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Oct 20 19:39:06 vano dhcpd: Wrote 0 leases to leases file.
Oct 20 19:39:06 vano dhcpd:
Oct 20 19:39:06 vano dhcpd: No subnet declaration for eth0 (172.16.254.254).
Oct 20 19:39:06 vano dhcpd: ** Ignoring requests on eth0.  If this is not what
Oct 20 19:39:06 vano dhcpd:    you want, please write a subnet declaration
Oct 20 19:39:06 vano dhcpd:    in your dhcpd.conf file for the network segment
Oct 20 19:39:06 vano dhcpd:    to which interface eth0 is attached. **
Oct 20 19:39:06 vano dhcpd:
Oct 20 19:39:06 vano dhcpd:
Oct 20 19:39:06 vano dhcpd: Not configured to listen on any interfaces!