Subject: ifconfig alias
To: NetBSD-current Users <current-users@NetBSD.ORG>
From: Tom T. Thai <tomthai@future.net>
List: current-users
Date: 12/02/1997 05:18:30
i used to have no problems doing (on 1.0A NetBSD):

ifconfig ed0 inet 204.130.134.30 netmask 255.255.255.0 alias

but now on 1.2d and g, I get errors:
# netstat -ni
Name  Mtu   Network       Address              Ipkts Ierrs    Opkts Oerrs Coll
ed0   1500  <Link>        00:00:c0:08:66:b0 31094962     0 39742707    43 43171
ed0   1500  204.130.134   204.130.134.1     31094962     0 39742707    43 43171
lo0   32976 <Link>                           5824506     0  5824506     0 0
lo0   32976 127           127.0.0.1          5824506     0  5824506     0 0
ppp0* 1500  <Link>                               364     0      233     0 0
ppp1* 1500  <Link>                                 0     0        0     0 0
tun0* 1500  <Link>                                 0     0        0     0 0
tun1* 1500  <Link>                                 0     0        0     0 0
# ifconfig ed0 inet alias 204.130.134.30
ifconfig: SIOCAIFADDR: File exists

# netstat -ni
Name  Mtu   Network       Address              Ipkts Ierrs    Opkts Oerrs Coll
...
ed0   1500  204.130.134   204.130.134.30    31098790     0 39747439    43 43172
...


Is something not right?
..............          ....................................
Thomas T. Thai          Infomedia Interactive Communications
tom@iic.net             TEL 612.376.9090 * FAX 612.376.9087