UDP checksum invalid on FreeBSD7/x86

Peter Kirk peter at teamspeak-systems.de
Fri Jun 20 09:55:05 UTC 2008


On Friday 20 June 2008 11:38:16 Andrey V. Elsukov wrote:
> Peter Kirk wrote:
> >> Can you show `ifconfig -u` output?
> >
> > re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> >         options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
>
> It's problem in re(4) driver.
> Try to use `ifconfig re0 -rxcsum -txcsum`. You can add these
> parameters to your rc.conf.

In /etc/rc.conf I changed the line
ifconfig_re0="inet 192.168.1.13  netmask 255.255.255.0"
to
ifconfig_re0="-rxcsum -txcsum inet 192.168.1.13  netmask 255.255.255.0"

Now the problem no longer appears, even with "net.inet.udp.checksum=1". Thanks 
for answering this so promptly, hopefuly the re(4) driver can be fixed to 
avoid this kind of problem (or the -rxcsum -txcsum added automatically for 
this card).

Peter
-- 
Your manuscript is both good and original, but the part that is good is not
original and the part that is original is not good.
		-- Samuel Johnson



More information about the freebsd-net mailing list