Date: Mon, 15 Mar 1999 19:40:59 -0600 From: David Kelly <dkelly@hiwaay.net> To: Graeme Brown <graeme.brown@bt-sys.bt.co.uk> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Why does it it take so long to establish a connection to some FreeBSD hosts ? Message-ID: <199903160141.TAA73589@nospam.hiwaay.net> In-Reply-To: Message from Graeme Brown <graeme.brown@bt-sys.bt.co.uk> of "15 Mar 1999 09:06:36 %2B0100." <n1290633916.6176@maczebedee>
next in thread | previous in thread | raw e-mail | index | archive | help
(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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903160141.TAA73589>