Change Network Interface Name: eth0,eth1,eth2+

The best way to rename a network interface is through udev. Edit the file /etc/udev/rules.d/70-persistent-net.rules to change the interface name of a network device. The names of the network devices are listed in this file as follows: # PCI device 0x11ab:0x4363 (sky2) SUBSYSTEM==”net”, ACTION==”add”, DRIVERS==”?*”, ATTR{address}==”00:00:00:00:00:00″,ATTR{dev_id}==”0x0″, ATTR{type}==”1″, KERNEL==”eth*”, NAME=”eth0″ Rename network interface from eth0 to […]

HowTo: Change Speed and Duplex of Ethernet card in Linux

To change Speed and Duplex of an ethernet card, we can use ethtool – a Linux utility for Displaying or Changing ethernet card settings. 1. Install ethtool You can install ethtool by typing one of the following commands, depending upon your Linux distribution. Install ethtool in Fedora, CentOS, RHEL etc.: # yum install ethtool Install […]

Configuring Network on CentOS/RHEL — Basic Configuration

Interface configuration files control the software interfaces for individual network devices. As the system boots, it uses these files to determine what interfaces to bring up and how to configure them. These files are usually named ifcfg-<name>, where <name> refers to the name of the device that the configuration file controls. Because each device has […]