Date: Fri, 20 Aug 2010 10:00:24 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Antonio Kless <antoniok.spb@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Strange network issue (packet loss?) Message-ID: <4C6E4428.4080408@infracaninophile.co.uk> In-Reply-To: <AANLkTimwgc7GhGtNpcww67vf3qJs9kjGP89jdcRTer7g@mail.gmail.com> References: <AANLkTimwgc7GhGtNpcww67vf3qJs9kjGP89jdcRTer7g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4E398997F9B4B0417D20055E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 19/08/2010 09:03, Antonio Kless wrote: > # ifconfig igb0 media 100BaseTX > # ifconfig igb0 > igb0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu= 1500 > options=3D19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM= ,TSO4> > ether 00:30:48:de:9a:4e > inet 1.2.3.4 netmask 0xffffff00 broadcast 1.2.3.255 > media: Ethernet 100baseTX (100baseTX <half-duplex>) > status: active >=20 > # scp -C user@remote-server.net:/usr/bak/* /usr/bak > Password: > dump.2010.08.19_07-46-58.sql > 100% 1291MB 3.1MB/s 07:00 >=20 >=20 > That's works! But why half-duplex? Go next: Connections running at half-duplex is a classic sign of a mismatch between you and your provider's ideas about using autonegotiation on the connection. Either you both configure your network interfaces to autoneg, or neither of you do. No, it's not good enough to force your NIC to be fixed to the settings it would have had through autonegotiation: that will cause the *other* end of the connection to run at half-duplex. Looks like you should certainly be using autoneg -- the corrupted MAC is probably a symptom of some other problem. Possibly hardware troubles. Eliminate the cheap stuff first: check network cables for kinks or breakages, swap out for fresh ones, replug jacks into sockets. Try alternative NICs if you have them available. FreeBSD doesn't have a setting that lets you specify the max speed you want a NIC to run at while still allowing autoneg up to that speed -- which is something that a number of higher-end switches do provide -- so if you need bandwidth limitation, you should look into using dummynet or ALTQ. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig4E398997F9B4B0417D20055E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxuRC4ACgkQ8Mjk52CukIwqZgCffhkRiz3A2tcSNzHdSsvW4XUq NXsAnjRmAZe+h1cW0heAs69D9piTJ7NU =SS0v -----END PGP SIGNATURE----- --------------enig4E398997F9B4B0417D20055E--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C6E4428.4080408>