Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* ifconfig
@ 1999-03-09  5:00 Steve Cribbs
  1999-03-09  5:00 ` ifconfig Serguei Patchkovskii
  0 siblings, 1 reply; 5+ messages in thread
From: Steve Cribbs @ 1999-03-09  5:00 UTC (permalink / raw)


    I've installed a 100Base-T, (DE500-AA), card in a 2100a server,
defined HW environment variable 'ewa0_mode' to be "FastFD" and set the
communication speed to be 200 under DEC UNIX v4.0.

    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.  Smart hardware at the other
end of the wire communicates with this computer correctly regardless of
the firmware, (Fast or FastFD), setting.  We've disabled the
auto-negotiation capability on that hardware and forced both half and
full duplex settings - no errors reported while talking to the 2100a
server in either mode.  The DEC/Compaq helpline people say ignore the
ifconfig report and trust the firmware setting.

    Fine, but I'm still puzzled.  How can I be sure that that adaptor is
running in full duplex mode?  Any suggestions...

    Thanks.

/Steve Cribbs




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ifconfig
  1999-03-09  5:00 ifconfig Steve Cribbs
@ 1999-03-09  5:00 ` Serguei Patchkovskii
  1999-03-10  5:00   ` ifconfig Steve Cribbs
  0 siblings, 1 reply; 5+ messages in thread
From: Serguei Patchkovskii @ 1999-03-09  5:00 UTC (permalink / raw)


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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ifconfig
  1999-03-09  5:00 ` ifconfig Serguei Patchkovskii
@ 1999-03-10  5:00   ` Steve Cribbs
  1999-03-12  5:00     ` ifconfig Yvonne & Oliver Maag
  0 siblings, 1 reply; 5+ messages in thread
From: Steve Cribbs @ 1999-03-10  5:00 UTC (permalink / raw)


    Thanks, Serguei.  I had a feeling that I was misinterpreting the term
"simplex".
I'll look into lmbench.

/Steve

Serguei Patchkovskii wrote:

> 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






^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ifconfig
  1999-03-12  5:00     ` ifconfig Yvonne & Oliver Maag
@ 1999-03-12  5:00       ` Serguei Patchkovskii
  0 siblings, 0 replies; 5+ messages in thread
From: Serguei Patchkovskii @ 1999-03-12  5:00 UTC (permalink / raw)


Yvonne & Oliver Maag (yomaag@access.ch) wrote:
: I did the same thing yesterday and our switch tells me that the system
: is running 100MBit Half-Duplex.

If your switch tells you it is running half-duplex, you should probably
trust the switch. In any case, with many ethernet card/switch combinations
it is necessary to lock the full-duplex mode on BOTH sides - even if both
pieces of hardware claim to be able to autonegotiate full-duplex. I certainly
have to lock both the tu0 interface in our DPWs and ports on the 3COM 3300
switch to get 100Mbit full-duplex. YMMV.

Regards,

/Serge.P



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ifconfig
  1999-03-10  5:00   ` ifconfig Steve Cribbs
@ 1999-03-12  5:00     ` Yvonne & Oliver Maag
  1999-03-12  5:00       ` ifconfig Serguei Patchkovskii
  0 siblings, 1 reply; 5+ messages in thread
From: Yvonne & Oliver Maag @ 1999-03-12  5:00 UTC (permalink / raw)


I did the same thing yesterday and our switch tells me that the system
is running 100MBit Half-Duplex.

So whom should I trust now?

Oliver




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1999-03-12  5:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-09  5:00 ifconfig Steve Cribbs
1999-03-09  5:00 ` ifconfig Serguei Patchkovskii
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox