0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

How to rename network interface on CentOS 7

Posted at

How to rename network interface on CentOS7/RHEL7

eg. eth1 -> eth0 and eth0 -> eth1

/sbin/ip link set eth0 down
/sbin/ip link set eth1 down

/sbin/ip link set eth0 name eth10
/sbin/ip link set eth1 name eth0
/sbin/ip link set eth10 name eth1

/sbin/ip link set eth0 up
/sbin/ip link set eth1 up

cf. https://unix.stackexchange.com/questions/205010/centos-7-rename-network-interface-without-rebooting/219277

:smiley:

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?