Centos6에서 네트워크 장치명 변경

[![image.png](http://wiki.igoni.kr/uploads/images/gallery/2026-02/scaled-1680-/9Foimage.png)](http://wiki.igoni.kr/uploads/images/gallery/2026-02/9Foimage.png)
perplexity에서 생성한 AI이미지

Centos에서 eth0과 eth1의 맥이나 장치명의 순서를 바꾸고 싶을때가 있는데 그때 변경해주면 되는 항목

$> vi /etc/udev/rules.d/70-persistent-net.rules
...
# PCI device 0x8086:0x1076 (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:00:00:00:00:00", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
 ...
# PCI device 0x8086:0x1076 (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:00:00:00:00:01", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
...






작성일: 2026년 7월 15일 ,  마지막 업데이트: 2026년 7월 15일