Subject: Re: IP aliases and access on the same system
To: Andrew Brown <atatat@atatdot.net>
From: Richard Pennington <rich@introl.com>
List: netbsd-help
Date: 09/18/2001 06:49:38
On Monday 17 September 2001 10:15 am, Andrew Brown wrote:
> >Hmm. My ifconfig.ex0 is:
> >
> >192.124.43.90 netmask 0xffffffe0 media 100BaseTX-FDX
> >192.124.43.89 alias netmask 0xffffffe0
> >192.124.43.88 alias netmask 0xffffffe0
> >192.124.43.87 alias netmask 0xffffffe0
> >192.124.43.70 alias netmask 0xffffffe0
> >
> >but the IPs aren't available until I manually add the routes.
>
> since all these addresses are in the same subnet, you ought to be able
> to just change the netmasks on the aliases to 255.255.255.255 (aka
> 0xffffffff) and then the routes should show up properly.

Thank you Andrew. I changed the netmask for the aliases to 0xffffffff and 
removed the "route add"s.  Every works just as as you said.

-Rich