Subject: How to set a second ip address on a device
To: None <netbsd-users@NetBSD.org>
From: Oliver Egginger <Oliver.Egginger@dvz.fh-giessen.de>
List: netbsd-users
Date: 10/20/2003 15:37:05
Hello again,

I have one network adapter and want to have two ip addresses on it. In
/etc/rc.conf I got:

ifconfig_ex0="xxx.xxx.xxx.xxx netmask 255.255.255.192"
defaultroute="xxx.xxx.xxx.xxx"
hostname="my_hostname.dvz.fh-giessen.de"
auto_ifconfig=YES

This works very nice. But now I want to have another ip on ex0. How can
I do that? I temped this rc.conf line:
	ifconfig_ex0:0="192.168.192.88 netmask 255.255.255.0"
This would be the linux-way, but it don't seems to work with NetBSD.

- oliver