ndd matters

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 that there isn't any config file that i can actually refer to for the outcome or otherwise? :confused:

Appreciate if you could shed some lights. Thanks.

The settings that you set with an "ndd -set" command can also be set in the /etc/system file, I am not aware of where one can find the result of an "ndd -set" in a file and the fact the change is lost on reboot indicates that it is only set in memory, the methods of making ndd(1m) type changes permanent is to either call ndd from an rc script or SF service or to put them into /etc/system (the latter is better because it has an affect as soon as is possible during the boot process.

IIRC correctly a list of all the parameters for a given driver may be obtained by running for example:

# ndd -get /dev/tcp \?

N.B. Running "ndd -get" is how you would confirm that a run of "ndd -set" has changed something.

How about the file (if there is any) for ndd default settings?

I have a server with e1000g0 interface whereby it only negotiates at 100Mbps. Both server and switch are set to AutoNeg. I have tried the followings :

  1. Hard set switch to 1000Mbps
  2. Configured e1000g.conf (ForceSpeedDuplex=7; AutoNegAdvertised=32;) to only advertise 1000Full

Both methods actually kills the connection. I have no such problem with other servers though. Any clue?

  1. If you hard set the switch to 1000 then you would have to do the same to the network interface, .i.e. both ends have to autoneg or neither end should.

  2. Setting the switch or the port to only advertise 1000, FD, while still using autoneg should be okay.

Sounds like the switch or network cable are not 1000 capable?