[Techtalk] How to hard code the speed of a virtual interface (bond0)?

Joana Botto joana.botto at gmail.com
Thu May 7 09:48:39 UTC 2009


Hi,

I configured two NICs with bonding, balance-alb. But now I would like
to hard code the bond0 interface speed to 1000Mb and full duplex.
Because bond0 it's a virtual interface, the ethtool output says the
interface doesn't exist.

In /etc/rc.local I've put
ethtool -s eth0 duplex full speed 1000 autoneg off
ethtool -s eth1 duplex full speed 1000 autoneg off

But ethtool still says that autoneg is on.

I didn't found anything relevant in google.

Does anyone have an idea how to do it? Thank you.


Regards,
Joana Botto


More information about the Techtalk mailing list