- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- ethtool and map ip to nic server
Operating System - Linux
1753767
Members
5620
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2011 03:03 PM
тАО02-11-2011 03:03 PM
Hi guys,
I am trying to use ethtool to detect whether cable has been connected to a nic remotely. But I realize the link sense = yes with or without cable connected. This is the first time I see this, is there something enwrong?
Also generally how do u know which ethN is which NIC?
Regards
Henry
I am trying to use ethtool to detect whether cable has been connected to a nic remotely. But I realize the link sense = yes with or without cable connected. This is the first time I see this, is there something enwrong?
Also generally how do u know which ethN is which NIC?
Regards
Henry
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2011 02:23 AM
тАО02-12-2011 02:23 AM
Solution
> But I realize the link sense = yes with or without cable connected.
What's your NIC model? If the Linux driver for that NIC is very new, it might not include a working version of the link detection yet.
Or if the hardware manufacturer has made a new revision of existing hardware and changed the way the link detection works, the change might not be included in your version of the Linux driver yet.
Or if you're using blade hardware (e.g. HP c-class blades) with a switch module integrated into the blade chassis, the link sense might be telling you that yes, the internal connection between the blade and the switch module is most definitely connected. In that case, you need to use the switch module management tools to check the link states of external connections.
> Also generally how do u know which ethN is which NIC?
Generally? You test it when installing the server for the first time and document it.
The command "ethtool -p" might be useful in this: it will cause the LED(s) of the port to blink in some recognizable way until the command is aborted, or for a specified time. For example, "ethtool -p eth0 10" will blink the LED(s) of port eth0 for 10 seconds.
Most Linux distributions today have a system that assigns ethN numbers persistently to NICs by their MAC addresses; so, if you add a new NIC later, the already-allocated ethN numbers won't change.
(On the other hand, if your NIC fails and you need to replace it, you'll need to know which configuration file to modify in order to make the replacement NIC take the ethN number of the failed one...)
MK
What's your NIC model? If the Linux driver for that NIC is very new, it might not include a working version of the link detection yet.
Or if the hardware manufacturer has made a new revision of existing hardware and changed the way the link detection works, the change might not be included in your version of the Linux driver yet.
Or if you're using blade hardware (e.g. HP c-class blades) with a switch module integrated into the blade chassis, the link sense might be telling you that yes, the internal connection between the blade and the switch module is most definitely connected. In that case, you need to use the switch module management tools to check the link states of external connections.
> Also generally how do u know which ethN is which NIC?
Generally? You test it when installing the server for the first time and document it.
The command "ethtool -p
Most Linux distributions today have a system that assigns ethN numbers persistently to NICs by their MAC addresses; so, if you add a new NIC later, the already-allocated ethN numbers won't change.
(On the other hand, if your NIC fails and you need to replace it, you'll need to know which configuration file to modify in order to make the replacement NIC take the ethN number of the failed one...)
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2011 09:04 PM
тАО02-18-2011 09:04 PM
Re: ethtool and map ip to nic server
Thanks MK!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP