New Config of Jails & 4 port NIC with 6.2 stable

Peter Jeremy peterjeremy at optushome.com.au
Fri Apr 20 10:34:00 UTC 2007


On 2007-Apr-19 19:24:37 -0700, webmaster at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20070420/d3babd3a/attachment.pgp


More information about the freebsd-net mailing list