Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2016 15:53:23 +0000
From:      Grzegorz Junka <list1@gjunka.com>
To:        freebsd-jail@freebsd.org
Subject:   Re: jails in different private subnets on the same host
Message-ID:  <62a0bf1c-88f3-a815-1187-a26e51c9b8bb@gjunka.com>
In-Reply-To: <573DDE59.8000300@gmail.com>
References:  <faf9e698-baee-f988-df64-5bcda4b1c7c9@gjunka.com> <AF80A4F2-3605-43A0-81CD-B68659B694C4@lists.zabbadoz.net> <07d67bd5-206c-edd8-7f47-ef2b5c538e01@gjunka.com> <beafbcae807260bf74db591044c44950@gritton.org> <573DDE59.8000300@gmail.com>

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


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@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62a0bf1c-88f3-a815-1187-a26e51c9b8bb>