From owner-freebsd-questions Wed Jul 5 16:33:06 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id QAA11503 for questions-outgoing; Wed, 5 Jul 1995 16:33:06 -0700 Received: from mailbox.syr.edu (mailbox.syr.EDU [128.230.1.5]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id QAA11490 for ; Wed, 5 Jul 1995 16:33:03 -0700 Received: from sudial-74.syr.EDU by mailbox.syr.edu (8.6.9/SUM-V8-1.0) id TAA26663; Wed, 5 Jul 1995 19:33:12 -0400 Message-Id: <199507052333.TAA26663@mailbox.syr.edu> X-Mailer: exmh version 1.6.1 5/23/95 To: questions@freebsd.org Subject: Re: network problems In-reply-to: Your message of "Tue, 04 Jul 95 18:45:29 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 05 Jul 1995 19:25:24 -0400 From: "Mark G.M. O'Lear" Sender: questions-owner@freebsd.org Precedence: bulk It looks like you are having a nameserver problem (or NIS). My guess is your nameserver(s) are on the other end of the SLIP connection. When you are connected via SLIP the nameserver responds to your queries (although slightly slow because of the SLIP speed). When you disconnect from the SLIP line, there is no way to reach your nameserver(s) and the host lookup calls take a long time to timeout. Try commenting out the "bind" and "nis" lines from your /etc/host.conf file and try netstat -r or -i. You should get a response with no delay. If this is much faster, make sure that you have the local nameserver (not through the SLIP line) listed first in /etc/resolv.conf file (and uncomment the "bind" and/or "nis" lines again if you need them). Also make sure that all external nameservers actually are up and running (use host, nslookup or dig) when you have your SLIP line up. If you have only a few (less than 20) hosts on your local network (through the ethernet card), try putting all local hosts in the /etc/hosts file and make sure the line "hosts" appears before "bind" and "nis" in your /etc/host.conf (do this especially if you have no nameserver on your local network). That way when you have no SLIP line up, you can get to all your local hosts lightning fast, and only use the nameserver (through the SLIP line) when you need to access something outside of your local network. If you are using NIS (and the problem is with NIS), I cannot help you, although I believe NIS is very slow normally but not 40+ seconds slow. Mark O'Lear mgolear@mailbox.syr.edu > right now I am having a bit of a problem with the network... I only have > one ethernet card (a NE2000 clone UTP) in the machine... when I first > boot up the machine all network traffic is really slow... about 40+ > secords to get data back from a telnet to the machine... the connection > is established perfectly fine... just that I don't get any data... same > with ftp... if I try to modify the routing tables or display them, or > get info on the interfaces (netstat -i) it takes forever... again like > 40+ seconds... > > then I connect via slip user slirp on the provider's machine and now all > connections are back to being only about a second or two... but still > takes a couple seconds to get a login prompt via telnet... I tried this > with both tcp_extensions on and off... when I disconnect, shut down the > slip connection, it goes back to it's sluggish old self... I never had > any problems with 2.0R... > > I have removed the multicast route just because with that it took > forever... here is output from "netstat -r": > > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default haus.efn.org UGSc 15 3 sl0 > localhost localhost UH 0 0 lo0 > 192.168 link#1 UC 0 0 > unix 0:20:a9:1:dc:e3 UHLW 4 205 lo0 > sob 0:20:a9:2:3f:25 UHLW 1 491 ed0 1195 > 192.168.0.255 link#1 UHLW 1 16 > > the only major change in the routing table when not connected is that the > default route isn't in the table... any help would be greatly > appriciated... TTYL... > > John-Mark > > gurney_j@efn.org > > Live in Peace, destroy Micro$oft, support free software, run FreeBSD (unix) > >