Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2002 15:35:25 -0700
From:      Sean Chittenden <sean@chittenden.org>
To:        Cyrille Lefevre <cyrille.lefevre@laposte.net>
Cc:        freebsd stable <freebsd-stable@FreeBSD.org>
Subject:   Re: unable to alias more than 1 ip address in a subnet
Message-ID:  <20020624153525.C30655@ninja1.internal>
In-Reply-To: <200206242154.g5OLsbql001728@gits.gits.dyndns.org>; from "cyrille.lefevre@laposte.net" on Mon, Jun 24, 2002 at = 11:54:37PM
References:  <200206242154.g5OLsbql001728@gits.gits.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <sean@chittenden.org>

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




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