7.x and multiple IPs in jails

Lorenzo Perone lopez.on.the.lists at yellowspace.net
Tue Oct 28 10:38:29 PDT 2008

Hi, there's a patch by Bjoern A.Zeeb, available at

which succeeds and works well with 7.1-PRERELEASE currently.
I had similar issues to solve and patched several hosts
with it, so far with success.

Bjoern has made an excellent work in patching all
relevant parts, so you'll be able to use the stock
rc.d/jail script as well as having an updated manpage
and a jls -v which shows all the IPs while preserving
compatibility with scripts making assumptions on
the usual jls output.

Please see the freebsd-jail mailing list archives of
the last weeks and months for more info.

I hope very much that these patches will be included
officially in RELENG_7 soon.



On 28.10.2008, at 07:32, Charles Sprickman wrote:

> Hello all,
> I've been searching around and have come up with no current  
> discussions on this issue.  I'll keep it brief:
> In 7.0 or 7.1 is there any provision to have multiple IP addresses  
> in a jail?
> I'm stumped on this, as I just started a new hosting project that  
> needs a few jails.  At least one of those requires multiple IPs,  
> which is something I never really even realized was not supported.   
> What puzzles me more is that before I decided to host this stuff  
> myself, I was shopping for FreeBSD VPS providers, and I noticed that  
> Verio is actually offering what looks like jails as VPSs, and they  
> are offering multiple IPs.  Is this something they hacked up and did  
> not contribute back?
> Is there any firewall hackery to be had that can at least let me do  
> IP based virtual hosts for web hosting?
> Thanks,
> Charles
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org 
> "

More information about the freebsd-stable mailing list