编辑/etc/network/interfaces
[15:31:07]NETAD-GZ-IT joji(万君军)说:一个示例:
[15:31:09]NETAD-GZ-IT joji(万君军)说:#Theloopbacknetworkinterface
autolo
ifaceloinetloopback
#Theprimarynetworkinterface
autoeth0
ifaceeth0inetstatic
address192.168.8.28
netmask255.255.255.0
gateway192.168.8.1
然后编辑/etc/resolv.conf加上你的dnsserver
/etc/init.d/networkingrestart就可以了,不用重开机。
debian linux IPdebian linux IPdebian linux IPdebian linux IPdebian linux IPdebian linux IPdebian linux IPdebian linux IPdebian linux IPdebian linux IP
阅读(451) | 评论(0) | 转发(0) |