Adjusting iprb interface settings with Solaris


I am using an Intel PRO/100 Ethernet inteface in one of the servers I manage, and it is supported by the X64 Solaris 10 Operating System. I recently had to hard code and Intel PRO/100 interface (the Intel PRO/100 is managed by the iprb device driver) to 100 Mb/s full duplex, but it wasn’t visible when I ran the ndd utility:

$ ndd -get /dev/iprb \?
operation failed: Invalid argument

I read through the iprb manual page, which discusses hard coding the interface settings in the device driver configuration files. After googling to see which file they were referring to, I found a reference to /kernel/drv/iprb.conf. To set each iprb instance in the server to 100 Mb/s full duplex, the driver type, instance number, speed and duplex parameters can be added to /kernel/drv/iprb.conf:

$ cat /kernel/drv/iprb.conf
name="iprb” parent="pseudo” instance=0 speed=100 full-duplex=1; name="iprb” parent="pseudo” instance=1 speed=100 full-duplex=1;

In order for the settings to take effect, the device driver needs to be reloaded, or the server rebooted. To verify that the settings took effect, the Solaris dladm utility can be used:

$ dladm show-dev

iprb0 link: unknown speed: 100 Mbps duplex: unknown iprb1 link: unknown speed: 100 Mbps duplex: unknown

I dig the dladm utility, and will have to blog about it in a future post.

This article was posted by Matty on 2006-07-14 18:17:00 -0400 -0400