Date: Sun, 21 Apr 2002 12:33:04 -0700 From: Nathan Hackett <hackett@rapdat.com> To: freebsd-questions@FreeBSD.ORG Subject: nge problem Message-ID: <200204211933.g3LJX4F09660@gardi.rapdat.com>
next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
AMD Features=0x80000800<SYSCALL,3DNow!>
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: <VIA VT3043 Rhine I 10/100BaseTX> 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: <National Semiconductor Gigabit Ethernet> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>)
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 <Link#2> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204211933.g3LJX4F09660>
