Contents
How do you rename an interface in Linux?
Configuration
- Find the MAC address of the ports you wish to change their names (e.g., enp2s0f0 and enp2s0f1): # ifconfig. …
- Create the configuration file (70-persistent-net.rules) …
- Create/edit the ifcfg file for the port configuration: …
- 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
- ip command – It is used to show or manipulate routing, devices, policy routing and tunnels.
- netstat command – It is used to display network connections, routing tables, interface statistics, masquerade connections, and multicast memberships.
- ifconfig command – It is used to display or configure a network interface.
21 дек. 2018 г.