ifconfig eth0 down
ifconfig eth0 hw ether xxxxxxxxx
ifconfig eth0 192.168.1.22 netmask 255.255.255.0 up
route add default gw 192.168.1.2
vi resolv.conf
nameserver 8.8.8.8
ifconfig eth0 down
ifconfig eth0 hw ether xxxxxxxxx
ifconfig eth0 192.168.1.22 netmask 255.255.255.0 up
route add default gw 192.168.1.2
vi resolv.conf
nameserver 8.8.8.8