Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 2010 14:07:07 +0200
From:      Frank Bartels <freebsd@knarf.de>
To:        freebsd-net@freebsd.org
Subject:   Packet loss when using multiple IP addresses
Message-ID:  <20100730120707.GA56845@server-king.de>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hi freebsd-net,

I'm trying to run a root server using FreeBSD using four different
IP addresses. Everything works fine with one IP address, but if I
add more addresses I notice a packet loss of about 10% after some
minutes, in rare cases after three hours. Sometimes the packet loss
raises to 50% and somtimes up to 95%. But never 100%.

Incoming connections are affected. I cannot type in my ssh connection.
Outgoing connections do not seem to be affected, mtr has 0.0% loss
after thousands of packets. Running mtr on the host seems to "help" (*).
There are no error messages in messages and console.log.

The second IP address is used for a jail and the third IP address
for a VM running VirtualBox.

The final configuration is with native IPv6 (dual stack).

I've tried all of the following without success:

- FreeBSD 8.1-RELEASE and 8.1-STABLE (20100729)
- re(4) and em(4)
- with or without the changes to /sys/dev/re/if_re.c from r207977
- with or without jail (alias IP address)
- with or without vbox
- with or without IPv6
- with or without powerd
- with ifconfig_${INTERFACE}="DHCP" and with static configuration
- with or without rxcsum,txcsum
- the motherboard was changed already (mainly because of problems
  with ahci enabled)

If I use tcpdump in order to trace the ICMP packets on the ethernet
interface, I do not see the incoming ICMP requests.

The motherboard is a MSI-X58Pro-E. kernel is GENERIC. I do not use
ipfw(8). I've recompiled virtualbox after switching from 8.1-RELEASE
to 8.1-STABLE. Ports are updated daily.

I have a very similar setup running in the office without problems.

I'm very frustrated because I have absolutely no idea what's going
on here.

(*) I can repoduce reducing the packet loss a lot (to less than 1%)
by running mtr from the host using the remote console. If I start
the mtr, the packet loss goes down and I can login using ssh.

If you have any idea what I can do in order to find the source of
my problem, please answer. Maybe a single keyword is enough. :)

Thanks,
Knarf

[-- Attachment #2 --]
0	*H
010	+0	*H
040 0
	*H
0}10	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1)0'U StartCom Certification Authority0
071024210255Z
171024210255Z010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 2 Primary Intermediate Client CA0"0
	*H
0
(E,3*
U]"gFSݤ>}m
w鞆FA7~
|-ql"/Q?Vp`G&viĜ73{B'87ds	Nfz1%TII|2o/mD \t	:08VGqǴ3Rp}JTzF;&X}rD Q600U00U0UUo1ʹk1㬻0U#0N@[i04hCA0f+Z0X0'+0http://ocsp.startssl.com/ca0-+0!http://www.startssl.com/sfsca.crt0[UT0R0'%#!http://www.startssl.com/sfsca.crl0'%#!http://crl.startssl.com/sfsca.crl0U y0w0u+70f0.+"http://www.startssl.com/policy.pdf04+(http://www.startssl.com/intermediate.pdf0
	*H
:'
ӴiiL\};JBG
Ƚ1FagR~9P1 Rvg}ȜsWr<];sY/Msߟq'ɽNpʧ`&pPz/ў-Eׁ1KeET5ꥊ@v錈{8@t	e=ރt92Ow[%[kd+YO!_uyGYqE\pCbM~
@3xnM+RH?o'V=INjWbᑶYOuZk*9Jz)w󫦒jNnZqwZV=t+΄BMkd"ܧfVSąmzLu8¾ņVcoiQ^7|#Bl@/D;+@8	~brA+}TLVŜ2J(Hn}Rt]fiZ
U	]+nŚܓqEF$^fsȕP)*6\q)900	v0
	*H
010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 2 Primary Intermediate Client CA0
100714111143Z
120714185613Z01 0U
226255-7V5wu01gRkTi60Kb10	UDE10
UBayern10UMuenchen1-0+U$StartCom Verified Certificate Member10U
Frank Bartels10	*H
	knarf@knarf.de0"0
	*H
0
>3/
f1,5<7O# ">"CJf\Ud72ZFgw]_SĴ"m<kyQڌ5(b a|C7dQDOK*K<(c}Vb9Bоv"Sv3 U0TA ā(IA+Ϊ]Y>j-ymz4~\U*^I_zNH#ŵMG00	U00U0U%0++0UhU],BȚV 0U#0Uo1ʹk1㬻0U0knarf@knarf.de0BU 90501+70 0.+"http://www.startssl.com/policy.pdf04+(http://www.startssl.com/intermediate.pdf0+00
StartCom Ltd.0Limited Liability, see section *Legal Limitations* of the StartCom Certification Authority Policy available at http://www.startssl.com/policy.pdf0cU\0Z0+)'%http://www.startssl.com/crtu2-crl.crl0+)'%http://crl.startssl.com/crtu2-crl.crl0+009+0-http://ocsp.startssl.com/sub/class2/client/ca0B+06http://www.startssl.com/certs/sub.class2.client.ca.crt0#U0http://www.startssl.com/0
	*H
 -qH!rb܉hJK9%	$Wg<8#
$ΩEN]'T?6{	&U\ST5߬|I~%rS78*>o:!d쉸J?eLF!PPoXy^k-~t)J]IPtd-'6RdTxV.BcGâ{e.f`5e6JRH!l=aImSg9uDMJ100010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 2 Primary Intermediate Client CA	v0	+0	*H
	1	*H
0	*H
	1
100730120707Z0#	*H
	1:Y^\:b{0y	*H
	1l0j0	`He*0	`He0	`He0
*H
0*H
0
*H
@0+0
*H
(0
	*H
}
5>%FKWkw6
a8Uޝ.8G3ubDIy ZV:兙XkB^H
%@N)K@X5ZGۍ;ѠD5{@oﱌM8\r䃐D;bPi6yJ]wX5\&d ^`dyJIF
-!wrqC/042S.I55XҸS
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100730120707.GA56845>