jails in different private subnets on the same host
Grzegorz Junka
list1 at gjunka.com
Thu May 19 15:53:26 UTC 2016
On 19/05/2016 15:40, Ernie Luzar wrote:
> James Gritton wrote:
>> On 2016-05-18 09:08, Grzegorz Junka wrote:
>>> I just tried telnet 192.168.1.50 80 from the main host and from the
>>> 10.33.1.40 jail. From the main host it works without issues. From the
>>> jail it eventually connected after 15 or so seconds of waiting.
>>
>> That sounds like about the kind of timeout I'd expect from DNS
>> resolution not working. If you're adding a new subnet when the jail
>> is created, you'll need to do something to get a nameserver to listen
>> to it.
>>
>> - Jamie
>
> You have not copied the hosts /etc/resolv.conf to the jail in question.
>
Of course I did.
root at somehost:/# cat /etc/resolv.conf
search somehost.somedomain.com
nameserver 192.168.1.60
nameserver 8.8.8.8
I installed the jail using bsdinstall and it copies that automatically.
Grzegorz
More information about the freebsd-jail
mailing list