From owner-freebsd-questions Mon Mar 15 17:41:38 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id 85C441532B for ; Mon, 15 Mar 1999 17:41:30 -0800 (PST) (envelope-from dkelly@nospam.hiwaay.net) Received: from nospam.hiwaay.net (tnt8-216-180-15-213.dialup.HiWAAY.net [216.180.15.213]) by mail.HiWAAY.net (8.9.1a/8.9.0) with ESMTP id TAA15470; Mon, 15 Mar 1999 19:41:10 -0600 (CST) Received: from nospam.hiwaay.net (localhost [127.0.0.1]) by nospam.hiwaay.net (8.9.2/8.9.2) with ESMTP id TAA73589; Mon, 15 Mar 1999 19:41:00 -0600 (CST) (envelope-from dkelly@nospam.hiwaay.net) Message-Id: <199903160141.TAA73589@nospam.hiwaay.net> X-Mailer: exmh version 2.0.2 2/24/98 To: Graeme Brown Cc: freebsd-questions@FreeBSD.ORG From: David Kelly Subject: Re: Why does it it take so long to establish a connection to some FreeBSD hosts ? In-reply-to: Message from Graeme Brown of "15 Mar 1999 09:06:36 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 15 Mar 1999 19:40:59 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG (Redirected to -questions as this isn't really a -net question.) Graeme Brown writes: > Hi > > I have noticed on several occasions that it may take on the order of minutes > to establish > a telnet or ftp connection between two FreeBSD (typically our FBSD > boxes are using releases 2.2.6 -> 2.2.8. Does this have something to do with > TCP configuration options ? What do I need to do to speed this up ? Any chance you installed Kerberos but didn't connect it to a Kerberos server? I made that mistake once. Once installed its a bear removing Kerberos'ed binaries. The telnet delay was waiting for a kerberos server to reply. There was no kerberos server, so it timed out before making the telnet connection. Others have suggested it might be a DNS issue. The general advice is to use DNS (bind) over /etc/hosts, but I like the opposite where /etc/hosts is a cheapie quick and easy DNS-like cache. In /etc/hosts.conf make sure the "hosts" line comes before the "bind" line. Then if the two FreeBSD boxes that are so slow to establish telnet connections each have each other described in their /etc/hosts files, and "local" before "bind" in / etc/hosts.conf, then DNS is totally eliminated from being used by telnet (for this link). -- David Kelly N4HHE, dkelly@nospam.hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message