From owner-freebsd-questions Sun Dec 17 21:14:17 2000 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 17 21:14:15 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc2.pa.home.com (ha2.rdc2.pa.home.com [24.12.106.195]) by hub.freebsd.org (Postfix) with ESMTP id 384D637B400 for ; Sun, 17 Dec 2000 21:14:15 -0800 (PST) Received: from mail.rdc1.pa.home.com ([24.7.112.46]) by mail.rdc2.pa.home.com (InterMail vM.4.01.03.00 201-229-121) with SMTP id <20001218051414.NWEQ9109.mail.rdc2.pa.home.com@mail.rdc1.pa.home.com>; Sun, 17 Dec 2000 21:14:14 -0800 Date: Mon, 18 Dec 2000 00:14:11 +0000 From: Moses Backman III To: Don O'Neil Cc: Moses Backman III , "Walter W . Hop" , Kenneth Wayne Culver , Quetstions FreeBSD Subject: RE: ip aliasing Message-ID: <20001218001411.A488@cg22413-a.adubn1.nj.home.com> References: <20001217201453.A674@cg22413-a.adubn1.nj.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: ; from don@whtech.com on Mon, Dec 18, 2000 at 03:32:23 +0000 X-Mailer: Balsa 1.0.0 Content-Length: 1068 Lines: 33 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 2000.12.18 03:32:23 +0000 Don O'Neil wrote: > Actually... the netmask for the first IP should be /24 (255.255.255.0) > but > the aliases should be 255.255.255.255.... > > Here's an example for /etc/rc.conf: > > ifconfig_fxp0="inet 10.10.10.1 netmask 255.255.255.0" > ifconfig_fxp0_alias0="inet 10.10.11.1 netmask 255.255.255.255" > ifconfig_fxp0_alias1="inet 10.10.12.1 netmask 255.255.255.255" > > Unless you're going to setup packet filtering or the kernel based > firewall, > then there is no need to activate the options you were told you > needed.... > > The basic kernel supports mutiple IP address aliases by default. > ok, give it to me in baby steps...10...................... i assume 10.10.10.1 is my outside interface w/ netmask 255.255.255.0 then, i add lines 2 and 3 to /etc/rc.conf? these two are my intenal network and i am telling the system to assign them alias0 and 1???????????? i don't want to be a pain if there is a good faq you know of............................. i just want to know WHY i am doing the things i do. thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message