Subject: Re: How do I properly add aliased IPs
To: netbsd-users@netbsd.org, Mark Saad <nonesuch@bad-apples.org>
From: Mark Saad <nonesuch@bad-apples.org>
List: netbsd-users
Date: 04/04/2006 14:06:21
Jukka
Thanks that worked . One thing I am not sure of is the message that
shows up when I restart networking, any ideas ?
# /etc/rc.d/network restart
Stopping network.
Deleting aliases.
ifconfig: SIOCDIFADDR: Can't assign requested address
ifconfig: SIOCDIFADDR: Can't assign requested address
ifconfig: SIOCDIFADDR: Can't assign requested address
Downing network interfaces: fxp0.
Jukka Salmi wrote:
> Mark Saad --> netbsd-users (2006-04-04 12:40:26 -0400):
>
>> Hello
>> I tried that and here is what happens I am still scratching my head
>> on this one .
>>
>> rc.conf snipet
>>
>> ifconfig_fxp0="209.18.118.10 netmask 255.255.255.0"
>> ifaliases_fxp0="209.18.118.11 -"
>> ifaliases_fxp0="209.18.118.12 -"
>>
>
> You overwrite ifaliases_fxp0 here. Try setting
>
> ifaliases_fxp0='209.18.118.11 - 209.18.118.12 -'
>
> instead.
>
>
> HTH, Jukka
>
>
--
Mark Saad
nonesuch@bad-apples.org