From owner-freebsd-current@FreeBSD.ORG Wed Apr 9 07:30:00 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D38A37B401 for ; Wed, 9 Apr 2003 07:30:00 -0700 (PDT) Received: from freebsd.org.ru (sweet.etrust.ru [194.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8327643FA3 for ; Wed, 9 Apr 2003 07:29:59 -0700 (PDT) (envelope-from osa@freebsd.org.ru) Received: by freebsd.org.ru (Postfix, from userid 1000) id 0F87C6B; Wed, 9 Apr 2003 18:29:58 +0400 (MSD) Date: Wed, 9 Apr 2003 18:29:58 +0400 From: "Sergey A. Osokin" To: Jacques Beigbeder Message-ID: <20030409142957.GW37669@freebsd.org.ru> References: <20030409141422.GA20752@trefle.ens.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030409141422.GA20752@trefle.ens.fr> User-Agent: Mutt/1.5.4i cc: freebsd-current@freebsd.org Subject: Re: 4.7 IP alias ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: osa@FreeBSD.org.ru List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2003 14:30:00 -0000 On Wed, Apr 09, 2003 at 04:14:22PM +0200, Jacques Beigbeder wrote: > I have a host with GENERIC 4.7 kernel: > > # uname -a > FreeBSD federation 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct 9 15:08:34 GMT ... > > I have an interface like: > > # ifconfig fxp0 > fxp0: flags=8843 mtu 1500 > inet x.y.z.16 netmask 0xffffff00 broadcast x.y.z.255 > inet6 fe80::2b0:d0ff:feea:7442%fxp0 prefixlen 64 scopeid 0x1 > ether 00:b0:d0:ea:74:42 > media: Ethernet autoselect (10baseT/UTP) > status: active > > The other interface (fxp1) is unused. > > Then I try to set an IP alias, same interface, same network, another > IP address, the end is .250 instead of .16. > > # ifconfig fxp0 x.y.z.250 netmask 255.255.255.0 broadcast x.y.z.255 alias > ifconfig: ioctl (SIOCAIFADDR): File exists Alias must be with 0xffffffff netmask. Please read ifconfig(8). > Why does this command fails? > I'm used to use this on 3.4, 4.5... Please do not use -current mail list for resolve your problem with -STABLE (or -RELEASES) version of FreeBSD. Please address your problem to -stable maillist. Thanks. -- Rgdz, /"\ ASCII RIBBON CAMPAIGN Sergey Osokin aka oZZ, \ / AGAINST HTML MAIL http://ozz.pp.ru/ X AND NEWS / \