Date: Thu, 07 Dec 2006 09:18:22 -0600 From: Greg Barniskis <nalists@scls.lib.wi.us> To: Denzil Kelly <dkelly6@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: freebsd jails Message-ID: <457830BE.60203@scls.lib.wi.us> In-Reply-To: <eb26ba4c0612061726m635a7266v22b07d6d0b9d86f9@mail.gmail.com> References: <eb26ba4c0612061726m635a7266v22b07d6d0b9d86f9@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Denzil Kelly wrote: > I need to implement web content filtering using squidguard and/or > dansguardian for several locations. Each site has different filtering > requirements. I want to know if it is possible to do this using a jail for > each site(provided that I have sufficiently powerful hardware). Should not be too difficult to implement. > I want to > have a different IP address for each jail. A unique IP for each jail is required in any case. > If this is possible do I need to > have a different NIC for each jail? Nope. Just use aliases in rc.conf for the one NIC. For example, if I have a NIC fxp0, on a host with two jails: ifconfig_fxp0="inet 192.168.0.1 netmask 255.255.255.0" ifconfig_fxp0_alias0="inet 192.168.0.2 netmask 255.255.255.255" ifconfig_fxp0_alias1="inet 192.168.0.3 netmask 255.255.255.255" Note the alias masks are all ones -- that's not a typo. -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) <gregb at scls.lib.wi.us>, (608) 266-6348
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?457830BE.60203>