Subject: Re: Can't access aliased IPs on same box
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Paul Hoffman <phoffman@proper.com>
List: netbsd-help
Date: 06/25/2001 15:07:26
At 9:48 PM +0200 6/25/01, Manuel Bouyer wrote:
>On Sun, Jun 24, 2001 at 06:41:05PM -0700, Paul Hoffman wrote:
>>  Greetings again. I have a multihomed box. The /etc/ifconfig.fxp0 starts out:
>>
>>  inet a.b.c.39 netmask 255.255.255.224 media autoselect
>>  inet a.b.c.40 netmask 255.255.255.224 alias
>>  inet a.b.c.41 netmask 255.255.255.224 alias
>
>When there is aliases on the same subnet as the primary IP, I would
>recommend using 255.255.255.255 netmasks for aliases. This is what I
>do and it works well.

And it fixes my problem. I did this instead of the /etc/ifalias file 
based on the other messages on this list. So the short answer is 
"always use netmask 255.255.255.255 for aliases if they are on the 
same subnet as the primary IP".