From owner-freebsd-isp Fri Feb 14 10:08:58 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA20260 for isp-outgoing; Fri, 14 Feb 1997 10:08:58 -0800 (PST) Received: from itesocci.gdl.iteso.mx (itesocci.gdl.iteso.mx [148.201.1.4]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA20255 for ; Fri, 14 Feb 1997 10:08:55 -0800 (PST) Received: from localhost (cacho@localhost) by itesocci.gdl.iteso.mx (8.8.5/8.7.3) with SMTP id MAA03211; Fri, 14 Feb 1997 12:08:44 -0600 (CST) Date: Fri, 14 Feb 1997 12:08:44 -0600 (CST) From: Hector Gonzalez Jaime To: Ernie Elu cc: freebsd-isp@freebsd.org Subject: Re: Aliases In-Reply-To: <199702141200.WAA23654@spooky.eis.net.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 14 Feb 1997, Ernie Elu wrote: > ifconfig ed0 alias a.b.c.d netmask 0xffffffff > ifconfig ed0 alias e.f.g.h netmask 0xffffffff we sometimes need to add a route to the aliased interface, and when that is done, it always works (ed0 aliases, 2.1.x, I've had this aliases with routes since 2.1 ) I've even tried it now with 3.0-current as of two weeks ago, and it works, just add the following lines after you ifconfig your aliases: route -n add a.b.c.d 127.0.0.1 route -n add e.f.g.h 127.0.0.1 (the -n prevents the dns lookup, I'm too impatient :)