Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Solaris 10 NIC card settings 2

Status
Not open for further replies.

jstauff1

IS-IT--Management
Dec 29, 2008
4
US
Hello,

I have a Sun Blade 2500 running solaris 10. I am having trouble setting the card to 100 full duplex. I have tried to change the speed in the /kernel/drv/e1000g.conf file. Here are the contents of the file...

ForceSpeedDuplex=4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4;
# This will force Speed and Duplex for following settings for a typical
instance.
# 1 will set the 10 Mbps speed and Half Duplex mode.
# 2 will set the 10 Mbps speed and Full Duplex mode.
# 3 will set the 100 Mbps speed and half Duplex mode.
# 4 will set the 100 Mbps speed and Full Duplex mode.
# 7 will let adapter autonegotiate.
AutoNegAdvertised=8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8;
# This parameter determines the speed/duplex options that will be
# advertised during auto-negotiation. This is a bitmap with the
# following settings.
# Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
# Setting| N/A | N/A | 1000F | N/A | 100F | 100H | 10F | 10H
#
# For example:
# To advertise 10 Half only AutoNegAdvertised = 1
# To advertise 10 Full only AutoNegAdvertised = 2
# To advertise 10 Half/Full AutoNegAdvertised = 3
# To advertise 100 Half only AutoNegAdvertised = 4
# To advertise 100 Full only AutoNegAdvertised = 8
# To advertise 100 Half/Full AutoNegAdvertised = 12
# To advertise 1000 Full only AutoNegAdvertised = 32
# To advertise all speeds AutoNegAdvertised = 47
MaxFrameSize=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;
# 0 is for normal ethernet frames.
# 1 is for upto 4k size frames.
# 2 is for upto 8k size frames.
# 3 is for upto 16k size frames.
# These are maximum frame limits, not the actual ethernet frame
# size. Your actual ethernet frame size would be determined by
# protocol stack configuration (please refer to ndd command man pages)
# For Jumbo Frame Support (9k ethernet packet)
# use 3 (upto 16k size frames)
FlowControl=3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;
# 0: Flow control is completely disabled
# 1: Rx flow control is enabled (we can receive pause frames
# but not send pause frames).
# 2: Tx flow control is enabled (we can send pause frames
# but we do not receiving pause frames).
# 3: Both Rx and TX flow control (symmetric) is enabled.
# 4: No software override. The flow control configuration
# in the EEPROM is used.
TbiCompatibilityEnable=1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;
# 1 turns it on and 0 turns it off.

Any assitance would be greatly appreciated.

Thanks.
 
What is happening? Is it not being set to 100/full, or are you simply getting no connectivity? Have you done the same thing at the switch side?

Annihilannic.
 
dladm show-dev displays as half duplex even after a reboot.

The switch, according to our network team, is set to 100 full.

Thanks
 
I don't have a server to look at but set:

ForceSpeedDuplex=4
and comment out
#AutoNegAdvertised

If that doesn't work then have the switch autoneg and set
ForceSpeedDuplex=7
AutoNegAdvertised=47

You don't need all those 4,4,4,4,4 either. I have had no problems using just 4 or 8 or 47.
 
Thanks cryptoadm, I will give that a try...
 
Hey that worked! (commenting out the Autoneg) thanks again for your help cryptoadm.

Have a Happy New Year!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top