As far as I know, but please detail what they should be. I've made more
than my share of dumb mistakes in my lifetime.
Here's an example of adding a new one. No aliasas will set now, I've
tried to do them in rc.conf.

# ifconfig 
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet XXX.XXX.44.91 netmask 0xfffffff8 broadcast XXX.XXX.44.95
        ether 00:05:5d:32:c6:9c
        media: Ethernet autoselect (10baseT/UTP)
        status: active
rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
        ether 00:50:70:d1:17:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000 
ng0: flags=8890<POINTOPOINT,NOARP,SIMPLEX,MULTICAST> mtu 1500
 # ifconfig rl0 alias XXX.XXX.44.92 netmask 255.255.255.248
ifconfig: ioctl (SIOCAIFADDR): File exists

IP's altered to protect innocent firewalls.

----------------------------------------------------
Matt



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Giorgos Keramidas
Sent: Saturday, February 15, 2003 11:07 PM
To: Matthew Jonkman
Cc: [EMAIL PROTECTED]
Subject: Re: 5.0-REL alias problem


On 2003-02-10 14:59, Matthew Jonkman <[EMAIL PROTECTED]> wrote:
> I can't add more than one alias to an interface on a new install of
> 5.0-rel.
>
> I have tried specifying every possible detail of the alias but no
> change, just get this:
>
> ifconfig: ioctl (SIOCAIFADDR): File exists
>
> The first alias works fine, can't add more. Notable details: The
aliases
> are in the same subnet but trying aliases in other subnets has the
same
> effect.

Hmmm, are you sure you're using the correct ifconfig params?

# ifconfig lo0 127.0.0.2 netmask 255.255.255.255 alias
# ifconfig lo0
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
        inet 127.0.0.2 netmask 0xffffffff
# ifconfig lo0 127.0.0.2 netmask 255.255.255.255 -alias
# ifconfig lo0
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
#

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to