From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 31 23:30:11 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D0E216A4CE for ; Sun, 31 Oct 2004 23:30:11 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F39DC43D55 for ; Sun, 31 Oct 2004 23:30:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i9VNUA91093800 for ; Sun, 31 Oct 2004 23:30:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9VNUAJB093799; Sun, 31 Oct 2004 23:30:10 GMT (envelope-from gnats) Resent-Date: Sun, 31 Oct 2004 23:30:10 GMT Resent-Message-Id: <200410312330.i9VNUAJB093799@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Simson L. Garfinkel" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E829116A4CE for ; Sun, 31 Oct 2004 23:25:06 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id C31C043D53 for ; Sun, 31 Oct 2004 23:25:06 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i9VNP6J3049860 for ; Sun, 31 Oct 2004 23:25:06 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i9VNP6UR049859; Sun, 31 Oct 2004 23:25:06 GMT (envelope-from nobody) Message-Id: <200410312325.i9VNP6UR049859@www.freebsd.org> Date: Sun, 31 Oct 2004 23:25:06 GMT From: "Simson L. Garfinkel" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: ports/73363: isc-dhcp3-server doesn't honor hard-coded ethernet addresses on amd64 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2004 23:30:11 -0000 >Number: 73363 >Category: ports >Synopsis: isc-dhcp3-server doesn't honor hard-coded ethernet addresses on amd64 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 31 23:30:10 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Simson L. Garfinkel >Release: 5.3-RC1 amd64 >Organization: MIT >Environment: FreeBSD r3.nitroba.com 5.3-RC1 FreeBSD 5.3-RC1 #0: Sat Oct 30 13:05:38 EDT 2004 simsong@r3.nitroba.com:/usr/src/sys/amd64/compile/R3 amd64 >Description: using the exact same config file and the exact same verison of isc-dhcp3-server, on i386 the hardware-address clauses are honored, and on amd64 they are not. That is, on amd64 all of my ethernet cards get non-specific addresses, and with the server on i386 they all get their correct addresses. Here is my config file: [simsong@r3 ~] 303 % cat /usr/local/etc/dhcpd.conf # File: dhcpdb.conf # Author: Eric Bates, ericx@vineyard.net # Date: Wed Jun 11 10:14:03 1997 # Time-stamp: <2000-05-22 09:57:16 ericx> # Description: dhcpd config file for ISC's dhcpd-3. This started # life as BSDI's dhcpdb.pool config file. # # $Id: dhcpd.conf,v 1.2 2000/04/21 16:58:00 ericx Exp $ # $Log: dhcpd.conf,v $ # Hosts with more than one interface MUST specify a ``server-identifier'', # which should be the IP address of the server's primary network interface, # or if there is no interface that can be described that way, at least an # interface whose address isn't likely to change. server-identifier r2i.nitroba.com; ddns-update-style interim; # option definitions common to all supported networks... option domain-name "nitroba.com"; option domain-name-servers 192.168.1.2; default-lease-time 86400; # 1 Day max-lease-time 172800; # 2 Days get-lease-hostnames true; # use dns to provide hostname use-host-decl-names true; # use declaration name for hostname allow bootp; subnet 192.168.1.0 netmask 255.255.255.0 { option routers 192.168.1.1; option broadcast-address 192.168.1.255; option subnet-mask 255.255.255.0; option domain-name-servers 64.7.15.234, # was 192.168.1.2, 216.200.176.4, 216.34.237.2; option netbios-name-servers 192.168.1.2; option netbios-node-type 8; range 192.168.1.50 192.168.1.239; host g12 { hardware ethernet 00:0a:95:da:91:e2; fixed-address g12; } host g12air { hardware ethernet 00:0a:95:f2:40:42; fixed-address g12air; } # # Simson's hardware all gets the same address # each time # # G3 Desktop # hardware ethernet 00:50:e4:90:ae:64; # internal host g3 { hardware ethernet 00:0e:2e:0d:51:7d; # gigabit card fixed-address g3; default-lease-time 31536000; max-lease-time 31536000; } host airport1 { hardware ethernet 0:30:65:3b:28:14; fixed-address 192.168.1.5; default-lease-time 31536000; # 1 Year max-lease-time 31536000; # 1 Year } host airport2 { hardware ethernet 0:30:93:df:95:ec; fixed-address 192.168.1.18; default-lease-time 31536000; # 1 Year max-lease-time 31536000; # 1 Year } host l1 { hardware ethernet 00:0a:95:69:38:cc; fixed-address 192.168.1.12; default-lease-time 31536000; # 1 Year max-lease-time 31536000; # 1 Year } host beth { hardware ethernet 0:a0:cc:d5:5b:29; fixed-address 192.168.1.9; default-lease-time 36000; max-lease-time 72000; } host z505 { hardware ethernet 8:0:46:7:1e:a; fixed-address z505; } # SLG Ornico host air2 { hardware ethernet 0:2:2d:49:93:99; fixed-address 192.168.1.15; default-lease-time 3600; max-lease-time 7200; } host green { hardware ethernet 00:50:da:b2:0b:ca; fixed-address green; default-lease-time 31536000; # 1 Year max-lease-time 31536000; # 1 Year } host kitchen { hardware ethernet 00:0d:56:08:e2:af; fixed-address kitchen; default-lease-time 31536000; # 1 Year max-lease-time 31536000; # 1 Year } host jet { hardware ethernet 0:60:b0:54:39:bf; fixed-address 192.168.1.13; default-lease-time 31536000; # 1 Year max-lease-time 31536000; # 1 Year } host 2300dn { hardware ethernet 00:30:6e:d4:eb:93; fixed-address 2300dn.nitroba.com; default-lease-time 31536000; # 1 Year max-lease-time 31536000; # 1 Year } host q { hardware ethernet 00:40:05:43:ec:67; fixed-address 192.168.1.20; } # 15' Titanium laptop ethernet host g15 { hardware ethernet 00:03:93:03:c7:16; fixed-address g15; } host g15air { hardware ethernet 0:30:65:1b:83:54;fixed-address g15air; } # # friends # host ljean { hardware ethernet 0:30:65:13:81:ef; fixed-address 192.168.1.242; } # random hardware host r { hardware ethernet 00:00:c5:7e:6c:e0; } host r2.simson.net { hardware ethernet 00:03:6d:14:f1:c7; } host r2i.simson.net { hardware ethernet 00:a0:cc:d5:c4:27; } host linksys { hardware ethernet 00:04:5a:28:6b:0e; } host linksys-inside { hardware ethernet 00:04:5a:28:6b:0d; } host no { hardware ethernet 00:a0:c9:b8:6f:6e; } host no-monitor { hardware ethernet 00:02:b3:d4:46:cc; } # neighbor # Alex Pichette host alex { hardware ethernet 00:06:25:30:02:cc; max-lease-time 600; fixed-address 10.1.1.1; } } # Ignore our parent net subnet 64.7.15.232 netmask 255.255.255.248 { } #subnet 10.10.0.0 netmask 255.255.255.0 { # option routers 10.10.0.2; # option broadcast-address 10.10.0.255; # option subnet-mask 255.255.255.0; # option domain-name-servers 10.10.0.2, # ns1.vineyard.net, # ns2.vineyard.net; # option netbios-name-servers 10.10.0.2; # option netbios-node-type 8; #} # Local Variables: # comment-start: "#" # End: [simsong@r3 ~] 304 % >How-To-Repeat: Run isc-dhcp3-server on amd64. hard-coded addresses will not be properly served >Fix: Run the dhcpd server on i386? >Release-Note: >Audit-Trail: >Unformatted: