From owner-freebsd-questions Fri Feb 7 18:14: 8 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D45137B401 for ; Fri, 7 Feb 2003 18:14:07 -0800 (PST) Received: from above.proper.com (mail.proper.com [208.184.76.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6BB343F93 for ; Fri, 7 Feb 2003 18:14:06 -0800 (PST) (envelope-from phoffman@proper.com) Received: from [165.227.249.18] (165-227-249-18.client.dsl.net [165.227.249.18]) by above.proper.com (8.11.6/8.11.3) with ESMTP id h182E2d04350 for ; Fri, 7 Feb 2003 18:14:02 -0800 (PST) Mime-Version: 1.0 X-Sender: phoffprop@mail.proper.com Message-Id: X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . Date: Fri, 7 Feb 2003 18:14:02 -0800 To: freebsd-questions@FreeBSD.ORG From: Paul Hoffman Subject: dhcpd subnets? Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Greetings again. I have a DSL connection with 32 addresses. My ifconfig line in rc.conf looks like: ifconfig_tx0="inet a.b.c.130 netmask 255.255.255.224" defaultrouter="a.b.c.158" This works fine. I am trying to configure dhcpd (from the ports collection). My config file says: default-lease-time 86400; option subnet-mask 255.255.255.224; option routers a.b.c.158; option domain-name-servers a.b.c.130; ddns-update-style none; subnet a.b.c.158 netmask 255.255.255.224 { range a.b.c.150 a.b.c.157; } This gets the fatal startup error: /etc/dhcpd.conf line 7: subnet a.b.c.158: bad subnet number/mask combination. subnet a.b.c.158 netmask 255.255.255.224 ^ Configuration file errors encountered -- exiting This is a valid subnet, and it works just fine for everything else. What is dhcpd wanting? --Paul Hoffman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message