network.subr _aliasN handling

Matthew D. Fuller fullermd at over-yonder.net
Fri Jan 3 17:27:26 UTC 2014


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 at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.


More information about the freebsd-net mailing list