Linux centos get mac address9/26/2023 In this guide, we have shown several examples to verify network interface information such as available interface, active interface, NIC’s IP and MAC address and network interface port speed on Linux. Run the below shell script to check all the required information about the network interface: # sh /opt/scripts/nic-info.sh When you run the IP command without any argument, it gives you plenty of information about NIC, but use the following customized IP command to check only the network interfaces available on the system: # ip a |awk '/state UP/' # ethtool eth0 1) Checking available network interfaces The ethtool command is used to query or control network driver and hardware settings. Valid_lft forever preferred_lft forever What is ethtool command? # ip aġ: lo: mtu 65536 qdisc noqueue state UNKNOWN IP command is similar to ifconfig, which is used for assigning Static IP Address, Route & Default Gateway, etc. In this tutorial, we will show you how to check the available Network Interface Card (NIC) and other details such as interface name, associated IP address, MAC address and interface speed. If yes, check other configuration details that are compatible with existing interfaces. Server primary interface would be configured as part of the server build activity, but sometimes you may need to configure an additional network interface in Linux for several reasons.Īn additional interface will be configured for network bonding/teaming, high availability or a separate interface that is used for application requirements or backups.īefore adding a new interface, check if the system has any free interfaces.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |