Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2000 08:44:09 +0000
From:      Moses Backman III <penguinjedi@home.com>
To:        cjclark@alum.mit.edu
Cc:        Don O'Neil <don@whtech.com>, Moses Backman III <penguinjedi@home.com>, "Walter W . Hop" <walter@binity.nl>, Kenneth Wayne Culver <culverk@wam.umd.edu>, Quetstions FreeBSD <questions@FreeBSD.ORG>
Subject:   Re: ip aliasing
Message-ID:  <20001218084409.A402@cg22413-a.adubn1.nj.home.com>
In-Reply-To: <20001217215215.Q96105@149.211.6.64.reflexcom.com>; from cjclark@reflexnet.net on Mon, Dec 18, 2000 at 05:52:15 %2B0000
References:  <20001217201453.A674@cg22413-a.adubn1.nj.home.com> <MOBBIPGJKBNNPGLGMFHFGECLFNAA.don@whtech.com> <20001217215215.Q96105@149.211.6.64.reflexcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001218084409.A402>