From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 8 07:43:38 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B5598106566C; Fri, 8 Jun 2012 07:43:38 +0000 (UTC) (envelope-from melifaro@FreeBSD.org) Received: from mail.ipfw.ru (unknown [IPv6:2a01:4f8:120:6141::2]) by mx1.freebsd.org (Postfix) with ESMTP id 4DA4A8FC16; Fri, 8 Jun 2012 07:43:38 +0000 (UTC) Received: from v6.mpls.in ([2a02:978:2::5] helo=ws.su29.net) by mail.ipfw.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76 (FreeBSD)) (envelope-from ) id 1SctrG-0005br-30; Fri, 08 Jun 2012 11:43:46 +0400 Message-ID: <4FD1AD1D.4050308@FreeBSD.org> Date: Fri, 08 Jun 2012 11:43:25 +0400 From: "Alexander V. Chernikov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120121 Thunderbird/9.0 MIME-Version: 1.0 To: Jonathan McKeown References: <4FD0C1F4.2060108@FreeBSD.org> <201206080920.56986.j.mckeown@ru.ac.za> In-Reply-To: <201206080920.56986.j.mckeown@ru.ac.za> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, 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: Fri, 08 Jun 2012 07:43:38 -0000 On 08.06.2012 11:20, Jonathan McKeown wrote: > On Thursday 07 June 2012 17:00:04 Alexander V. Chernikov wrote: >> Hello list! >> >> Since the early days ifconfig(8) has the following functionality: > > [hostname in place of literal address] > >> Moreover, ifconfig em0 some_valid_fqdn/MASK silently ignores it, so you >> can't set valid CIDR address using this notation. > > I'm not sure that's true. Have you tried it? Because it seems to work here. Strangely enough, it works on another machine. Ok, this one works and can unfortunately be used by other people. However, original question remains. > > Jonathan >