[rhelv6-list] Adding ethtool options to ifcfg-ethX
Bill Nottingham
notting at redhat.com
Mon Apr 4 18:02:16 UTC 2011
carlopmart (carlopmart at gmail.com) said:
> I need to add some ethtool options to a specific interface. I see
> in /etc/sysconfig/network-scripts/ifup-eth file that I could do it
> using ETHTOOL_OPTS variable under ifcfg-ethX config file. But I only
> see to pass ethtool options with "-s" flag and I need to pass "-G"
> options like:
>
> "ethtool -G eth1 rx 1024 tx 1024".
>
> Is it possible to do with ifcfg-ethX config file or do I need to
> put ethtool command under rc.local??
It is not currently possible with ifcfg-ethX... you can do it in
a udev rule, or rc.local, or your own custom init script. A udev
rule would be my preference, as that's conceptually the right place
for it (ties it to the device, etc.)
Bill
More information about the rhelv6-list
mailing list