How Do I Change the Interface Name in Linux 7?
Contents

How do you rename an interface in Linux?

Configuration

  1. Find the MAC address of the ports you wish to change their names (e.g., enp2s0f0 and enp2s0f1): # ifconfig. …
  2. Create the configuration file (70-persistent-net.rules) …
  3. Create/edit the ifcfg file for the port configuration: …
  4. Reboot the server and then verify the name changes by running ifconfig.

3 дек. 2018 г.

How do I get the interface name in Linux?

Linux Show / Display Available Network Interfaces

  1. ip command – It is used to show or manipulate routing, devices, policy routing and tunnels.
  2. netstat command – It is used to display network connections, routing tables, interface statistics, masquerade connections, and multicast memberships.
  3. ifconfig command – It is used to display or configure a network interface.

21 дек. 2018 г.

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest