LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-25-2008, 08:05 AM   #1
lensem
Member
 
Registered: Apr 2008
Location: Orlando, Fl
Posts: 52

Rep: Reputation: 15
Network Interface Parameter Check


Is there a command I could use to verify that my Network Interface is set as expected... i.e.: verify the speed, duplex, and autoneg are set to what I expect them to be....

We have had a few cases, where we have the interfaces set at say, 100Mb, Full Duplex, and Autoneg Off and found that the interface was actually running at Half Duplex...

Would like to have a way to run a script to verify the settings and then email me if they are not what is expected...

Thanks
 
Old 06-25-2008, 08:39 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
it-etch:~# mii-tool
eth0: negotiated 100baseTx-FD flow-control, link ok


man mii-tool for more detailed information

If you are forcing an interface to full duplex, you have overridden the auto-negotiation feature. your switch will default that connected port to Half-Duplex.

If you force the duplex setting on the NIC YOU MUST also force the Port on your managed switch to the same setting.

Last edited by farslayer; 06-25-2008 at 08:43 AM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
In FC6 network interface doesn't come up if 'service network restart' command is run rajat Linux - Networking 2 05-02-2007 11:53 PM
linux bash - how to use a dynamic parameter in shell parameter expansion expression nickleus Linux - General 2 08-21-2006 04:54 AM
User interface problem -- check a point is inside a polygon or not George2 Programming 1 06-02-2006 03:17 AM
Change parameter of /etc/sysconfig/network with a script philipina Linux - Hardware 1 03-11-2004 12:59 PM
Change parameter of /etc/sysconfig/network with a script philipina Linux - General 3 03-11-2004 05:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration