The way to do this depends on the type of NIC you are using.
For some types you make entries in /etc/systems, like these to set all qfe-interfaces to 100 MBit Fullduplex.
If you have ce interfaces, entries in /etc/system do not work. You have to create an init-script like this (which sets only ce0 to 100 MBit Full) and make sure, it is run at system boot.
Some NICs can't even be configured using the ndd command. Instead you have to make entries in the driver's config file under /kernel/drv. The format of these entries is driver dependent.
Consult the NICs documentation or places on the internet (like this forum) to find out, which kind of configuration is supported and which not.
Finally: please use interface fixation only as a last resort. Autonegotiation is today's technology and for gigabit ethernet it is mandatory anyway.
Hi,
We have a 4 port Sun gigaswift NIC card on our sun fire server.
If the card is a physical one I know how to check the settings/speed. But since this is a virtual card with 4 ports , I am not sure as how we can check the settings.
Details
-----------
root:/> ifconfig -a
lo0:... (3 Replies)
I have a TOSHIBA AS7000 B150 Sun Box
I wanted to run it with 100M/full duplex
I had added this to the /etc/system file to make to setting permenant So it would be set correctly on reboot.
set eri:eri_adv_100fdx_cap=1
set eri:eri_adv_100hdx_cap=0
set eri:eri_adv_autoneg_cap=0
But when I... (4 Replies)
I recently learned that Sun Solaris network cards (ce devices) have problems with ndd -get commands. I did some searching and found out about the netstat -k command to show me the link speed. What is the best way to change the link speed (both one time and permanently)?
I am running Solaris 9... (7 Replies)
Hi,
I would like to know how to change the speed of ethernet card in linux? as it is showing auto-neg using mii-tool -v eth0
and my requirement is 100mbps full duplex.
Regards,
Manoj (3 Replies)
How to change Speed Duplex !
How to change Speed Duplex by command
chdev -P -l ent1 -a media_speed=1000_Full_Duplex
How to change Speed Duplex by Smitty .
smitty chgenet -> select adapter -> change Media speed etc. -> set "Apply change to DATABASE only" to yes -> Enter -> ... (0 Replies)
Hi,
Does anyone know how can I determine the maximum capable speed on a network interface card for different OS like HP, Sun, AIX and Linux.
I am aware of the tool "ethtool" which can be used for Linux. Are there any handly commands or /proc files where I can get this info depending on the OS.... (3 Replies)
Hi,
I have few Solaris (9 and 10) servers, whose consoles are running on 10 MBPs. Now, Network team is changing their switch, which doesn't support 10 MBPs and we need to check if console all of those servers will support 100MBPs or more.
Is there any way to check supported (or maximum supported)... (7 Replies)
Hi,
I would like to know how to find out ACTUAL speed of NIC Card.
I have used the command ethtool eth0, it is showing supported modes,
but what is acutal speed ? how to find out? (4 Replies)
Discussion started by: manoj.solaris
4 Replies
LEARN ABOUT PLAN9
ndd
ndd(1M) System Administration Commands ndd(1M)NAME
ndd - get and set driver configuration parameters
SYNOPSIS
ndd [-set] driver parameter [value]
DESCRIPTION
ndd gets and sets selected configuration parameters in some kernel drivers. Currently, ndd only supports the drivers that implement the
TCP/IP Internet protocol family. Each driver chooses which parameters to make visible using ndd. Since these parameters are usually
tightly coupled to the implementation, they are likely to change from release to release. Some parameters may be read-only.
If the -set option is omitted, ndd queries the named driver, retrieves the value associated with the specified parameter, and prints it. If
the -set option is given, ndd passes value, which must be specified, down to the named driver which assigns it to the named parameter.
By convention, drivers that support ndd also support a special read-only parameter named ``?'' which can be used to list the parameters
supported by the driver.
EXAMPLES
Example 1: Getting Parameters Supported By The TCP Driver
To see which parameters are supported by the TCP driver, use the following command:
example% ndd /dev/tcp ?
The parameter name ``?'' may need to be escaped with a backslash to prevent its being interpreted as a shell meta character.
The following command sets the value of the parameter ip_forwarding in the dual stack IP driver to zero. This disables IPv4 packet forward-
ing.
example% ndd -set /dev/ip ip_forwarding 0
Similarly, in order to disable IPv6 packet forwarding, the value of parameter ip6_forwarding
example% ndd -set /dev/ip ip6_forwarding 0
To view the current IPv4 forwarding table, use the following command:
example% ndd /dev/ip ipv4_ire_status
To view the current IPv6 forwarding table, use the following command:
example% ndd /dev/ip ipv6_ire_status
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO nca(1), ioctl(2), attributes(5), arp(7P), ip(7P), ip6(7P), tcp(7P), udp(7P)NOTES
The parameters supported by each driver may change from release to release. Like programs that read /dev/kmem, user programs or shell
scripts that execute ndd should be prepared for parameter names to change.
The ioctl() command that ndd uses to communicate with drivers is likely to change in a future release. User programs should avoid making
dependencies on it.
The meanings of many ndd parameters make sense only if you understand how the driver is implemented.
SunOS 5.10 8 Nov 1999 ndd(1M)