Loopback and jail.conf
Ivailo Tanusheff
Ivailo.Tanusheff at skrill.com
Wed Jun 26 12:13:25 UTC 2013
I need all jails to use the 127.0.0.1 address, not different hosts in 127.0.0 network.
-----Original Message-----
From: Lars Engels [mailto:lars.engels at 0x20.net]
Sent: Wednesday, June 26, 2013 2:00 PM
To: Ivailo Tanusheff
Cc: wishmaster; freebsd-jail at freebsd.org
Subject: Re: Re[2]: Loopback and jail.conf
On Wed, Jun 26, 2013 at 07:47:25AM +0000, Ivailo Tanusheff wrote:
> Mate, I do not need pf or ipfw :)
> Maybe I did not describe it well, what I simply need is:
>
> Jail 1:
> Interface em0: 192.168.0.1
> Interface lo0: 127.0.0.1
>
> Jail 2:
> Interface em0: 192.168.0.2
> Interface lo0: 127.0.0.1
>
> Jail 3:
> Interface em0: 192.168.0.3
> Interface lo0: 127.0.0.1
>
> As you can see, there the same address for the loopback, which gives me an error when I start the jail:
> Jail 1 starts ok.
> Then when I start Jail 2:
> jail: jail2: IPv4 addresses clash
>
> What I use in jail.conf:
>
> Jail1: ip4.addr = 192.168.0.1 , 127.0.0.1;
> Jail2: ip4.addr = 192.168.0.2 , 127.0.0.1;
You can add aliases to lo0: 127.0.0.2, .3, .4, ...
More information about the freebsd-jail
mailing list