From owner-freebsd-questions@FreeBSD.ORG Wed May 21 00:18:01 2003 Return-Path: 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 E291637B401 for ; Wed, 21 May 2003 00:18:01 -0700 (PDT) Received: from slacknet.slacknet.com (slacknet.slacknet.com [204.228.135.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EDAD43F85 for ; Wed, 21 May 2003 00:18:00 -0700 (PDT) (envelope-from rj45@slacknet.com) Received: from rj45 (helo=localhost) by slacknet.slacknet.com with local-esmtp (Exim 3.35 #1 (Debian)) id 19INrL-0006wO-00 for ; Wed, 21 May 2003 01:17:59 -0600 Date: Wed, 21 May 2003 01:17:59 -0600 (MDT) From: RJ45 To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: dhcp question/problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2003 07:18:02 -0000 Hello, I am using a dhcp server on FreeBSD. I have a strange problem. I defined in my dhcpd.conf 2 subnets for dhcp. My problem is that IP addresses are assigned always from subnet 172.16.250.0 even if the MAC address requesting the address (IDEFIX) is written in the 172.16.254.0 entry, and gateway assigned instead is the one from subnet 172.16.254.0. I mean it's like if dhcpd ignores subnet 172.16.254.0 after I Added new subnet 172.16.250.0 How can I solve this problem? using fixed-address I Can solve it but I do not want to use fixed-address. here is my congfiguration below shared-network fi { option domain-name-servers 192.84.x.y, 193.206.x.y; option domain-name "mydomain.it"; option subnet-mask 255.255.255.0; deny unknown-clients; subnet 172.16.254.0 netmask 255.255.255.0 { range 172.16.254.1 172.16.254.150; default-lease-time 43200; max-lease-time 86400; option routers 172.16.254.254; option broadcast-address 172.16.254.255; deny unknown-clients; host IDEFIX { hardware ethernet 08:00:46:69:d7:19; } etc.... other hosts follow } subnet 172.16.250.0 netmask 255.255.255.0 { range 172.16.250.1 172.16.250.250; default-lease-time 43200; max-lease-time 86400; option routers 172.16.254.254; option broadcast-address 172.16.254.255; deny unknown-clients; host IDEFIX2 { hardware ethernet 00:50:56:40:00:7F; } etc... other hosts follow } } thanks a lot Rick