From owner-freebsd-current@freebsd.org Wed May 18 22:49:04 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EFD13B41FD4 for ; Wed, 18 May 2016 22:49:04 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CEF4618DE for ; Wed, 18 May 2016 22:49:04 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: by mailman.ysv.freebsd.org (Postfix) id CA8A2B41FD3; Wed, 18 May 2016 22:49:04 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CA1D7B41FD2 for ; Wed, 18 May 2016 22:49:04 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: from mail-qk0-x230.google.com (mail-qk0-x230.google.com [IPv6:2607:f8b0:400d:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8569518DD for ; Wed, 18 May 2016 22:49:04 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: by mail-qk0-x230.google.com with SMTP id n63so37099643qkf.0 for ; Wed, 18 May 2016 15:49:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=capeaugusta-com.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version; bh=hgBk6al89n8h5V/Qrrj02wryZfyyrB8CIB4qv5AeNiE=; b=EUrA0Nt/eCiKH8CmTtCwjYyRHI/TGlVKBsX0JAwHYg5+laYdW8uNTgJHc5+yoAurWh ScCXp7MId9m1DLJyNA0k+xXd2VA6ZrrCdHXSOPJMzqHx3XRdIN0tV8JUOUGvLZt2ntyE iaU2RarTUGfhmnBv3XJhZGgNEePr+F6lJjgedTzT5/37NGoOfnSK7YzV3DOt2TTBlGJE B909GxTfIzPJp2roG9T3nrRjJkoQu8cWzMJraoEJ2RchIcUO1KhKn7kShgmrqIIYH/ul YM7+3ZvPpbLx90n9DSTTLf+SjngGNdRaaKZu/ppQrGE9l7poZl5nhlLCV+3aTqx5rSMA RLOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version; bh=hgBk6al89n8h5V/Qrrj02wryZfyyrB8CIB4qv5AeNiE=; b=k79Yky10acUji+PFxUi91feZQMvdxDgkTKuyjHJgnzZmf/FNXEjhPp+C5MSApUQoKU bd6NeoX84VfK0LZ9at1g+EIvsBKIbi5qGsalEqkCgSFulUE7iTNyev3NdbjSs9FAVG9R aP7psKFRc09wmXAO3EJcwhXqJAe7PNgOlypRxdVU2x6pNHk5qxOkB28XZ+hLn2AfruoZ l2sQHel706T47D2+Wc/PjqDfro9C/+12gYX4PivZR+u6UcAdrF/SrqLQdpu1OsGpimNi ofO0tC+BuA+wPLN5xbPxUp/2xLjKK6GYA+lkmD2Si+VVJPbYg4jxUi+aO7MUVs+2qBeS sg1Q== X-Gm-Message-State: AOPr4FWQsQV621x7msdbIxI60jsxZm52LaaFnghfFqmR+EVfBypx45EMMxymahn5VRbynayg05SjgOgpQBzEPQPKIVqoo1FzuEI3JpXsPBZbn4Lm0K8A5NvzOj1SFe2+5Zdd7IelX47PDrTUlczvbWpGneGGw1FgBKT6YFAt8I8G/Bd/KfvOP4JxMDzuMPWQ4Q== X-Received: by 10.129.36.7 with SMTP id k7mr5406388ywk.186.1463611743439; Wed, 18 May 2016 15:49:03 -0700 (PDT) Received: from zen.clue.co.za (c-71-226-15-200.hsd1.ga.comcast.net. [71.226.15.200]) by smtp.gmail.com with ESMTPSA id c62sm6419793ywf.12.2016.05.18.15.49.02 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 May 2016 15:49:02 -0700 (PDT) To: current@freebsd.org From: Ian FREISLICH Subject: r299512 breaks dhclient on some networks Message-ID: <15379a54-3e6e-2c2c-b41c-8def3af65bad@capeaugusta.com> Date: Wed, 18 May 2016 18:49:02 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2016 22:49:05 -0000 Hi I cannot for the life of me figure out why the change in r299512 breaks DHCP on one network I use but not on another network. The only clue I can find is that the request whose response is ignored has the following client ID: 1:6:0:22:5f:70:a1:df The request whose response is use has this client ID: 1:0:22:5f:70:a1:df Here's a dhcpdump of the request/offer that gets ignored. --------------------------------------------------------------------------- TIME: 2016-05-18 18:46:39.134 IP: 0.0.0.0 (00:22:5f:70:a1:df) > 255.255.255.255 (ff:ff:ff:ff:ff:ff) OP: 1 (BOOTPREQUEST) HTYPE: 1 (Ethernet) HLEN: 6 HOPS: 0 XID: 92a34fc3 SECS: 0 FLAGS: 0 CIADDR: 0.0.0.0 YIADDR: 0.0.0.0 SIADDR: 0.0.0.0 GIADDR: 0.0.0.0 CHADDR: 00:22:5f:70:a1:df:00:00:00:00:00:00:00:00:00:00 SNAME: . FNAME: . OPTION: 53 ( 1) DHCP message type 1 (DHCPDISCOVER) OPTION: 61 ( 8) Client-identifier 01:06:00:22:5f:70:a1:df OPTION: 12 ( 3) Host name zen OPTION: 55 ( 9) Parameter Request List 1 (Subnet mask) 28 (Broadcast address) 2 (Time offset) 121 (Classless Static Route) 3 (Routers) 15 (Domainname) 6 (DNS server) 12 (Host name) 119 (Domain Search) --------------------------------------------------------------------------- TIME: 2016-05-18 18:46:39.134 IP: 10.0.0.1 (4c:5e:0c:62:4f:82) > 10.0.0.80 (00:22:5f:70:a1:df) OP: 2 (BOOTPREPLY) HTYPE: 1 (Ethernet) HLEN: 6 HOPS: 0 XID: 92a34fc3 SECS: 0 FLAGS: 0 CIADDR: 0.0.0.0 YIADDR: 10.0.0.80 SIADDR: 10.0.0.1 GIADDR: 0.0.0.0 CHADDR: 00:22:5f:70:a1:df:00:00:00:00:00:00:00:00:00:00 SNAME: . FNAME: . OPTION: 53 ( 1) DHCP message type 2 (DHCPOFFER) OPTION: 54 ( 4) Server identifier 10.0.0.1 OPTION: 51 ( 4) IP address leasetime 259200 (3d) OPTION: 1 ( 4) Subnet mask 255.255.255.0 OPTION: 3 ( 4) Routers 10.0.0.1 OPTION: 6 ( 4) DNS server 10.0.0.1 --------------------------------------------------------------------------- And here's the request/offer that works (with the r299512 backed out) --------------------------------------------------------------------------- TIME: 2016-05-18 18:35:33.817 IP: 10.0.0.220 (00:22:5f:70:a1:df) > 255.255.255.255 (ff:ff:ff:ff:ff:ff) OP: 1 (BOOTPREQUEST) HTYPE: 1 (Ethernet) HLEN: 6 HOPS: 0 XID: 866cfd85 SECS: 4 FLAGS: 0 CIADDR: 0.0.0.0 YIADDR: 0.0.0.0 SIADDR: 0.0.0.0 GIADDR: 0.0.0.0 CHADDR: 00:22:5f:70:a1:df:00:00:00:00:00:00:00:00:00:00 SNAME: . FNAME: . OPTION: 53 ( 1) DHCP message type 3 (DHCPREQUEST) OPTION: 50 ( 4) Request IP address 10.0.0.220 OPTION: 61 ( 7) Client-identifier 01:00:22:5f:70:a1:df OPTION: 12 ( 3) Host name zen OPTION: 55 ( 9) Parameter Request List 1 (Subnet mask) 28 (Broadcast address) 2 (Time offset) 121 (Classless Static Route) 3 (Routers) 15 (Domainname) 6 (DNS server) 12 (Host name) 119 (Domain Search) --------------------------------------------------------------------------- TIME: 2016-05-18 18:35:33.817 IP: 10.0.0.1 (4c:5e:0c:62:4f:82) > 10.0.0.220 (00:22:5f:70:a1:df) OP: 2 (BOOTPREPLY) HTYPE: 1 (Ethernet) HLEN: 6 HOPS: 0 XID: 866cfd85 SECS: 0 FLAGS: 0 CIADDR: 0.0.0.0 YIADDR: 10.0.0.220 SIADDR: 10.0.0.1 GIADDR: 0.0.0.0 CHADDR: 00:22:5f:70:a1:df:00:00:00:00:00:00:00:00:00:00 SNAME: . FNAME: . OPTION: 53 ( 1) DHCP message type 5 (DHCPACK) OPTION: 54 ( 4) Server identifier 10.0.0.1 OPTION: 51 ( 4) IP address leasetime 259200 (3d) OPTION: 1 ( 4) Subnet mask 255.255.255.0 OPTION: 3 ( 4) Routers 10.0.0.1 OPTION: 6 ( 4) DNS server 10.0.0.1 --------------------------------------------------------------------------- -- Ian Freislich -- Cape Augusta Digital Properties, LLC a Cape Augusta Company *Breach of confidentiality & accidental breach of confidentiality * This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.