From owner-freebsd-hackers Mon Sep 21 05:23:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA26649 for freebsd-hackers-outgoing; Mon, 21 Sep 1998 05:23:08 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from citadel.cdsec.com (citadel.cdsec.com [192.96.22.18]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA26589 for ; Mon, 21 Sep 1998 05:22:55 -0700 (PDT) (envelope-from gram@cdsec.com) Received: (from nobody@localhost) by citadel.cdsec.com (8.8.8/8.6.9) id OAA21432; Mon, 21 Sep 1998 14:30:08 +0200 (SAST) Received: by citadel via recvmail id 21381; Mon Sep 21 14:29:24 1998 From: Graham Wheeler Message-Id: <199809211228.OAA04370@cdsec.com> Subject: Re: ifconfig alias weirdness To: ru@ucb.crimea.ua (Ruslan Ermilov) Date: Mon, 21 Sep 1998 14:28:04 +0200 (SAT) Cc: hackers@FreeBSD.ORG In-Reply-To: <19980921142357.A1023@relay.ucb.crimea.ua> from "Ruslan Ermilov" at Sep 21, 98 02:23:57 pm X-Mailer: ELM [version 2.4 PL25-h4.1] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Are you sure it is equal 26? if you use 255.255.255.240, it should be 28. Sorry, a typo. 28 is correct. > In your specific case, when you want an alias from an already defined > subnet, you should specify netmask as 255.255.255.255: > > ifconfig ed0 inet 196.37.78.99 netmask 255.255.255.255 alias Aha! Thanks! -- Dr Graham Wheeler E-mail: gram@cdsec.com Citadel Data Security Phone: +27(21)23-6065/6/7 Internet/Intranet Network Specialists Mobile: +27(83)253-9864 Firewalls/Virtual Private Networks Fax: +27(21)24-3656 Data Security Products WWW: http://www.cdsec.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message