Hi All,
We have a requirement to turn ON “disable_mc_loopback” private flag for an interface. I could do the same by using below command,
ethtool --set-priv-flags disable_mc_loopback on
However the configuration does not persist reboot. Is their a way to persist the above configuration?
We are using the following Ethernet Controller - Mellanox Technologies MT27500/MT27520 Family [ConnectX-3/ConnectX-3 Pro Virtual Function]
Use ifcfg- file and specify ETHTOOL_OPTS parameter.
$cd /etc/sysconfig/network-scripts
$:/etc/sysconfig/network-scripts/>grep ETHTOOL *
network-functions: [ -n “${ETHTOOL_DELAY}” ] && /bin/usleep ${ETHTOOL_DELAY}
network-functions: for opts in $ETHTOOL_OPTS ; do
$moya:/etc/sysconfig/network-scripts/>
The instructions above applicable for RedHat/CentOS. For the other distributions, need to use similar way and add call to ‘ethtool’ from interface startup script. For additional details, contact your OS vendor.