
If you have any questions or feedback, feel free to comment below. 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. They will also allow one to configure routing. Run the below shell script to check all the required information about the network interface: # sh /opt/scripts/nic-info.sh The Red Hat configuration tools store the configuration information in the file /etc/sysconfig/network. 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? If you have a wireless connection that will be listed, most likely, as wlan0. Most likely you will see information for both the loopback (lo) and your wired network connection (eth0). When you issue this command you will receive information for every network connection you have available. # 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 you do not provide the network device attributes with metadata options, then nova-compute service gets the network device attributes from the Neutron subnet information. If yes, check other configuration details that are compatible with existing interfaces. You can provide the expected network information by using the -metadata parameter during the boot process.


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.
