From owner-freebsd-stable Mon Jun 24 15:35:40 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.tgd.net (mail.tgd.net [209.81.25.10]) by hub.freebsd.org (Postfix) with ESMTP id 45ED437B6E3 for ; Mon, 24 Jun 2002 15:35:26 -0700 (PDT) Received: by mail.tgd.net (Postfix, from userid 1001) id D0B3B20F02; Mon, 24 Jun 2002 15:35:25 -0700 (PDT) Date: Mon, 24 Jun 2002 15:35:25 -0700 From: Sean Chittenden To: Cyrille Lefevre Cc: freebsd stable Subject: Re: unable to alias more than 1 ip address in a subnet Message-ID: <20020624153525.C30655@ninja1.internal> References: <200206242154.g5OLsbql001728@gits.gits.dyndns.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200206242154.g5OLsbql001728@gits.gits.dyndns.org>; from "cyrille.lefevre@laposte.net" on Mon, Jun 24, 2002 at = 11:54:37PM X-PGP-Key: 0x1EDDFAAD X-PGP-Fingerprint: C665 A17F 9A56 286C 5CFB 1DEA 9F4F 5CEF 1EDD FAAD X-Web-Homepage: http://sean.chittenden.org/ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > there is no problem to create a new alias in another subnet, but no > more : >=20 > # ifconfig ep0 inet alias 192.168.146.96 > (ok) > # ifconfig ep0 inet alias 192.168.146.97=20 > ifconfig: ioctl (SIOCAIFADDR): File exists > # ifconfig ep0=20 > ep0: flags=3D8843 mtu 1500 > inet 212.198.229.153 netmask 0xffffff00 broadcast 212.198.229.255 > inet 192.168.144.96 netmask 0xffffff00 broadcast 192.168.144.255 > inet 192.168.146.96 netmask 0xffffff00 broadcast 192.168.146.255 > ether 00:60:08:1a:9a:37 > media: Ethernet 10baseT/UTP >=20 > any idea ? Use 255.255.255.255 or 0xffffffff as your netmask instead. -sc --=20 Sean Chittenden --3V7upXqbjpZ4EhLz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Comment: Sean Chittenden iD8DBQE9F56sn09c7x7d+q0RAs/4AKDCB1S/pwY8E4lzmytLtWg/D83VgQCeOrK8 3AiquQmJhfOnQVAlQPYOetE= =b4Ge -----END PGP SIGNATURE----- --3V7upXqbjpZ4EhLz-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message