From owner-freebsd-questions@FreeBSD.ORG Tue Nov 19 14:09:18 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B60025D5; Tue, 19 Nov 2013 14:09:18 +0000 (UTC) Received: from mail-pb0-x22f.google.com (mail-pb0-x22f.google.com [IPv6:2607:f8b0:400e:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8F68E226C; Tue, 19 Nov 2013 14:09:18 +0000 (UTC) Received: by mail-pb0-f47.google.com with SMTP id um1so1940177pbc.34 for ; Tue, 19 Nov 2013 06:09:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=BRWplGjbBCovCpkr4bRKMjGG+DFRxYMnzT83L2EG0Bs=; b=jlohamBT2KmnMuSbTEhGIxCrczOrUjlNjTrFk8ZXPZP1gKPBD+1+NPoMdm1ydgDuds qcaY8wdmHWrrO/zxa/iICF8STyvXGSQQBW1ZI+a+fzGQ/SF+zSxwldaHKTu0lvbUM5lN u3sUz3EVCSayOfHYLVe8Oy8mgoQqepewO/GMfwZIT5hXI1X8YWbzNdd9K8pWJXE6AOTz 1NuoUI7TuBINgJYh7pyeHPragWnN/vUWpP9w/Jji6dJ9+lrnTguhdITEHjR2KvSuovFy HGqgjhXXJVmZOiKm53YPttTNSs/YsrIxUCEdhas47xQVHrbxHeR/K52vNqvT5wJx/5UJ puNw== MIME-Version: 1.0 X-Received: by 10.69.25.38 with SMTP id in6mr1133048pbd.178.1384870158201; Tue, 19 Nov 2013 06:09:18 -0800 (PST) Sender: tomek.cedro@gmail.com Received: by 10.68.191.6 with HTTP; Tue, 19 Nov 2013 06:09:18 -0800 (PST) Date: Tue, 19 Nov 2013 15:09:18 +0100 X-Google-Sender-Auth: 1W3tYkKxe7Z-I6rKzCxzJdxVb28 Message-ID: Subject: bug in dhclient / dhclient.conf / dhcp-options parser? From: CeDeROM To: FreeBSD Questions Mailing List , freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Nov 2013 14:09:18 -0000 Hello :-) I need to send additional options with dhcp request, so I add "send" option for an interface in /etc/dhclient.conf, however options are non-standard and they use option value below 100 and they are not sent in dhcp request. I have noticed that other options with names known to dhcp-options and decimal numbers above 100 are sent correctly, so maybe there is an error in the options number parser, or I do something wrong? Here is my example /etc/dhclient.conf configuation: interface "em0"{ send option-060 "vendor"; <-- does not go out in dhcp request send option-077 "user"; <-- does not go out in dhcp request send option-123 "blah123"; <-- goes out in dhcp request send root-path "blahroot"; <-- goes out in dhcp request } Please advise, quick solution appreciated :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info