본문 바로가기
IT Information/System Technical

Linux Interface MAC 주소 변경

by barefeet1211 2013. 8. 30.

Linux Interface MAC 주소 변경


# ifconfig eth0 down        // MAC 변경 이전 인터페이스 다운

# ifconfig eth0 hw ether <MAC Address>        // MAC 변경

# ifconfig eth0        // 변경된 MAC 확인

# /etc/rc.d/init.d/network restart        // 네트워크 재시작

# dhclient eth0        // dhcp 다시 할당


※ 해당 내용은 시스템 다시 시작시 기존값으로 되도라옴