Posts Tagged ‘ndd’

Solaris NIC settings

September 20, 2011

Today I faced a problem with network configuration on an ancient Solaris 7 RISC. Symptoms: output network speed 2.5MB/s, input speed 100KB/s.

netstat -in (-i for interfaces, -n for numbers) showed lots of Ierrs. The reason for that was mismatch in advertised capabilities even though effectively it was 100 FDX at each end. I had following parameters set in /etc/system left from previous admin:

set hme:hme_adv_autoneg_cap=0
set hme:hme_adv_100fdx_cap=1
set hme:hme_adv_100hdx_cap=0
set hme:hme_adv_10hdx_cap=0
set hme:hme_adv_10fdx_cap=0

And for switch it was:

# ndd -get /dev/hme lp_autoneg_cap

# ndd -get /dev/hme lp_100fdx_cap

# ndd -get /dev/hme lp_100hdx_cap

# ndd -get /dev/hme lp_10hdx_cap

# ndd -get /dev/hme lp_10fdx_cap

So the lesson is: always keep network settings equal on both ends even if they don’t contradict with each other at first sight.