07-21-2006
Thanks a lot dude.
I understand it better now.
9 More Discussions You Might Find Interesting
1. IP Networking
I am trying to set an interface to 100/Full, but the command I use are getting rejected. I think it is the last argument, but I don't know how to find the correct values.
I am trying to use the following script, but change hme to le .
echo "Setting hme interface 1: 100mb/full-duplex..."
... (2 Replies)
Discussion started by: bbrandeb49
2 Replies
2. Solaris
Hello Gurus
I would like to know more about ndd commands related to ethernet(NIC) like how to set link_status, link_speed & link_mode as I know how to check these value. And I also would like to know how to make these setting permanents after reboot as I know that these setting will vanish... (5 Replies)
Discussion started by: amity
5 Replies
3. Programming
Hi,
Is there any function calls available ( for using in a C program ) to get the Ethernet Link status. ?
I am looking for the status available from
ndd /dev/hme link_status
And how about plumbing and configuring an interface using C program ?
BTW, Is all this documented... (3 Replies)
Discussion started by: shibz
3 Replies
4. Solaris
Hi,
I would like to know whether there is any config file that i can refer to for the result of 'ndd -get /dev/tcp tcp_time_wait_interval'?
When i man 'ndd', there is one statement which is -> Each driver chooses which parameters to make visible using ndd. Does it answering my question above... (3 Replies)
Discussion started by: honmin
3 Replies
5. Solaris
Solaris 10 server (SunOS 5.10 Generic_137137_09)
I have a services file configured in /etc in there windows clients connect to my server on port 6034-6037
when I do the following
netstat | grep TestServices
it pulls all the connections active for those ports
so right now I have 10 clients... (3 Replies)
Discussion started by: deaconf19
3 Replies
6. UNIX for Advanced & Expert Users
I have a T2000 server which has 4 e1000g NIC cards
How do I configure each of it for 1Gbit full duplex and turnoff autonegotiation.
Please assist
Thanks (4 Replies)
Discussion started by: Tirmazi
4 Replies
7. Solaris
Following command was set up in startup script on Solaris 8 servers - improved network transfers of files from one server to the another (doubled transfer speed).
ndd -set /dev/tcp tcp_host_param '10.140.20.10 sendspace 279600 recvspace 279600 timestamp 1'
Now they are getting a new server... (15 Replies)
Discussion started by: RTM
15 Replies
8. Solaris
Hello forum,
I have a Solaris 9 Sun Fire v240 server and Sun Fire v440
Recently we made changes and installed a new switch which both of them are connected to it. Cisco Catalyst 3750.
Now the Sun Server v240 is having problems with the network. It was supposed to run at 1000mbs speed.
ndd... (10 Replies)
Discussion started by: br1an
10 Replies
9. Solaris
Hi,
Recently, I had to disable autoneg in one of my servers having ixgbe1 interface. While using below command I got "Permission denied" error:
ndd -set /dev/ixgbe1 adv_autoneg_cap 0
On investigating further I found that adv_autoneg_cap is showing as read-only parameter. Although it is... (1 Reply)
Discussion started by: rochitsharma
1 Replies
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)