Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2014 10:07:18 -0500 (CDT)
From:      "Valeri Galtsev" <galtsev@kicp.uchicago.edu>
To:        jack@jarasoft.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Adding an ip address on one nic for a jail
Message-ID:  <15285.128.135.70.2.1411744038.squirrel@cosmo.uchicago.edu>
In-Reply-To: <000901cfd953$b82466a0$286d33e0$@jarasoft.net>
References:  <000901cfd953$b82466a0$286d33e0$@jarasoft.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
>


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



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