How do I change network interface parameters on the fly in solaris?



  • Changing network parameters dynamically can be useful for testing and to save time rebooting a system. To change network tunable parameters on an interface do the following, the network interface used here is ce0, but you can do the same for bge0, hme0, and so on. In this example the settings are 100FDX with everything else turned off. The number 1 mean "ON" the number 0 mean "OFF".

    # ndd -set /dev/ce instance 0
    # ndd -set /dev/ce adv_1000fdx_cap 0
    # ndd -set /dev/ce adv_1000hdx_cap 0
    # ndd -set /dev/ce adv_100fdx_cap 1
    # ndd -set /dev/ce adv_100hdx_cap 0
    # ndd -set /dev/ce adv_10fdx_cap 0
    # ndd -set /dev/ce adv_10hdx_cap 0
    # ndd -set /dev/ce adv_autoneg_cap 0
    


© Lightnetics 2024