Solaris NIC settings

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.


Tags: , , , , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: