Saturday, September 28, 2024
Centos

Mengganti interface enp2s0 dengan Eth0 di centos 7

nano /etc/rc.local

# Konfigurasi Interface
ip link set enp2s0 down && ip link set enp2s0 name eth0 && ip link set eth0 up
ip link set enp3s0 down && ip link set enp3s0 name eth1 && ip link set eth1 up
ip link set enp4s0 down && ip link set enp4s0 name eth2 && ip link set eth2 up
ip link set enp5s0 down && ip link set enp5s0 name eth3 && ip link set eth3 up
ip link set enp6s0 down && ip link set enp6s0 name eth4 && ip link set eth4 up
ip link set enp7s0 down && ip link set enp7s0 name eth6 && ip link set eth6 up

# ganti permission

chmod +x /etc/rc.d/rc.local

(Visited 240 times, 1 visits today)
Baca Juga :  Cara Setting IP Static Pada Centos 7

Similar Posts