注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 linux服务器被黑了
 帮助

Debian系的Linux发行版的一些配置文件写法


2007-03-11 20:57:36
 标签:linux 配置   [推送到技术圈]

网卡的配置文件
/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
auto eth0
iface eth0 inet static
        address 10.2.1.216
        netmask 255.255.0.0
        network 10.2.0.0
        broadcast 10.2.255.255
        gateway 10.2.1.218
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 211.93.80.129 211.94.65.97 211.98.4.1
auto eth1
iface eth1 inet static
        address 10.4.1.216
        netmask 255.255.0.0
        network 10.4.0.0
        broadcast 10.4.255.255
        gateway 10.4.1.10
        dns-nameservers 211.93.80.129 211.94.65.97




    文章评论
 
 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: