首页 > 其他 > 详细

kail ip配置

时间:2015-03-25 18:52:09      阅读:184      评论:0      收藏:0      [点我收藏+]
设置ip
/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
 
auto eth0
 iface eth0 inet static                //配置eth0使用默认的静态地址
 address 192.168.77.133        //设置eth0的IP地址
 netmask 255.255.255.0          //配置eth0的子网掩码
 gateway 192.168.77.254        //配置当前主机的默认网关
设置dns
/etc/resovl.conf  
domain
nameserver 10.10.10.10
nameserver 102.54.16.2
重起服务:
/etc/init.d/networking restart

kail ip配置

原文:http://www.cnblogs.com/sprinng/p/4366388.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!