From owner-freebsd-net@FreeBSD.ORG Fri Jan 3 17:27:26 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D06BEEB9; Fri, 3 Jan 2014 17:27:26 +0000 (UTC) Received: from thyme.infocus-llc.com (server.infocus-llc.com [206.156.254.44]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 772E210E0; Fri, 3 Jan 2014 17:27:25 +0000 (UTC) Received: from draco.over-yonder.net (c-75-65-60-66.hsd1.ms.comcast.net [75.65.60.66]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by thyme.infocus-llc.com (Postfix) with ESMTPSA id DF5FE37B5AB; Fri, 3 Jan 2014 11:27:18 -0600 (CST) Received: by draco.over-yonder.net (Postfix, from userid 100) id 3dwtN52DQ7zKwS; Fri, 3 Jan 2014 11:27:17 -0600 (CST) Date: Fri, 3 Jan 2014 11:27:17 -0600 From: "Matthew D. Fuller" To: Mark Felder Subject: Re: network.subr _aliasN handling Message-ID: <20140103172717.GJ99219@over-yonder.net> References: <20131228055324.GA72764@aim7400.DataIX.local> <1388769205.18631.66232001.48DB5958@webmail.messagingengine.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1388769205.18631.66232001.48DB5958@webmail.messagingengine.com> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.22 (2013-10-16) X-Virus-Scanned: clamav-milter 0.98 at thyme.infocus-llc.com X-Virus-Status: Clean Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jan 2014 17:27:26 -0000 On Fri, Jan 03, 2014 at 11:13:25AM -0600 I heard the voice of Mark Felder, and lo! it spake thus: > > Commit this and I'll buy you a beverage of your choice the next time > I run into you :-) I have webservers with a hundred or more aliases, > each followed by a comment like: > > ifconfig_em0_aliasXX="1.2.3.4/32" # customer or vhost name That may suggest even moving it away from numbers, so you could rack up ifconfig_em0_alias_annoyingcustomer="1.2.3.4/32" and the like instead. Would even open up future possibilities through rc for running a single one of the aliases, which would be handy as a double-check when you add a new one to a running system. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.