Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 1999 16:42:43 -0400
From:      Mitch Collinsworth <mkc@Graphics.Cornell.EDU>
To:        Mike Tancsa <mike@sentex.net>
Cc:        questions@freebsd.org, mkc@broccoli.graphics.cornell.edu
Subject:   Re: how to set fxp0 to half-duplex? [was: nfs tuning] 
Message-ID:  <199909222042.AA278122963@broccoli.graphics.cornell.edu>
In-Reply-To: Your message of "Wed, 22 Sep 1999 16:13:13 EDT." <3.0.5.32.19990922161313.01e84c80@staff.sentex.ca> 

next in thread | previous in thread | raw e-mail | index | archive | help

>At 03:58 PM 9/22/99 -0400, Mitch Collinsworth wrote:
>>>ifconfig fxp0 media 10BaseT/UTP 
>>>ifconfig fxp0 media 10BaseT/UTP mediaopt full-duplex
>>>
>>>No reboot is needed.
>>
>>ackk!  It's not auto-sensing!  I've been ass_u_ming it was.
>>Why, pray tell, isn't this documented?
>
>I never trust auto-sensing. Tell both ends what they are configured for.

Agreed.  I do this wherever I can but some boxes either can't be
nailed down or I haven't discovered how yet.  In general I've had
good results by always locking the settings at the switch and letting
the computers I can't control autosense.  I mistook fxp0 for another
case of 'defaults to autosense'.

>>>I use lots of fxp cards on a couple of Cat 1900s in 10BaseT Full duplex
>>>mode without any errors.  Similarly on the 100BaseT ports in full duplex
>>>Here is a sample in 100BaseT full duplex.  
>>>
>>>
>>>-------------------------------------  
>>>Total good frames           632711776  
>
>>
>>Hey, ethernet counters!  How do you get these?
>
>I thought you said you were using a Cisco Catalyst switch ?  Just telnet
>into the box (or via the serial console) and view the port stats.

Yes, I've been doing that.  Your formatting is completely different
from mine so I thought your counters were from the fxp0 end.  Was
that from a 1900 switch?  I don't have any of those.  My 24xx switches
(except for the 2948G, which is completely different) show counters
like this:

zzzzz#show int f0/5
FastEthernet0/5 is up, line protocol is up 
  Hardware is Fast Ethernet, address is 0090.abee.1f05 (bia 0090.abee.1f05)
  Description: 557a-schilke
  MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, rely 255/255, load 1/255
  Encapsulation ARPA, loopback not set, keepalive not set
  Full-duplex, 100Mb/s, 100BaseTX/FX
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:00:01, output hang never
  Last clearing of "show interface" counters 00:06:02
  Queueing strategy: fifo
  Output queue 0/40, 0 drops; input queue 0/75, 0 drops
  5 minute input rate 131000 bits/sec, 2 packets/sec
  5 minute output rate 4000 bits/sec, 4 packets/sec
     9626 packets input, 11282119 bytes, 0 no buffer
     Received 2 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     0 watchdog, 0 multicast
     0 input packets with dribble condition detected
     4981 packets output, 693845 bytes, 0 underruns
     0 output errors, 0 collisions, 0 interface resets
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier
     0 output buffer failures, 0 output buffers swapped out


Yours are a lot easier to read!

-Mitch



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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