How to find network card driver name and version on Linux

Question: An Ethernet network interface card is attached to my Linux box, and I would like to know which network adapter driver is installed for the NIC hardware. Is there a way to find out the name and version of a network card driver for my network card? For network interface card (NIC) hardware to […]
Continue reading…

 

How to compile ixgbe driver on CentOS, RHEL or Fedora

Question: I want to build and install the latest ixgbe 10G NIC driver. How can I compile ixgbe driver on CentOS, Fedora or RHEL? To use Intel’s PCI Express 10G NICs (e.g., 82598, 82599, x540) on your Linux system, you need to install ixgbe driver. While modern Linux distributions come with ixgbe driver pre-installed as […]
Continue reading…

 

How to disable IPv6 on Linux

Question: I notice that one of my applications is trying to establish a connection over IPv6. But since our local network is not able to route IPv6 traffic, the IPv6 connection times out, and the application falls back to IPv4, which causes unnecessary delay. As I don’t have any need for IPv6 at the moment, […]
Continue reading…

 

How to download and install ixgbe driver on Ubuntu or Debian

Question: I want to download and install the latest ixgbe driver for my Intel 10 Gigabit Ethernet card. How can I install ixgbe driver on Ubuntu (or Debian)? Intel’s PCI Express 10 Gigabit (10G) network inerface cards (e.g., 82598, 82599, x540) are supported by ixgbe driver. The stock kernel of the modern Linux distributions already […]
Continue reading…

 

How to change a network interface name on CentOS 7

Question: On CentOS 7, I would like to change the assigned name of a network interface to something else. What is a proper way to rename a network interface on CentOS or RHEL 7? Traditionally, network interfaces in Linux are enumerated as eth[0123…], but these names do not necessarily correspond to actual hardware slots, PCI […]
Continue reading…

 

How to change network interface names permanently in Linux

Question: I want to change a network interface name (e.g., “eth0”) to something else on my Linux. What is a proper way to rename network interfaces on Linux? In Linux, device name management is handled by udev system. When Linux kernel discovers a new device (e.g., a network interface card) added to the system, it […]
Continue reading…

 

How to configure static DNS on CentOS or Fedora

Question: On CentOS, I am getting an IP address assigned by DHCP. However, I want to use public DNS servers (e.g., Google DNS), not those assigned by a DHCP server. In general, how can I configure DNS servers statically on CentOS or Fedora? If you want to hard-code DNS servers to use on CentOS or […]
Continue reading…