From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii)
Subject: Re: ifconfig
Date: 1999/03/09 [thread overview]
Message-ID: <7c3k41$hqi@ds2.acs.ucalgary.ca> (raw)
In-Reply-To: 36E4881E.71302A49@telusplanet.net
Steve Cribbs (cribbs@telusplanet.net) wrote:
: During boot-up the system reports that communication port to be
: running in full duplex mode and the ifconfig man page lists speed 200 as
: the option that should configure 100 Mbps full duplex. However, command
: ifconfig tu0 always reports that the device is running in simplex mode.
if you mean this bit:
# ifconfig tu1
tu1: flags=c63<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,SIMPLEX>
^^^^^^^
inet XXX.XXX.XXX.XXX netmask ffffff00 broadcast XXX.XXX.XXX.XXX ipmtu 1500
then I think you are misinterpreting what ifconfig is trying to
tell you. If you look into /usr/include/net/if.h, you will see
that SIMPLEX is defined as:
...
#define IFF_SIMPLEX 0x800 /* can't hear own transmissions */
...
i.e. it is set if the device is CAPABLE of running in the full-duplex
mode regardless of whether it is running full-duplex or not. I am not
aware of any way of quering DU ethernet driver for the mode it is running
in, except for the obvious one of actually *measuring* the bandwidth
between two nodes. (I would be glad to be corrected on this point).
Measuring the bandwidth may be not quite trivial (e.g. it is impossible
to approach it using a single rsh tcp connection, which the knee-jerk
reflex of a system administrator would suggest). Unless you really
want to go to the trouble of writing and debugging your own code,
Larry McVoy's lmbench will measure the network bandwidth quite
nicely. It is available at his home page (http://www.bitmover.com/lm/)
Regards,
/Serge.P
next prev parent reply other threads:[~1999-03-09 5:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-09 5:00 ifconfig Steve Cribbs
1999-03-09 5:00 ` Serguei Patchkovskii [this message]
1999-03-10 5:00 ` ifconfig Steve Cribbs
1999-03-12 5:00 ` ifconfig Yvonne & Oliver Maag
1999-03-12 5:00 ` ifconfig Serguei Patchkovskii
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox