From owner-freebsd-questions Sun Apr 21 12:36: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from gardi.rapdat.com (dsl092-042-164.lax1.dsl.speakeasy.net [66.92.42.164]) by hub.freebsd.org (Postfix) with ESMTP id 60A1737B400 for ; Sun, 21 Apr 2002 12:35:51 -0700 (PDT) Received: by gardi.rapdat.com (8.11.6/8.11.6) id g3LJX4F09660 for freebsd-questions@FreeBSD.ORG; Sun, 21 Apr 2002 12:33:04 -0700 (PDT) (envelope-from hackett) Message-Id: <200204211933.g3LJX4F09660@gardi.rapdat.com> Content-Type: text/plain; charset="iso-8859-1" From: Nathan Hackett To: freebsd-questions@FreeBSD.ORG Subject: nge problem Date: Sun, 21 Apr 2002 12:33:04 -0700 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG One of the two nic cards on my firewall is an nge: Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.4-RELEASE #4: Tue Apr 2 14:14:27 PST 2002 root@sling:/usr/src/sys/compile/NATHAN Timecounter "i8254" frequency 1193182 Hz CPU: AMD-K6(tm) 3D processor (427.76-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Features=0x8021bf AMD Features=0x80000800 real memory = 129957888 (126912K bytes) avail memory = 123260928 (120372K bytes) Preloaded elf kernel "kernel" at 0xc033a000. K6-family MTRR support enabled (2 registers) ...skipping... vr0: port 0xda00-0xda7f mem 0xefffef80-0xefffefff irq 5 at device 9.0 on pci0 vr0: Ethernet address: 00:50:ba:ab:a1:3c ...skipping... nge0: port 0xdc00-0xdcff mem 0xeffff000-0xefffffff irq 11 at device 11.0 on pci0 nge0: Ethernet address: 00:50:ba:38:9a:a8 vr0 is connected to my DSL modem. Although nge0 is capable of 1000Mb/s, it is connected to my 100Mb/s switch and is running 100Mb/s. %ifconfig nge0 nge0: flags=8843 mtu 1500 inet 192.168.1.254 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::250:baff:fe38:9aa8%nge0 prefixlen 64 scopeid 0x2 ether 00:50:ba:38:9a:a8 media: Ethernet autoselect (100baseTX ) status: active If I ftp a bz2 file to the firewall from any host on the IIF, the file transfers fine and has the correct size, but will not inflate due to checksum errors. Also, if I try to use ssh to transfer the file I get the following result: >cat A.tar.bz2 | ssh -l nobody -e none sling "cat > A.tar.bz2" nobody's password: Received disconnect from 192.168.1.254: Corrupted check bytes on input. I am clearly seeing corrupted data, however, I dont see any corrupted packets: %netstat -I nge0 Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll nge0 1500 00:50:ba:38:9a:a8 1375 0 988 0 0 nge0 1500 192.168.1 sling 1252 - 823 - - nge0 1500 fe80:2::250 fe80:2::250:baff: 0 - 0 - - %netstat -s | grep check 0 discarded for bad checksums 0 with bad checksum 0 with no checksum 0 bad header checksums 0 bad checksums 0 messages received with bad checksum 0 bad checksums Also, I can transfer files through the firewall to hosts on the outside without any trouble. This data must go through nge0 on the firewall also, but the speed is limited by the DSL modem on the outbound vr0 interface. I can access the web, send mail, everything else that goes through the firewall via nge0 works fine, just not sending files directly to the firewall. I have searched the web and have not found any mention of trouble with FreeBSD 4.4 and nge cards. I will be replacing the nic card soon to see if that is the problem, but I wanted to see if anyone out there knows if I am doing anything wrong first. Have I misconfigured the card or missed something else? Thanks, /Nathan. hackett@rapdat.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message