Date: Sun, 17 Dec 2000 19:32:23 -0800 From: "Don O'Neil" <don@whtech.com> To: "Moses Backman III" <penguinjedi@home.com>, "Walter W . Hop" <walter@binity.nl> Cc: "Kenneth Wayne Culver" <culverk@wam.umd.edu>, "Quetstions FreeBSD" <questions@FreeBSD.ORG> Subject: RE: ip aliasing Message-ID: <MOBBIPGJKBNNPGLGMFHFGECLFNAA.don@whtech.com> In-Reply-To: <20001217201453.A674@cg22413-a.adubn1.nj.home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MOBBIPGJKBNNPGLGMFHFGECLFNAA.don>