Hardcode Network Interfaces


How to lock network interfaces to specific speed and duplex vs allowing autonegotiation under various unixes and linux...

Linux

Add the following sort of line to /etc/rc.local

  /sbin/mii-tool -F 100baseTx-FD eth0

HPUX HP/UX

Configure via SAM, interesting files near /etc/rc.config.d/*lan*. Configuration happens at startup via the lanadmin command.

Tru64

Interesting files near /etc/inet.local Configuration happens at startup via the lan_config command. Something like:

  lan_config -i tu1 -a 0 -s 100 -x 1

AIX

Configure via smitty. Something like works "live":

  chdev -P -l ent0 -a media_speed=100_Full_Duplex


date: 01/23/2009