Date: Sun, 16 Feb 2003 01:54:53 -0500 From: "Matthew Jonkman" <matt@jonkmans.com> To: "'Giorgos Keramidas'" <keramida@ceid.upatras.gr>, "'Matthew Jonkman'" <matt@infotex.ws> Cc: <freebsd-net@freebsd.org> Subject: RE: 5.0-REL alias problem Message-ID: <35918F41AED5B54FAC677253128E6AAE17759E@koksrv1.bmmcpas.local> In-Reply-To: <20030216040641.GA566@gothmog.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
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: owner-freebsd-net@FreeBSD.ORG
[mailto:owner-freebsd-net@FreeBSD.ORG] On Behalf Of Giorgos Keramidas
Sent: Saturday, February 15, 2003 11:07 PM
To: Matthew Jonkman
Cc: freebsd-net@freebsd.org
Subject: Re: 5.0-REL alias problem
On 2003-02-10 14:59, Matthew Jonkman <matt@infotex.ws> 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 majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35918F41AED5B54FAC677253128E6AAE17759E>
