From owner-freebsd-questions Mon May 1 8:32:43 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dcfonline.sfu.ca (dcfonline.sfu.ca [142.58.107.4]) by hub.freebsd.org (Postfix) with ESMTP id BB71837B809 for ; Mon, 1 May 2000 08:32:38 -0700 (PDT) (envelope-from brent@dcfonline.sfu.ca) Received: (from brent@localhost) by dcfonline.sfu.ca (8.9.3/8.9.3) id IAA12873 for questions@freebsd.org; Mon, 1 May 2000 08:32:29 -0700 (PDT) (envelope-from brent) Date: Mon, 1 May 2000 08:32:29 -0700 From: Brent Kearney To: questions@freebsd.org Subject: network problems Message-ID: <20000501083229.A12827@dcfonline.sfu.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm having a strange problem with a FreeBSD 3.4-STABLE box: occasionally (every other day or so - randomly) I seem to loose almost all network access. It seems as though there is no access to DNS; I cannot get a connection to any external sites. However, clients on the "inside" of the multihomed system (2 NICs, one to a cable modem, the other to a shared hub) have no problem with DNS, or with connecting to external sites (ftp, http, ssh). The problem seems to disappear after 2-5 hours, and then reappear in a day or two. During this time, I get no email to/from the box, external users cannot connect, ntpdate cannot connect anywhere, and connections that were active before the problem comes on stay connected for another 10-20 minutes. Then they time out. I'm using my ISPs DNS servers (on all of the computers on the LAN), and a couple of others at the end of my resolve.conf. I tried restarting routed and natd, it made no difference. Here's some relevent info (IPs changed to protect the innocent): (root) (/etc) ifconfig -a pn0: flags=8843 mtu 1366 inet 24.113.XX.XXX netmask 0xfffffc00 broadcast 24.113.XX.255 ether 00:a0:cc:22:33:f1 media: 10baseT/UTP supported media: autoselect 100baseTX 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP 10baseT/UTP pn1: flags=8843 mtu 1500 inet 192.168.X.1 netmask 0xffffff00 broadcast 192.168.X.255 ether 00:a0:cc:21:4a:30 media: 100baseTX supported media: autoselect 100baseTX 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP 10baseT/UTP lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 ppp0: flags=8010 mtu 1500 tun0: flags=8050 mtu 1500 (root) (/etc) netstat -a Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) icmp 0 0 *.* *.* icmp 0 0 *.* *.* tcp 0 0 Academy.smtp 207.194.XXX.198.4205 SYN_RCVD tcp 0 0 Academy.ssh 142.XX.107.4.1018 SYN_RCVD tcp 0 0 Academy.smtp 142.XX.120.21.52665 SYN_RCVD tcp 0 0 Academy.smtp 207.194.XXX.198.4200 SYN_RCVD tcp 0 0 *.6002 *.* LISTEN tcp 0 0 192.168.X.1.ssh Plato.688 ESTABLISHED tcp 0 0 *.6001 *.* LISTEN tcp 0 0 192.168.X.1.ssh Plato.988 ESTABLISHED tcp 0 0 Academy.3364 207.79.XX.11.6667 ESTABLISHED tcp 0 0 *.966 *.* LISTEN tcp 0 0 *.socks *.* LISTEN tcp 0 0 *.netbios-ssn *.* LISTEN tcp 0 0 *.auth *.* LISTEN tcp 0 0 *.ssh *.* LISTEN tcp 0 0 *.smtp *.* LISTEN tcp 0 0 *.http *.* LISTEN tcp 0 0 *.printer *.* LISTEN tcp 0 0 *.pop3 *.* LISTEN tcp 0 0 *.time *.* LISTEN tcp 0 0 *.telnet *.* LISTEN tcp 0 0 *.ftp *.* LISTEN tcp 0 0 *.1022 *.* LISTEN tcp 0 0 *.nfsd *.* LISTEN tcp 0 0 *.1023 *.* LISTEN tcp 0 0 *.sunrpc *.* LISTEN udp 0 0 *.router *.* udp 0 0 *.2063 *.* udp 0 0 *.837 *.* udp 0 0 *.3607 *.* udp 0 0 192.168.X.1.netbios-d *.* udp 0 0 192.168.X.1.netbios-n *.* udp 0 0 *.netbios-dgm *.* udp 0 0 *.netbios-ns *.* udp 0 0 *.time *.* udp 0 0 *.talk *.* udp 0 0 *.ntalk *.* udp 0 0 *.biff *.* udp 0 0 *.1008 *.* udp 0 0 *.nfsd *.* udp 0 0 *.1020 *.* udp 0 0 *.sunrpc *.* udp 0 0 *.syslog *.* Active UNIX domain sockets Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr c313b7c0 stream 0 0 0 c313b6c0 0 0 c313b6c0 stream 0 0 0 c313b7c0 0 0 c313b8c0 stream 0 0 0 c313bdc0 0 0 c313bdc0 stream 0 0 0 c313b8c0 0 0 c313be40 stream 0 0 0 c313be00 0 0 c313be00 stream 0 0 0 c313be40 0 0 c313b700 stream 0 0 0 c313b780 0 0 c313b780 stream 0 0 0 c313b700 0 0 c313b940 stream 0 0 0 c313bcc0 0 0 c313bcc0 stream 0 0 0 c313b940 0 0 c313b680 stream 0 0 c32f2500 0 0 0 /home/brent/tmp/99141.ttyp0.Aca demy c313bec0 stream 0 0 c3135540 0 0 0 /var/run/printer c313bb80 dgram 0 0 0 c313bfc0 0 c313bc00 c313bc00 dgram 0 0 0 c313bfc0 0 c313b640 c313b640 dgram 0 0 0 c313bfc0 0 c313b740 c313b740 dgram 0 0 0 c313bfc0 0 c313bc40 c313bc40 dgram 0 0 0 c313bfc0 0 c313bd00 c313bd00 dgram 0 0 0 c313bfc0 0 c313bd40 c313bd40 dgram 0 0 0 c313bfc0 0 c313bd80 c313bd80 dgram 0 0 0 c313bfc0 0 c313be80 c313be80 dgram 0 0 0 c313bfc0 0 c313bf00 c313bf00 dgram 0 0 0 c313bfc0 0 c313bf40 c313bf40 dgram 0 0 0 c313bfc0 0 c313bf80 c313bf80 dgram 0 0 0 c313bfc0 0 0 c313bfc0 dgram 0 0 c3138600 0 c313bb80 0 /var/run/log To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message