From owner-freebsd-net@freebsd.org Mon Jul 27 19:19:34 2015 Return-Path: Delivered-To: freebsd-net@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 5D6609AC497 for ; Mon, 27 Jul 2015 19:19:34 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: from mail-ig0-x231.google.com (mail-ig0-x231.google.com [IPv6:2607:f8b0:4001:c05::231]) (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 2067BF62 for ; Mon, 27 Jul 2015 19:19:34 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: by igk11 with SMTP id 11so76012331igk.1 for ; Mon, 27 Jul 2015 12:19:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=/jmdwkatw5UYxQw1JkSeFBo2AMDG6GFc8ihnfNnLhME=; b=azB4n/rgn/kp7DfAa7s2RMexnRyWfJyMgS/9sJdTxqF0VXkOYKKCeYGvVDTPWnPerx 1tobbhizRun0WhTvmvhVg1mbL46ehLrLhsC1CU986HP89fSmPC3mVXoHmLBHGlz0RaOu 3Pgm5HAgefsoVcAq0d17l5X32h8JiFyYwY0jw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=/jmdwkatw5UYxQw1JkSeFBo2AMDG6GFc8ihnfNnLhME=; b=QP37rkPP6cYZD2976qtuDI0AM+p3AOtNklKJie5/jlDBzkFHyJc2bdHLuziOILr12j VHCrhmXlCHO6GCt7+3x0OC3lKxUqdas5kUibfb2y+AX4Rmf5cJp3oVrFiytUYKFYcqtt BT0QXbpnRaJ2KQILWv7s5SstedBdYbT8WqA77XXyHwn6d6iBN3Ln9AasmzSTtYwZnGw9 UdkbemAa/aiP1JCtTBc502fhrq0ZOwO46FQSCA5c5VVhGr+fpUwxw8DeNZabihvuk7ts YCArkZBOrXHcW506IO9HCYewNGNG+aKXDdqffqASNi5SDA0IFRDfxm11wPK6rAMBJMjv jQ6w== X-Gm-Message-State: ALoCoQnTO6N2HSOveqJNCGy8Wxt7TE6gaJiQcY/5tM1hM5h0PbnzIk34SyAvaAEx0mb2aJG25zaR X-Received: by 10.50.73.170 with SMTP id m10mr21374009igv.60.1438024773610; Mon, 27 Jul 2015 12:19:33 -0700 (PDT) Received: from [192.168.8.21] ([66.195.151.70]) by smtp.gmail.com with ESMTPSA id ht6sm6655350igb.11.2015.07.27.12.19.32 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 27 Jul 2015 12:19:33 -0700 (PDT) Subject: Re: [RFC] ifconfig description Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Content-Type: text/plain; charset="utf8"; X-Pgp-Agent: GPGMail 2.5 From: Jason Hellenthal In-Reply-To: Date: Mon, 27 Jul 2015 14:19:31 -0500 Cc: FreeBSD Net Content-Transfer-Encoding: 8bit Message-Id: <5575FAD8-B044-46A2-9942-F1451E754435@dataix.net> References: To: Freddie Cash X-Mailer: Apple Mail (2.2102) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2015 19:19:34 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Yeah thats pretty much what I’m doing right now. Attempting to match up some interfaces and throw a valuable description on each interface. With vlan interfaces I have not been successful at anything but manual configuration thus far. On Jul 27, 2015, at 14:02, Freddie Cash wrote: On Mon, Jul 27, 2015 at 11:56 AM, Jason Hellenthal wrote: - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Matter of fact … could someone commit this ? https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=156675 No clue why it was closed for something that is so simple to do. ​It was already merged (R​223858). Looking at /etc/network.subr on a 10.0-RELEASE system shows the eval line. So, it looks like one can just add " description something cool to describe interface" to ​the end of the ifconfig_IF= line. Not as neat and organised as having a separate ifconfig_IF_description variable to set, but still very much workable. Thanks for the pointer in the right direction. Now to play with it at work. :) - -- Freddie Cash fjwcash@gmail.com - -- Jason Hellenthal JJH48-ARIN -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJVtoRDAAoJEDLu+wRc4KcIZ98H/i4+B4jiyNzP9yRevwMUgg6t QH+5fwhyfAFMOwuKmtLuFhdF5yx7KjII0/I8CWhy0SrYa83vHG83kW2TRD6q8iwy fpl4HJC07ttD+mY/CtOfIhY6gh8aG/eIK7r73ctHJdPbcnIHH+qMLgrGKAA26Zmc ZKBMHu12KSbmU6B4kv4b4diKptNgFCxeF3BhHxE7edJlSyP8h1N2AFcw89TrnYb+ HhKoSbj+Qz+D4IjtNt6HXrgTUkEeoDj32QVSOWkNnCIne5/uzkgK37+DA5RnaqoB 0b4OnO6VKL6kuKjKtkjjMJw8VMK8YmphEbwEUboftmjQhb3dWjW20cdQ+DdH5zA= =Opeb -----END PGP SIGNATURE-----