Force NIC speed
Hi,
I want to force NIC speed in 100FD on bge nic.
I know how to do this on eri and qfe, but same commands didn't work for bge.
Example:
<a href="mailto:ROOT@drfw2" target="_blank">ROOT@drfw2</a> $ ndd -set /dev/eri instance 0
<a href="mailto:ROOT@drfw2" target="_blank">ROOT@drfw2</a> $ ndd -get /dev/eri link_speed
1
<a href="mailto:ROOT@drfw2" target="_blank">ROOT@drfw2</a> $ ndd -get /dev/eri link_mode
1
on bge:
<a href="mailto:ROOT@drfw3" target="_blank">ROOT@drfw3</a> $ ndd -set /dev/bge instance 0
operation failed: Invalid argument
<a href="mailto:ROOT@drfw3" target="_blank">ROOT@drfw3</a> $ ndd /dev/bge \?
operation failed: Invalid argument
<a href="mailto:ROOT@drfw3" target="_blank">ROOT@drfw3</a> $ ls -las /dev/bge
2 lrwxrwxrwx1 rootroot 29 Sep 27 11:45 /dev/bge -> ../devices/pseudo/<a href="mailto:clone@0" target="_blank">clone@0</a>:bge
Any idea?
Thanks,
Tarek
[1379 byte] By [
tarek] at [2007-11-25 22:42:24]

# 1
<table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td class="SmallText"><b>tarek wrote on Tue, 27 September 2005 10:10</b></td></tr><tr><td class="quote">
Hi,
I want to force NIC speed in 100FD on bge nic.
I know how to do this on eri and qfe, but same commands didn't work for bge.
Example:
<a href="mailto:ROOT@drfw2" target="_blank">ROOT@drfw2</a> $ ndd -set /dev/eri instance 0
<a href="mailto:ROOT@drfw2" target="_blank">ROOT@drfw2</a> $ ndd -get /dev/eri link_speed
1
<a href="mailto:ROOT@drfw2" target="_blank">ROOT@drfw2</a> $ ndd -get /dev/eri link_mode
1
on bge:
<a href="mailto:ROOT@drfw3" target="_blank">ROOT@drfw3</a> $ ndd -set /dev/bge instance 0
operation failed: Invalid argument
<a href="mailto:ROOT@drfw3" target="_blank">ROOT@drfw3</a> $ ndd /dev/bge \?
operation failed: Invalid argument
<a href="mailto:ROOT@drfw3" target="_blank">ROOT@drfw3</a> $ ls -las /dev/bge
2 lrwxrwxrwx1 rootroot 29 Sep 27 11:45 /dev/bge -> ../devices/pseudo/<a href="mailto:clone@0" target="_blank">clone@0</a>:bge
Any idea?
Thanks,
Tarek
</td></tr></table>
You need to create a bge.conf file and place it in /platform/sun4u/kerne/drv. I don't remember the syntax off the top of my head, but you can look it up @sunsolve.sun.com
I will tell you, the bge interface does a much better job at auto-configure that the old hme's, qfe's, eri's ever did, plus, of you force the bge to a speed different from the one at the switch, you will not get a network connection. I am replacing a whole bunch of 1120s with v240s, and the auto-neg bfe's work great.
I'd recommend just leaving it as it is.