# Centos8에서 nic 이름 변경

<table border="1" id="bkmrk-perplexity%EC%97%90%EC%84%9C-%EC%83%9D%EC%84%B1%ED%95%9C-ai%EC%9D%B4" style="border-collapse: collapse; width: 100%; height: 59.757px;"><colgroup><col style="width: 99.881%;"></col></colgroup><tbody><tr style="height: 29.8785px;"><td style="height: 29.8785px;">[![image.png](http://igoni.kr/uploads/images/gallery/2026-02/scaled-1680-/16jimage.png)](http://igoni.kr/uploads/images/gallery/2026-02/16jimage.png)

</td></tr><tr style="height: 29.8785px;"><td class="align-right" style="height: 29.8785px;">perplexity에서 생성한 AI이미지</td></tr></tbody></table>

1. NIC이름이 eno1, ens1 이런식으로 인식하는 경우가 있는데, 해당 장치정보 사용하지 않고 eth0, eth1... ethX로 변경할 수 있는 방법
2. 커널값 적용 ```shell
    $> grubby --update-kernel ALL --args net.ifnames=0
    $> cat /etc/default/grub
    ...
    GRUB_CMDLINE_LINUX="resume=UUID=da0bac52-eef8-413d-ba2b-904962752f57 rhgb quiet selinux=0 net.ifnames=0"
    ...
    ```
3. 기존에 설정된 NIC정보 ```shell
    # ifconfig -a
    ens3f0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.10.100  netmask 255.255.255.255  broadcast 0.0.0.0
            ether 52:54:00:b1:17:18  txqueuelen 1000  (Ethernet)
            RX packets 1299631  bytes 97471826 (92.9 MiB)
            RX errors 0  dropped 18  overruns 0  frame 0
            TX packets 10224  bytes 12704712 (12.1 MiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    ```
4. 서버 재부팅 후 NIC정보 확인 ```shell
    $> ifconfig
    eth0: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST>  mtu 1500
            inet 192.168.10.10  netmask 255.255.255.0  broadcast 192.168.10.255
            ether 52:54:00:b1:17:18  txqueuelen 1000  (Ethernet)
            RX packets 55605  bytes 4171181 (3.9 MiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 262  bytes 38336 (37.4 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    ```