From owner-freebsd-questions Mon Jun 10 14:28: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by hub.freebsd.org (Postfix) with ESMTP id E39A637B40A for ; Mon, 10 Jun 2002 14:27:51 -0700 (PDT) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.12.3/8.12.3) with ESMTP id g5ALSAP9025305; Mon, 10 Jun 2002 23:28:10 +0200 (CEST) (envelope-from stable@ei.bzerk.org) Received: (from stable@localhost) by ei.bzerk.org (8.12.3/8.12.3/Submit) id g5ALS9nj025303; Mon, 10 Jun 2002 23:28:09 +0200 (CEST) Date: Mon, 10 Jun 2002 23:28:09 +0200 From: Stable User To: Andrea Bacchet Cc: "'Mark Hughes'" , "'freebsd-questions@freebsd.org'" Subject: Re: Jail single ip network (FreeBSD 4.5) Message-ID: <20020610232809.B25245@ei.bzerk.org> References: <8A6A2A139700D5118EB6009027B0FF3A0D91D78C@caemsx02.cae.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <8A6A2A139700D5118EB6009027B0FF3A0D91D78C@caemsx02.cae.ca>; from baccheta@cae.com on Mon, Jun 10, 2002 at 05:13:20PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I think this really is a routing issue. have you tried connecting to the jail from another machine in the same subnet? On Mon, Jun 10, 2002 at 05:13:20PM -0400, Andrea Bacchet typed: > Greetings Mark, > > I had seen a mention of this somewhere, therefore I had > already edited my (jail) /etc/hosts to include a line for my hosts > IP and hostname. > > Is this what you meant in your e-mail? Cause this has > been done already within the jail. Not to mention, my resolve.conf > in the jail includes my domain nameservers, but it doesn't seem > to be working. > > If I run ftp (only other machine I knew ip by heart :) > I can connect if I enter the IP, but not if I just enter the > name on our network. > > Am I correct in assuming the resolve.conf isn't being > used from within the jail? Is it possible to have that working > within the jail? How? > > __ > Andy > > -----Original Message----- > From: Mark Hughes [mailto:mh_lists@digitalspy.co.uk] > Sent: Monday, June 10, 2002 4:54 PM > To: Andrea Bacchet; freebsd-questions@freebsd.org > Subject: Re: Jail single ip network (FreeBSD 4.5) > > > > 1 - Why the 5 minute wait for my jail to respond to ssh and telnet > requests? > > sounds very much like something to do with not having dns/hosts set up > correctly. I don't know enough about jails to know for sure, but I would > have thought you need a hosts file on /etc in the jail with the hostnames/ip > addresses of the hosts you're trying to connect from, if they're not in DNS. > ssh/telnet try and resolve your hostname when you connect to them - if they > can't find them, they hang until the dns resolution times out. > > Hope this helps, > Mark > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message