[CentOS] Hard-set network via ifup scripts...

Wed Sep 5 01:14:23 UTC 2007
Robert - elists <lists07 at abbacomm.net>

> Anyone know off the top of their head the "right" way to hard set a
> link automatically to 100Mbps Full Duplex, etc using the ifup or ifcfg
> files?
> Don't see options in the scripts that might cover this, but maybe
> there's a more elegant way to do it than to do something in rc.local or
> hack up the ifup files myself...
> Ray


this in what we put in the /etc/sysconfig/network-scripts/ifcfg-eth0 or
other similar files

ETHTOOL_OPTS="speed 100 duplex full autoneg off"

 - rh