From owner-freebsd-questions Fri May 26 06:39:43 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id GAA25707 for questions-outgoing; Fri, 26 May 1995 06:39:43 -0700 Received: from leo.ibms.sinica.edu.tw ([140.109.40.249]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id GAA25699 for ; Fri, 26 May 1995 06:39:36 -0700 Received: (from taob@localhost) by leo.ibms.sinica.edu.tw (8.6.11/8.6.9) id VAA26791; Fri, 26 May 1995 21:38:00 +0800 Date: Fri, 26 May 1995 21:38:00 +0800 (CST) From: Brian Tao To: Garrett Wollman cc: freebsd-questions@FreeBSD.org Subject: Re: How Many IPs Can An Interface Take ? In-Reply-To: <9505241724.AA00383@halloran-eldar.lcs.mit.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: questions-owner@FreeBSD.org Precedence: bulk On Wed, 24 May 1995, Garrett Wollman wrote: > > > # foreach i (`seq 65 100 1 140.109.40.`) > > foreach? ifconfig ed1 inet $d netmask 0xffffff00 alias > ^^^^^^^^^^ should be all-ones It doesn't seem to work for me. There is a long pause between the command and the error: # ifconfig ed1 inet 140.109.40.238 netmask 0xffffffff alias ifconfig: 0xffffffff: bad value > root@khavrinen$ ifconfig ed0 alias 18.26.25.25 netmask 255.255.255.255 But if I use 255.255.255.255 for the netmask, it works! Shouldn't both notations be correct? -- Brian ("Though this be madness, yet there is method in't") Tao taob@gate.sinica.edu.tw <-- work ........ play --> taob@io.org