ip link set [oldname] name [newname]
[root@host01 network-scripts]# ifconfig em1 down
[root@host01 network-scripts]# ip link set em1 name eth0
[root@host01 network-scripts]# ifconfig eth0 up
델의 서버의 경우는 em1으로 잡히는 경우가 있다. 매개변수를 biosdevname=0 디바이스명을 eth0으로 잡는다.
'컴퓨터_모바일 > 리눅스' 카테고리의 다른 글
dd 명령어 (0) | 2019.07.20 |
---|---|
dmidecode (0) | 2019.07.20 |
du 명령어 (0) | 2019.07.20 |
make 할 때 log 남기기 (0) | 2019.07.20 |
iptables 사용예시 (0) | 2019.07.20 |