From owner-freebsd-questions Mon Dec 18 5:44:18 2000 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 18 05:44:13 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 7979C37B400 for ; Mon, 18 Dec 2000 05:44:13 -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 <20001218134412.UHHA9109.mail.rdc2.pa.home.com@mail.rdc1.pa.home.com>; Mon, 18 Dec 2000 05:44:12 -0800 Date: Mon, 18 Dec 2000 08:44:09 +0000 From: Moses Backman III To: cjclark@alum.mit.edu Cc: Don O'Neil , Moses Backman III , "Walter W . Hop" , Kenneth Wayne Culver , Quetstions FreeBSD Subject: Re: ip aliasing Message-ID: <20001218084409.A402@cg22413-a.adubn1.nj.home.com> References: <20001217201453.A674@cg22413-a.adubn1.nj.home.com> <20001217215215.Q96105@149.211.6.64.reflexcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: <20001217215215.Q96105@149.211.6.64.reflexcom.com>; from cjclark@reflexnet.net on Mon, Dec 18, 2000 at 05:52:15 +0000 X-Mailer: Balsa 1.0.0 Content-Length: 2922 Lines: 86 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 2000.12.18 05:52:15 +0000 Crist J. Clark wrote: > On Sun, Dec 17, 2000 at 07:32:23PM -0800, Don O'Neil wrote: > > > > > > -----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? > > > > Actually... the netmask for the first IP should be /24 (255.255.255.0) > but > > the aliases should be 255.255.255.255.... > > Aliases? He's talking about three different machines I assume. And to > your remark about 32-bit netmasks, that is not always true... > > > 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" > > Like in this case. Here each should have a 255.255.255.0 netmask. One > uses a 255.255.255.255 netmask on aliases when the alias address lies > on the same network as the "real" address. > > > 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.... > > He want's do do NAT. He needs IPFIREWALL and IPDIVERT. > > > The basic kernel supports mutiple IP address aliases by default. > > His subject line is skewed from the real topic. I'll change it in this > reply. > > Anyway, on to the compile problem. Please humor me. Go to the build > diretory and try, > > # make clean depend all > > Again. If you get that error, please send your kernel config file to > the list. As well as the error message including the few lines leading > up to it. Where did you get your source tree? > -- > Crist J. Clark cjclark@alum.mit.edu > > THAT WAS IT!!!!!!!!!!!!!!!!!!!!! IT WORKS NOW. THANKS A BILLION I LOVE THIS CRAP!!!!!! just one more question... make clean depend all starts the build from scratch ? if so, i could have danced around last night if i had just renamed my kernel, huh? > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message