Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Apr 2007 20:33:57 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        webmaster@web-tricks.net
Cc:        freebsd-net@freebsd.org
Subject:   Re: New Config of Jails & 4 port NIC with 6.2 stable
Message-ID:  <20070420103357.GF5257@turion.vk2pj.dyndns.org>
In-Reply-To: <002901c782f3$0b4789d0$dedca8c0@dragon>
References:  <002901c782f3$0b4789d0$dedca8c0@dragon>

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

[-- Attachment #1 --]
On 2007-Apr-19 19:24:37 -0700, webmaster@web-tricks.net wrote:
>A FreeBSD Grasshopper needs help.

This is probably more -questions fodder but anyway...

>like to configure the above with Jails
>My aim is local DNS, DHCP, Apache1.3, MySQL 4, PHP4, etc, etc.
>basic server stuff.

Whilst you need an IP address for a jail, you don't need to dedicate
an interface to a jail.  Typically, you would create a number of
aliases on one interface and assign them to jails.  If you have lots
of public addresses then you could use aliases on your public NIC.
Alternatively, you can create aliases on lo0 and use firewall software
(ipfw, IPfilter or pf) to redirect packets to the appropriate alias.

If you really need distinct physical interfaces, you could use an
IEEE 802.1Q VLAN trunk into your FreeBSD box and break it out into
as many vlan interfaces as you want.

-- 
Peter Jeremy

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGKJcV/opHv/APuIcRAsyEAJ93t8cGXq8jXyeHfWOc3CFWfxXKhgCfdg/S
ObinAVmBOinyG1h6lMMhVA8=
=1NBd
-----END PGP SIGNATURE-----
help

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