#!/bin/bash service networking stop ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx service networking restart