Solaris 10 Changing of nic link_speed

hi guys,

is there any way to change the nic link_speed in Solaris 10? now my box is running degraded performance of the link speed as the switch is upgraded from 100m to 1000m.

dladm show-dev
e1000g0         link: up        speed: 100   Mbps       duplex: full
e1000g1         link: up        speed: 1000  Mbps       duplex: full

i try to use command:

ndd -set /dev/e1000g0 link_speed=1000

output: permission is denied.

is there any way to change?

First of all if the adaptor e1000g0 supports only 100 mbps, you will not be able to set it to 1000 mbps. Hardware cannot be pushed to go beyond the limit with software. Upgrade the NIC!! :smiley:

As its name suggests, the e1000g is a gigabit interface.

However, you do not set that speed. The standards require it to be negotiated between both parties. It might be a configuration issue like auto-negotiation disabled on either side.

You obviously don't have a clue :rolleyes:

Intel� PRO/1000 MT Server Adapter - Overview

Didn't you notice there are 2 equal nic's and one is already correctly set to run in gigabit mode? :rolleyes:

---------- Post updated at 01:29 ---------- Previous update was at 01:21 ----------

Did you run

# ndd -get /dev/e1000g0 ?

before? Check this, especially configuration chapter: http://docs.oracle.com/cd/E19253-01/816-5177/6mbbc4g4j/index.html
You can't force this nic to 1000mbs ^^

i have checked the ndd -get /dev/e1000g0 and compare with /dev/e1000g1:

e1000g0:
adv_cap_1000fdx 1
adv_cap_1000hdx 0
adv_cap_100fdx 1
adv_cap_100hdx 1
adv_cap_10fdx 1
adv_cap_10hdx 1
link_autoneg 1
link_duplex 2
link_pause 0
link_state 1
link_up 1
link_speed 100

e1000g1:

adv_cap_1000fdx 1
adv_cap_1000hdx 0
adv_cap_100fdx 1
adv_cap_100hdx 1
adv_cap_10fdx 1
adv_cap_10hdx 1
link_asmpause 0
link_autoneg 1
link_duplex 2
link_pause 0
link_state 1
link_up 1
link_speed 1000

#dladm show-dev
e1000g0         link: up        speed: 100   Mbps       duplex: full
e1000g1         link: up        speed: 1000  Mbps       duplex: full
e1000g2         link: up        speed: 1000  Mbps       duplex: full

i tried to refresh it by execute svcadm refresh network/physical and rebooted the machine but the link speed is still persist. the network switch side is set to auto neg. thanks. :frowning:

Is e1000g0 connected to the same switch as e1000g1 and e1000g2 ?

yes:(:

Some more ideas:

  • check the cable
  • check the switch port.

Gbps ethernet uses four pairs while 100 mbps use two pairs and the cable specifications need to be better for the former.

Some switches have not all of their ports gbps capable.

yes, the cables are the same and all are connected to the same switch.

This doesn't rule out a faulty cable or port. You might also try advertising 1000 gbps half-duplex.

What happens when you swap cables and ports?