auto lo
iface lo inet loopback
#the primary network interface
auto eth0
iface eth0 inet static
address 192.168.34.52
netmask 255.255.255.0
gateway 192.168.34.254
up route add default gw 61.147.37.1
// /etc/networks/interfaces文件内!
6410的文件位置:
/etc/eth0-setting 里<pre name="code" class="csharp">]# cat /etc/eth0-setting
IP=192.168.34.201
Mask=255.255.255.0
Gateway=192.168.34.254
DNS=8.8.8.8
MAC=08:90:90:90:90:90