[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ifconfig + autosense



Autosensing was really useful as we moved from 10baseT to
100baseT.

That need is hugely reduced and autosensing is one of the
bigger pains that I have to deal with.  e.g. that big fast 8
way Alpha is slow because it's at half duplex while the switch
is at full.

Set the switch how you want it to be, set the interface at how
you want it to be.  They are servers and the network hardware
is unlikely to change suddenly (whereas laptops are in unknown
environments all the time).

man hostname.if
and set the media options to 100baseT FullDuplex if that's what
you want.

Quoting Luciano Rottava da Silva (rottava@das.ufsc.br):
> Hi,
> 
> I have two openbsd servers plugged in the same switch 10/100. I noticed
> that one machine have his ethernet nic configured correctly, i.e.,
> 100baseTX and full-duplex. The other machine not. Both have the same
> ethernet card (3Com - xl0) and identical /etc/hostname.xl0 files.
> 
> Below is the output of 'ifconfig -a':
> 
> machine A:
> 
> xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         media: Ethernet 10baseT (10baseT half-duplex)
>                                  ^^^^^^^^^^^^^^^^^^^^
> machine B:
> 
> xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         media: Ethernet autoselect (100baseTX full-duplex)
>                                     ^^^^^^^^^^^^^^^^^^^^^^
> 
> How turn autoselect on in machine A ?