From owner-freebsd-questions Thu Nov 16 00:53:03 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA14774 for questions-outgoing; Thu, 16 Nov 1995 00:53:03 -0800 Received: from who.cdrom.com (who.cdrom.com [192.216.222.3]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA14762 for ; Thu, 16 Nov 1995 00:53:00 -0800 Received: from gw.muc.ditec.de (gw.muc.ditec.de [194.120.126.3]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id AAA25760 for ; Thu, 16 Nov 1995 00:52:52 -0800 Received: from tartufo.muc.ditec.de (tartufo.muc.ditec.de [134.98.18.2]) by gw.muc.ditec.de (8.6.11/8.6.9) with SMTP id JAA19095 for ; Thu, 16 Nov 1995 09:51:14 +0100 Received: by tartufo.muc.ditec.de (/\=-/\ Smail3.1.16.1 #16.39) id ; Thu, 16 Nov 95 09:51 MET Message-Id: From: me@tartufo.muc.ditec.de (Michael Elbel) Subject: Re: How do I setup IP aliases? To: questions@freebsd.org Date: Thu, 16 Nov 1995 09:51:47 +0100 (MET) In-Reply-To: <9511151711.AA26207@halloran-eldar.lcs.mit.edu> from "Garrett A. Wollman" at Nov 15, 95 12:11:51 pm X-Mailer: ELM [version 2.4 PL21] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 893 Sender: owner-questions@freebsd.org Precedence: bulk > > ifconfig de0 134.98.17.10 netmask 0xffffff00 > > ifconfig de0 alias 134.98.18.10 netmask 0xffffffff > > ifconfig de0 alias 134.98.19.10 netmask 0xffffffff > > > Should I expect problems, or am I understanding something wrong? > > Yes. You should expect to be unable to contact any other host on the > 134.98.18 and 134.98.19 subnets. > Aah, now I begin to understand. Am I right that giving netmask 0xffffffff I prevent another route to the respective net from being added? The netmask 0xffffffff aliases *do* work for me, but I have to say route add net 134.98.18 -interface 134.98.18.10 route add net 134.98.19 -interface 134.98.19.10 I've just checked and with netmask 0xffffff00 those routes get added automatically. "Elbel, sit down and read about IP basics again" :-) Michael -- Michael Elbel, DITEC, Muenchen, Germany - me@muc.ditec.de Fermentation fault (coors dumped)