无聊人士

搬家==》www.soapui.cn

  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  32 随笔 :: 0 文章 :: 60 评论 :: 0 Trackbacks

1、安装
从trutix 3.0的碟中,上传两个RPM文件DHCP_COM.RPM、DHCP_SER.RPM,然后使用rpm -ivh xxxx.rpm安装即可。

2、配置
root@trustix-v22-cvs-001 ~# cat /etc/dhcpd.conf
# Do not claim to rule this network.  You want to change this if you really
# want it to work.
not authoritative;

# Do not try to update DNS by default
ddns-update-style none;

#网络
subnet 61.138.209.0 netmask 255.255.255.0 {
        range 61.138.209.235 61.138.209.240;  #地址范围
        default-lease-time 600;                             #默认租期时间
        max-lease-time 3600;                               #用户可以获得的最长租期时间
        option subnet-mask 255.255.255.0;         #掩码
        option routers 61.138.209.1;                    #网关
        option domain-name-servers 61.166.150.101; #DNS地址
}
#为某个MAC地址绑定IP
host usr1{
        hardware ethernet 00:50:8D:5A:9C:E9;
        fixed-address 61.138.209.235;
}

posted on 2005-12-29 18:07 mmwy 阅读(437) 评论(0)  编辑  收藏 所属分类: 系统管理

只有注册用户登录后才能发表评论。


网站导航: