Subject: Re: ifconfig alias routing problems...
To: Herb Peyerl <hpeyerl@beer.org>
From: Randy Terbush <randy@zyzzyva.com>
List: current-users
Date: 10/19/1995 07:35:05
> Peter Seebach <seebs@solon.com>  wrote:
>  > I have an interface (le0) configured as 192.129.84.3.  I then
>  > ifconfig le0 alias 192.129.84.9
>  > ...This seems fine.  I can't ping the address .9, but
> 
> I've noticed this with a machine I have serving N web-domains.  It can't
> see any of its aliases even though the rest of the world can.

I'll confirm the same behaviour. The only solution I have found was to
first:

route delete IP
route add IP localhost

The following from 'netstat -rn' after doing a delete/add for .200

198.183.2.200    127.0.0.1          UGHS        0        2  lo0
198.183.2.201    127.0.0.1          UGHS        0        3  ep0
198.183.2.202    127.0.0.1          UGHS        0        0  ep0


Hmmm.  Seems that perhaps changing the alias command to:

ifconfig lo0 inet alias 198.183.2.200

might do the trick?  Maybe someone who knows this code my have
the answer?