ifconfig eth0 down
ifconfig eth0 hw ether 66:BF:65:91:FB:C4
ifconfig eth0 10.40.1.224 netmask 255.255.255.0
route add default gw 10.40.1.0
ifconfig eth0 up
修改/etc/exports
sudo apt-get install nfs-kernel-server
/home/lhc *(rw,nohide,insecure,no_subtree_check,async,no_root_squash)
sudo /etc/init.d/nfs-kernel-server restart
sudo mount -t nfs -o nolock,vers=3 127.0.0.1:/home/lhc /mnt
sudo apt-get install nfs-common
mount -t nfs -o nolock,vers=3 10.40.1.86:/home/lhc /mnt