From owner-freebsd-questions Fri Aug 31 18:56:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tomts8-srv.bellnexxia.net (tomts8.bellnexxia.net [209.226.175.52]) by hub.freebsd.org (Postfix) with ESMTP id 585C837B409 for ; Fri, 31 Aug 2001 18:56:17 -0700 (PDT) Received: from xena.gsicomp.on.ca ([64.228.155.124]) by tomts8-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20010901015616.CWXH27547.tomts8-srv.bellnexxia.net@xena.gsicomp.on.ca>; Fri, 31 Aug 2001 21:56:16 -0400 Received: from localhost (matt@localhost) by xena.gsicomp.on.ca (8.11.1/8.11.1) with ESMTP id f811nU902339; Fri, 31 Aug 2001 21:49:31 -0400 (EDT) (envelope-from matt@xena.gsicomp.on.ca) Date: Fri, 31 Aug 2001 21:49:30 -0400 (EDT) From: Matthew Emmerton To: Bryce Newall Cc: FreeBSD Questions List Subject: Re: Multiple aliases, can't ping each other In-Reply-To: <20010831180558.D525-100000@dreamhaven.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 31 Aug 2001, Bryce Newall wrote: > Greetings all, > > I'm writing on behalf of a friend of mine who has a FreeBSD box with 1 > ethernet interface, with 4 IP addresses attached to it. In the list > below, the first IP address is the machine's "primary" IP, and the other 3 > are aliases: > > xl0: flags=8843 mtu 1500 > inet xx.yy.17.211 netmask 0xfffffff8 broadcast xx.yy.17.215 > inet xx.yy.17.210 netmask 0xfffffff8 broadcast xx.yy.17.215 > inet xx.yy.17.212 netmask 0xfffffff8 broadcast xx.yy.17.215 > inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 > > (I have blotted out the first 2 octets of the internet visible IP > addresses for security reasons.) > > The problem is that I cannot ping the .210 or .212 addresses from the > local host, although I *can* ping 10.0.0.1. Aliases on the same subnet as the "primary" IP for an interface *must* have the all-one's netmaks (255.255.255.255), as outlined in ifconfig(8). -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message