|
我的/etc/network/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
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
#iface eth0 inet dhcp
address 128.128.3.76
netmask 255.255.0.0
network 128.128.0.0
broadcast 128.128.255.255
gateway 128.128.255.253
# gateway 128.128.255.254
# dns-* options are implemented by the resolvconf package, if installed
# address 192.168.1.5
# netmask 255.255.255.0
# gateway 192.168.1.1
#auto dsl-provider
#iface dsl-provider inet ppp
#pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
#provider dsl-provider
---------------------------------------------------
现在的情况是 /etc/resolv.conf经常被自动改为192.168.0.1
IP地址自动从128.128.3.76变为192.168.100.1
不知道是怎么回事 |
|