From owner-freebsd-questions Thu Oct 29 07:28:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA06724 for freebsd-questions-outgoing; Thu, 29 Oct 1998 07:28:41 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from emu.sourcee.com (emu.sourcee.com [199.201.159.173]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA06718 for ; Thu, 29 Oct 1998 07:28:38 -0800 (PST) (envelope-from nrice@emu.sourcee.com) Received: (from nrice@localhost) by emu.sourcee.com (8.9.1/8.9.1) id KAA08565; Thu, 29 Oct 1998 10:27:17 -0500 (EST) Message-ID: <19981029102717.A8552@emu.sourcee.com> Date: Thu, 29 Oct 1998 10:27:17 -0500 From: "Norman C. Rice" To: Joe Marcus Clarke , Arisandy Cc: FreeBSD Question Subject: Re: Ethernet Aliases?? References: <000b01be034a$4a1bed40$780c600a@sandy.divre5.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Joe Marcus Clarke on Thu, Oct 29, 1998 at 09:47:35AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Oct 29, 1998 at 09:47:35AM -0500, Joe Marcus Clarke wrote: > You cannot assign a secondary address to an interface that already has an > address in that network. I believe that you can by specifying a netmask of 0xffffffff for all aliases on the same net. > So think of 10.96.12.0/24 as already bound to > xl0/ You can only alias another subnet now (e.g. 10.96.5.0/24). Why are > you trying to add two addresses in the same net to your card? > > Joe Clarke > > On Thu, 29 Oct 1998, Arisandy wrote: > > > I'm running 3.0-Release > > and use 3Com 905 (xl0) > > My existing Ip address is 10.96.12.120 and I wanna make alias > > 10.96.12.121 and 122 with netmask 255.255.255.0 <--all of this intranet ip > > address > > > > I try with: > > ifconfig xl0 alias 10.96.12.121 netmask 0xffffff00 ^^^^^^^^^^ Try 0xffffffff -- Regards, Norman C. Rice, Jr. > > but there is message: > > ifconfig: ioctl (SIOAIFADDR): File Exists > > I couldn't ping the alias ip address??? > > > > but when I try other segment 10.96.5.121 it success?? > > so what wrong with my segment?? > > my gateway is 10.96.12.1 > > > > > > > > -- > > Wassalam, > > Arisandy Arief To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message