Subject: Re: route
To: None <pototo2002@netscape.net>
From: Herb Peyerl <hpeyerl@beer.org>
List: netbsd-help
Date: 08/04/2002 07:52:00
pototo2002@netscape.net  wrote:
 > I'm configuring vituals hosts with apache and bind.

I wouldn't use virtual IP's with apache, I'd use named virtual
hosts... but that's not the question you asked.

 > When I did it on Linux I had to use the following command
 > router add -host 206.171.30.4 dev eth0:0
 > Now I would like to do the same with NetBSD and I know that with NetBSD 
 > it's not router, it's route but I cant config it anyway. Does any know 

I assume you mean 'how do I add interface aliases'.

Under NetBSD:

   ifconfig foo0 alias 206.171.30.4 netmask 255.255.255.0

or in /etc/ifconfig.foo0:

   inet 206.171.30.4 netmask 255.255.255.0 alias