Because the company's internal IP and Mac bindings, and can not everyone online, only by changing the Mac to the Internet. After searching, the following methods are available:
1,
Edit the/etc/network/interfaces file directly and add a line after the IF ace eth0 inet static:
pre-up ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx (Mac to change)
2,
Open File:/etc/iftab
What to modify:
Eth0 mac 00:e0:4d:75:8e:50 (change to your physical address Mac)
3,
Nic "Off" first
# ifconfig eth0 Down
Replace the physical address and replace the bold part with the MAC address you want to change:
# ifconfig eth0 hw ether AA:BB:CC:DD:EE:FF
Enable eth0.
# ifconfig eth0 up
Restart Network Service
sudo/etc/init.d/networking restart
This method can only be modified temporarily.
4,
Edit/etc/network/interfaces, find the place related to eth0, modify to shape like:
Allow-hotplug eth0
Iface eth0 inet DHCP
#iface eth0 inet Static
# address 1.1.1.6
# netmask 255.255.255.0
# Gateway 1.1.1.1
Hwaddress ether 00:aa:bb:cc:dd:ee
By experiment, this method doesn't seem to work.
5,
Modify the/etc/rc.local file
Sudo/sbin/ifconfig eth0 Down
Sudo/sbin/ifconfig eth0 hw ether 00:14:2a:34:4e:43
Sudo/sbin/ifconfig eth0 up
I only experimented with the 4th, 5 methods, 4 not, 5 can.
Old Text-ubuntu Linux 8.04 under modify MAC address-December 17, 2008 19:33