Chinaunix首页 | 论坛 | 博客
  • 博客访问: 52145
  • 博文数量: 17
  • 博客积分: 1410
  • 博客等级: 上尉
  • 技术积分: 205
  • 用 户 组: 普通用户
  • 注册时间: 2008-05-15 12:22
文章分类
文章存档

2011年(1)

2008年(16)

我的朋友
最近访客

分类: LINUX

2008-09-02 01:23:07

    本小区上网是静态192.168.0.0/24网段上网的,链路提供商为广州电信,DNS为61.144.56.100。
网管网
    1.打开终端配置接口(也即网口)地址并保存!
    # vi /etc/network/interfaces
    iface eth0 inet static
    address 192.168.0.2
    netmask 255.255.255.0
    gateway 192.168.0.1 网管论坛bbs_bitsCN_com
    #如果是动态DHCP获得更快,只需设置如下
    #auto eth0
中国网管论坛bbs.bitsCN.com
    2.设置DNS服务器并保存!
    # vi /etc/resolv.conf
    nameserver 61.144.56.100 中国网管论坛bbs.bitsCN.com
    3.重启网络,如下:
    # /etc/init.d/networking restart
    * Reconfiguring network interfaces... There is already a pid file /var/run/dhclient.eth1.pid with pid 5444
    killed old client process, removed PID file
    Internet Systems Consortium DHCP Client V3.0.6
    Copyright 2004-2007 Internet Systems Consortium.
    All rights reserved.
    For info, please visit 网管bitscn_com
    4.上网测试!成功。
【转自】
阅读(801) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2008-09-15 02:52:42

飘过 我是火星人 不解~~