Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Nov 2008 14:29:44 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        Bill Moran <wmoran@collaborativefusion.com>
Cc:        huynhnguyen <huynhnguyen@mikorn.com>, freebsd-jail@freebsd.org
Subject:   Re: can jail use 2 NICS?
Message-ID:  <20081112142044.J67750@maildrop.int.zabbadoz.net>
In-Reply-To: <20081112090702.840305a6.wmoran@collaborativefusion.com>
References:  <002b01c94490$260ebfd0$722c3f70$@com> <20081112090702.840305a6.wmoran@collaborativefusion.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-943803166-1226499686=:67750
Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1; FORMAT=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-ID: <20081112142133.Q67750@maildrop.int.zabbadoz.net>

On Wed, 12 Nov 2008, Bill Moran wrote:

Hi,

> In response to "huynhnguyen" <huynhnguyen@mikorn.com>:
>>
>> -          my server have 2 NICs,
>>
> [...]
>>
>> I want to set up a jail to use both of  NICs
> [...]
>> ---------------
>> but I can=FF=FFt do it.  Anybody know it? Could you help me?
>
> It's not possible with the current codebase.  There's work being done
> to add this feature to 8.x, but with 7.x and earlier, you need to
> figure out how to make your jails work with a single NIC.

The only thing that does not work is the <beep> rc jail_*_interface
knob. Which I again <beepbeepbeep>. Sorry. This is just another reason
to remove this <beep> thing and have someone who needs this by a proper
mgmt solution.


"huynhnguyen":

obviously, as Bill already indicated, you need a patch to have more than
one IP per jail as the current jail system in any version of freebsd only
supports one IP address (see man pages).

If you have the patch compiled in ...

> jail_jail1_interface=3D"bge0, bge1"

remove this and similar lines from your configuration.=20
You had the IPs configured on the interfaces already anyway.

> jail_jail1_ip=3D"192.168.1.3, 11.0.0.3"

And remove the white space after the comma.


Regards,
Bjoern

--=20
Bjoern A. Zeeb              Stop bit received. Insert coin for new game.
--0-943803166-1226499686=:67750--



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