From owner-freebsd-questions Thu Nov 16 02:56:39 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA04179 for questions-outgoing; Thu, 16 Nov 1995 02:56:39 -0800 Received: from strider.ibenet.it (root@strider.ibenet.it [194.179.130.1]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id CAA04147 for ; Thu, 16 Nov 1995 02:56:23 -0800 Received: (from piero@localhost) by strider.ibenet.it (8.6.12/8.6.12) id LAA15220; Thu, 16 Nov 1995 11:49:57 +0100 From: Piero Serini Message-Id: <199511161049.LAA15220@strider.ibenet.it> Subject: Re: How do I setup IP aliases? To: team_fbf@pristine.com.tw (ywliu) Date: Thu, 16 Nov 1995 11:49:56 +0100 (MET) Cc: wollman@lcs.mit.edu, me@gw.muc.ditec.de, questions@FreeBSD.org In-Reply-To: <199511161147.LAA28103@neptune.pristine.com.tw> from "ywliu" at Nov 16, 95 11:47:27 am Reply-To: piero@strider.ibenet.it Operating-System: FreeBSD 1.1.5.1 X-Phone-Number: +39 (2) 58113562 X-NCC-RegID: it.ibenet X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1210 Sender: owner-questions@FreeBSD.org Precedence: bulk Hello. Quoting from ywliu (Thu Nov 16 12:47:27 1995): > > > 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. > > Could you elaborate on this more ? Why don't those two aliases work ? Because unless you run a routing protocol which understands vari- able subnetting, you just told your interface that you have a network 134.98.19.10 with a single address (134.98.19.10) and the network and broadcast addresses identical (both: 134.98.19.10). In other words, any address on the network 134.98.19.0 is seen as non-local, and your machine isn't able to contact them. The same for the other network 134.98.18.10. Please Garrett cor- rect me where I'm wrong (I'm sure you will). Bye, -- # $Id: .signature,v 1.12 1995/08/14 12:10:54 piero Exp $ Piero Serini Via Giambologna, 1 I 20136 Milano - ITALY