Adding an ip address on one nic for a jail

Valeri Galtsev galtsev at kicp.uchicago.edu
Fri Sep 26 15:07:25 UTC 2014


On Fri, September 26, 2014 1:33 am, Jack Raats wrote:
> Hi
>
>
>
> Can someone explain to me how to add an extra  ip-address on one nic for a
> jail.
>
> I know how to do it by adding an alias when both addresses uses the same
> gateway.
>
>
>
> But how to do it, when the extra address has a different gateway?
>

As far as I know, you need an interface on the main system (host system if
it were not jail but virtual host we were talking about) with this
different gateway. Then you will be able to add alias to that interface as
you described.

Also: to the best of my knowledge (someone will correct me if it is not
true any more), you only can have one IP per jail.

Valeri

>
>
> I'm using Free-BSD 9.3-STABLE. For jail management I'm using ezjail
>
>
>
> Thanks
>
> Jack Raats
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>


++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++


More information about the freebsd-questions mailing list