From owner-freebsd-questions Sun Oct 5 13:04:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA06920 for questions-outgoing; Sun, 5 Oct 1997 13:04:51 -0700 (PDT) Received: from cedb.dpcsys.com (cedb.dpcsys.com [206.16.184.4]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA06910 for ; Sun, 5 Oct 1997 13:04:48 -0700 (PDT) Received: from localhost (dan@localhost) by cedb.dpcsys.com (8.8.5/8.8.2) with SMTP id TAA01710; Sun, 5 Oct 1997 19:59:34 GMT Date: Sun, 5 Oct 1997 12:59:34 -0700 (PDT) From: Dan Busarow To: Vladimir Litovka cc: freebsd-questions@FreeBSD.ORG Subject: Re: aliases on ed0 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 5 Oct 1997, Vladimir Litovka wrote: > > > try to add alias by calling > > > ifconfig ed0 inet 193.124.76.210 netmask 255.255.255.192 alias > > > > Change that to use a netmask of 255.255.255.255 and everything will > > work fine. > > Big thanks, :) but why? When you use the 192 netmask for the alias your are adding a *net* route to the routing table. You should have seen an error message like harvest.beach.net # ifconfig ed1 205.19.184.8 netmask 255.255.255.0 alias ifconfig: ioctl (SIOCAIFADDR): File exists because that route has already been added. When you use the 255 netmask ifconfig adds a *host* route. Dan -- Dan Busarow 714 443 4172 DPC Systems / Beach.Net dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82