Saturday, June 11, 2016

CentOS 7 Minimal Installation - ‘Ifconfig’ missing



As we all know, “ifconfig” command is used to configure a network interfaces in GNU/Linux systems.
CentOS 7 minimal systems, use the commands “ip addr” and “ip link” to find the details of a network interface card.

How do I enable and use “ifconfig” Command in CentOS 7

#yum install net-tools

Now, you’ll be able to use the command ifconfig as usual.

Tuesday, June 7, 2016

Network Interfaces Name changes



What precisely has changed in v197?

With systemd 197 we have added native support for a number of different naming policies into systemd/udevd proper and made a scheme similar to biosdevname's (but generally more powerful, and closer to kernel-internal device identification schemes) the default. The following different naming schemes for network interfaces are now supported by udev natively:
  1. Names incorporating Firmware/BIOS provided index numbers for on-board devices (example: eno1)
  2. Names incorporating Firmware/BIOS provided PCI Express hotplug slot index numbers (example: ens1)
  3. Names incorporating physical/geographical location of the connector of the hardware (example: enp2s0)
  4. Names incorporating the interfaces's MAC address (example: enx78e7d1ea46da)
  5. Classic, unpredictable kernel-native ethX naming (example: eth0)