Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2011 11:43:03 +0000
From:      Matthew Seaman <>
Subject:   Re: Diagnosing packet loss
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 24/11/2011 10:07, Kees Jan Koster wrote:
> This seems to be local to my machine. Here is another reason why I
> say that: I can reliably transmit data when I bind to the aliased IP
> address: If I use mtr to measure packet loss from saffron (the stricken=

> machine) to cumin (another machine in a different data center) I see th=
> following:
>  saffron (ip address a) -> cumin: packet loss
>  saffron (ip address b) -> cumin: no packet loss
>  cumin -> saffron (ip address a): packet loss
>  cumin -> saffron (ip address b): no packet loss
> This is consistent from running mtr for 5 minutes straight. This to
> me shows that the hardware is fine. Using the alias IP address I can
> run with no packet loss for as long as I like.
> Sooo.... Now what? I am completely at a loss. :-/

Hmm... I wouldn't dismiss hardware problems just yet. Earlier you showed
the ifconfig output for your problem machine:

> [kjkoster@saffron ~]$ ifconfig bge0
> bge0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu=
> 	ether 00:e0:81:32:ed:b4
> 	inet netmask 0xfffffff8 broadcast
> 	inet netmask 0xffffffff broadcast
> 	media: Ethernet autoselect (100baseTX <full-duplex,flowcontrol,rxpause=
> 	status: active

Where there is a one-bit difference between the addresses.  Can you try
temporarily using two even-numbered addresses and then two odd-numbered
addresses and repeat your mtr tests?  If the packet loss problem
correlates with whether the address is even or odd, then I think that's
pretty good evidence for a dud network interface: a one-bit problem in a
memory register somewhere, occasionally flipping the least significant
bit in the address to 0.

Another test would be to swap the configuration order (ie. make .166 the
primary address and .165 the alias) -- if it's always the first
configured address that has problems, again that indicates memory
trouble in the hardware.

Are these NICs built-in to your motherboard?  If so, they will almost
certainly share a PHY, which is where the problem would be, and why
swapping the cables between interfaces made no difference.
Unfortunately in that case to fix the problem, you'll either have to
swap out the motherboard or add a separate NIC card to your system.
Hopefully the system is still under warranty.



Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP:     Ramsgate
JID:               Kent, CT11 9PW

Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla -



Want to link to this message? Use this URL: <>