Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2008 13:21:34 +0100
From:      Ruben van Staveren <ruben@verweg.com>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        freebsd-jail@freebsd.org
Subject:   Re: can jail use 2 NICS?
Message-ID:  <D8D53A5B-5092-435C-BECB-E8100DD00BA9@verweg.com>
In-Reply-To: <20081116101126.T61259@maildrop.int.zabbadoz.net>
References:  <EEBDDC3B-CE47-46F0-B5D3-1FDBDB77E721@verweg.com> <20081116101126.T61259@maildrop.int.zabbadoz.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--Apple-Mail-9--577208708
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit


On 16 Nov 2008, at 11:12, Bjoern A. Zeeb wrote:

> On Fri, 14 Nov 2008, Ruben van Staveren wrote:
>
> Hi,
>
>> I ran into this issue myself, and repatched /etc/rc.d/jail to work  
>> with this
>>
>> jail_erg_ipv6="net0|2001:980:fff:96::c0a8:181"                  #  
>> Jail's IP number
>> jail_erg_ip="192.168.1.129"                  # Jail's IP number
>> jail_erg_interface="lo0"
>>
>> So default for everything is lo0, but you can override stuff by  
>> prefixing and address with <iface>|<addr>
>>
>> Have fun at http://ruben.is.verweg.com/stuff/jail
>> of course, YMMV
>
> would that work as well with multiple IPs (per address family)? I kind

you mean like jail_<jailid>_ip="net0|addr1 net1|addr2" ? it does.
> of lost track. An are you also supporting the netmask feature from
> ru@?

It doesn't do netmask/prefix length but that should be easy to add.  
btw I am working only against RELENG_7 so I don't know of any new  
network features in HEAD. Should get a new macbook soon so I can run  
vmware fusion to check that out ;)

>
>
> -- 
> Bjoern A. Zeeb              Stop bit received. Insert coin for new  
> game.

Cheers,
	Ruben

--Apple-Mail-9--577208708
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFJIBBPZ88+mcQxRw0RAlURAJ96rSwQpEXomK9dnX/c/qjOeJQpAgCfcKEY
/qIV/cyVp8iAaq2gUjhwCbo=
=gl+0
-----END PGP SIGNATURE-----

--Apple-Mail-9--577208708--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D8D53A5B-5092-435C-BECB-E8100DD00BA9>