Networking Forums

Networking Forums > Computer Networking > Linux Networking > Best place to set nic parameters

Reply
Thread Tools Display Modes

Best place to set nic parameters

 
 
corblet
Guest
Posts: n/a

 
      03-22-2006, 09:30 PM
Where is the best place to set the NIC paramters on a linux box so that
it retained after reboot?
We are running Red Hat Linux ES version.

1) Add a line with ethtool command to /etc/rc.local
Or

2) Add ETHTOOL_OPTS="speed 100 duplex full autoneg off" into
/etc/sysconfig/network-scripts/ifcfg-eth0

Or

3) Add a line to /etc/modules.conf (right after the line 'alias eth0
abc'):
options abc Speed=100 Duplex=2


As per one of the quotes online 'modules.conf' seem to be most
appropriate?

Need to know the pros/cons of each.
Any thoughts?


TIA,
Raj

 
Reply With Quote
 
 
 
 
Allen McIntosh
Guest
Posts: n/a

 
      03-24-2006, 02:18 AM
It seems to me that the parameters are associated with the hardware. If
you added another NIC and the "abc" NIC became eth1, you would want the
parameter change to move too. That suggests that modules.conf is the
right place.

Just IMHO of course :-)
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LAN Parameters for Wireless Bill Broadband Hardware 1 05-08-2005 02:00 AM
NIC Tuning Parameters Dave Network Routers 0 07-29-2004 05:52 PM
NIC Tuning Parameters Dave Linux Networking 0 07-29-2004 05:52 PM
Kernel parameters tw Linux Networking 0 06-22-2004 08:00 PM
3Com 3c501 parameters? A.Melon Linux Networking 4 01-15-2004 07:12 PM



1 2 3 4 5 6 7 8 9 10 11