From owner-freebsd-questions Mon Dec 27 7:19:51 1999 Delivered-To: freebsd-questions@freebsd.org Received: from relay.ucb.crimea.ua (UCB-Async4-CRISCO.CRIS.NET [212.110.129.130]) by hub.freebsd.org (Postfix) with ESMTP id 1F4161504D for ; Mon, 27 Dec 1999 07:19:39 -0800 (PST) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id RAA52567; Mon, 27 Dec 1999 17:19:07 +0200 (EET) (envelope-from ru) Date: Mon, 27 Dec 1999 17:19:06 +0200 From: Ruslan Ermilov To: Arcady Genkin Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Networking problem (outside interface "hangs") Message-ID: <19991227171906.A51151@relay.ucb.crimea.ua> Mail-Followup-To: Arcady Genkin , freebsd-questions@FreeBSD.ORG References: <87vh5k773t.fsf@main.wgaf.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <87vh5k773t.fsf@main.wgaf.net>; from Arcady Genkin on Mon, Dec 27, 1999 at 10:09:58AM -0500 X-Operating-System: FreeBSD 3.3-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Dec 27, 1999 at 10:09:58AM -0500, Arcady Genkin wrote: > I have a FreeBSD box configured as an open firewall. It has two > network interfaces: > > 1. ISA NE2K for an outside connection (cable modem, dhcp). > 2. PCI Realtek8139 for the inside (local LAN), fixed IP. > > Once in a while the outside interface "hangs". "netstat -i" halts > indefinitely trying to display information for ed1. > What about "netstat -in"? > Rebooting cures the problem. > > I don't see any weird messages in /var/log/ at all. > > My /etc/rc.conf.local looks like this: > ,----- > | network_interfaces="ed1 rl0 lo0" > | ifconfig_rl0="inet 192.168.1.1 netmask 255.255.255.0 media 100baseTX mediaopt full-duplex" > | ifconfig_ed1="DHCP" > | > | inetd_flags="-lwW" > | log_in_vain="YES" > | > | firewall_enable="YES" > | firewall_type="OPEN" > | natd_enable="YES" > | natd_interface="ed1" > | gateway_enable="YES" > | router_enable="YES" > `----- > Other than that, networking works fine, and there is no collisions or > any other errors. > ,----- > | door:/var/log$ netstat -i > | Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll > | rl0 1500 00.a0.4b.04.af.40 422 0 329 0 0 > | rl0 1500 192.168.1 door 422 0 329 0 0 > | ed1 1500 52.54.4c.17.c9.5c 122 0 131 0 0 > | ed1 1500 24.114.152.64 cr103675-a.bloo 122 0 131 0 0 > | lo0 16384 0 0 0 0 0 > | lo0 16384 127 localhost 0 0 0 0 0 > `----- > How could I debug it? Could it be a problem with the NIC? Thanks for > any ideas! -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank, ru@FreeBSD.org FreeBSD committer, +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message