看到eth0已经激活,但要在默认网关那里选eth0才能上网。关机后再次出现同样的问题。
贴上我的interfaces:
# 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
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0
iface eth0 inet static
address 10.11.0.2
netmask 255.255.225.0
gateway 10.11.0.1
auto eth0
#iface lo inet loopback