|

楼主 |
发表于 2009-12-21 20:50:37
|
显示全部楼层
多谢LS帮忙。
按您所说修改后,restart networking出现如下错误:
##########################################
debian:/home/yeti/vm/yeti# /etc/init.d/networking restart
Reconfiguring network interfaces.../etc/network/interfaces:14: unknown method
ifdown: couldn't read interfaces file "/etc/network/interfaces"
/etc/network/interfaces:14: unknown method
ifup: couldn't read interfaces file "/etc/network/interfaces"
failed.
#########################################
改完后的文件:
########################################
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
#####DHCP##########
#auto eth0
#iface eth0 inet dhcp
auto eth1
#iface eth1 inet dhcp
iface eth1 inet6 dhcp |
|