From owner-freebsd-net Sat Feb 15 22:55: 2 2003 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF0E337B401 for ; Sat, 15 Feb 2003 22:54:59 -0800 (PST) Received: from Colo2.infotex.ws (colo2.paradigmsecurity.net [66.139.73.146]) by mx1.FreeBSD.org (Postfix) with SMTP id C5EF343FDD for ; Sat, 15 Feb 2003 22:54:57 -0800 (PST) (envelope-from matt@jonkmans.com) Received: (qmail 15269 invoked from network); 16 Feb 2003 06:56:17 -0000 Received: from jonkman.wintek.com (HELO killer) (208.23.142.212) by colo2.paradigmsecurity.net with SMTP; 16 Feb 2003 06:56:17 -0000 From: "Matthew Jonkman" To: "'Giorgos Keramidas'" , "'Matthew Jonkman'" Cc: Subject: RE: 5.0-REL alias problem Date: Sun, 16 Feb 2003 01:54:53 -0500 Message-ID: <35918F41AED5B54FAC677253128E6AAE17759E@koksrv1.bmmcpas.local> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <20030216040641.GA566@gothmog.gr> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 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 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 ) status: active lp0: flags=8810 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 ng0: flags=8890 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 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 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 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