From owner-freebsd-questions Sun Dec 17 19:32:39 2000 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 17 19:32:36 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from shell.amplespace.com (shell.amplespace.com [209.172.89.13]) by hub.freebsd.org (Postfix) with ESMTP id 8DE2937B402 for ; Sun, 17 Dec 2000 19:32:36 -0800 (PST) Received: from digerati (digerati.whtech.com [10.1.0.2]) by shell.amplespace.com (8.9.3/8.9.3) with SMTP id TAA01362; Sun, 17 Dec 2000 19:29:23 -0800 (PST) (envelope-from don@whtech.com) From: "Don O'Neil" To: "Moses Backman III" , "Walter W . Hop" Cc: "Kenneth Wayne Culver" , "Quetstions FreeBSD" Subject: RE: ip aliasing Date: Sun, 17 Dec 2000 19:32:23 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 In-Reply-To: <20001217201453.A674@cg22413-a.adubn1.nj.home.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Moses Backman > III > Sent: Sunday, December 17, 2000 12:15 PM > To: Walter W . Hop > Cc: Moses Backman III; Kenneth Wayne Culver; Quetstions FreeBSD > Subject: Re: ip aliasing > > > > On 2000.12.18 01:10:58 +0000 Walter W. Hop wrote: > > [in reply to penguinjedi@home.com, 17-12-2000] > > > > >> options IPFIREWALL > > >> options IPDIVERT > > > ok i did not add those 2 options to my kernel, but i did just > now and i > > got > > > an error when i compile > > > > I believe you should add this as well: > > > > options IPFIREWALL_FORWARD > > > > i'm sure we're on the right path here, but i'm still getting the > same error > message > by the way, i have 2 machines for now on my internal network and then i > have my BSD box, my > subnet for the 192.168.0.1/2/3 addresses should be 255.255.255.0 right? > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message