Ip not configured on local interface

Allan Jude allanjude at freebsd.org
Thu Oct 29 00:23:26 UTC 2015


On 2015-10-28 17:04, David Mehler wrote:
> Hello,
> 
> I'm running a FreeBSD 10.2 system and running jails created by ezjail.
> I'm getting an error on jail creation that the IP selected for the
> jail is not configured on any local interface, for example
> 192.168.0.1.
> 
> This machine has only a single NIC connected to the network and I'm
> cloning it repeatedly to a lo1 interface.
> 
> After reading list traffic I'm wondering if my method, which I last
> used several years back in the 5.4 days, is no longer valid.
> Performance on my jails is sluggish, sometimes they have a hard time
> reaching the internet sometimes they don't work at all, for example I
> have a caching nameserver defined on the 192.168.x.x subnet and jails
> on that subnet can't reach it.
> 
> Is there something better out there than ezjail? If so, how hard will
> it be to migrate configurations over? I've got two jails, the first
> the caching nameserver, the second a web server/test server with a
> great many packages.
> 
> Thanks.
> Dave.
> _______________________________________________
> freebsd-jail at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe at freebsd.org"
> 

In ezjail, if you just define the IP address as lo1|192.168.0.1
the jail system will automatically create the alias on that interface
when the jail starts, and remove it when the jail stops. It is much
easier than manually managing the interfaces.

-- 
Allan Jude

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-jail/attachments/20151028/8b4fe25e/attachment.bin>


More information about the freebsd-jail mailing list