Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Oct 1998 10:27:17 -0500
From:      "Norman C. Rice" <nrice@emu.sourcee.com>
To:        Joe Marcus Clarke <marcus@jaguar.ir.miami.edu>, Arisandy <sandy@divre5.telkom.co.id>
Cc:        FreeBSD Question <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Ethernet Aliases??
Message-ID:  <19981029102717.A8552@emu.sourcee.com>
In-Reply-To: <Pine.OSF.4.05.9810290944150.11869-100000@jaguar.ir.miami.edu>; from Joe Marcus Clarke on Thu, Oct 29, 1998 at 09:47:35AM -0500
References:  <000b01be034a$4a1bed40$780c600a@sandy.divre5.net> <Pine.OSF.4.05.9810290944150.11869-100000@jaguar.ir.miami.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <sandy@divre5.telkom.co.id>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981029102717.A8552>