From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 9 07:37:14 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05B591065670; Sat, 9 Jun 2012 07:37:14 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id A55198FC08; Sat, 9 Jun 2012 07:37:13 +0000 (UTC) Received: by obcni5 with SMTP id ni5so4550949obc.13 for ; Sat, 09 Jun 2012 00:37:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=BIbKVZwsjALX8L8FMYJ1qJ2GLI4GRYSrpEZQO9wlPc8=; b=ukcMo2UjTyuOWUUVd5obvojPz43flDn7DGZVJNnWRnkSN/uzCBs+gTjeHgY2yceuj/ SRsRJkAroJn65+GglzXTZbFjTUpMu+mS2Hr189kzH79OQM3fvQ0CVvVgV5+4Jo5zmURv IoW70qKRZNa4ZBy/00OWWUxH088k0yFDI9LFp/RStDjBnbkXY39Ca3aNpdi8vPdbKioN zaOQU44xuMChDpS2JFwurnLA6sLIB5Svk/64MtELux0t23ZTDJpBjY8vr/wTtByneR0Q AM1bQ7tIe45ZsdAMoy2u0+GL2eOQEM3baAHgC+dsCTlgAQKat8QxCtSCkv2EPYUPsm74 sQzQ== MIME-Version: 1.0 Received: by 10.182.154.67 with SMTP id vm3mr9799878obb.57.1339227433145; Sat, 09 Jun 2012 00:37:13 -0700 (PDT) Received: by 10.76.98.77 with HTTP; Sat, 9 Jun 2012 00:37:13 -0700 (PDT) In-Reply-To: References: <4FD0C1F4.2060108@FreeBSD.org> Date: Sat, 9 Jun 2012 00:37:13 -0700 Message-ID: From: Garrett Cooper To: Wojciech Puchar Content-Type: text/plain; charset=ISO-8859-1 Cc: hackers@freebsd.org, "Alexander V. Chernikov" , net@freebsd.org Subject: Re: ifconfig accepting hostname as ipv4 address X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2012 07:37:14 -0000 On Sat, Jun 9, 2012 at 12:23 AM, Wojciech Puchar wrote: >> input. >> Moreover, ifconfig em0 some_valid_fqdn/MASK silently ignores it, so you >> can't set valid CIDR address using this notation. >> >> Classful era has ended more than 10 years ago, do we still want to keep >> this behavior? >> > were not aware of that option, and it is rather stupid option - you should > work on addresses not names when configuring network I agree that it's not the best configuration in the world, as it would only work 100% if a machine had proper DNS records or a definitive hosts file. There are already enough bugs with static IP configurations and hostnames as-is *I'm looking at you mountlate* -- no sense to introduce more potentially buggy interoperability that only works in a handful of niche cases. Thanks, -Garrett