LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 514|回复: 1

想求一个deskless wrokstation的dhcpd.conf文件

[复制链接]
发表于 2005-3-31 19:35:29 | 显示全部楼层 |阅读模式
用在虚拟机上作PEX的。。谢谢。。。实在不知道怎么写。。上次超了人家米理解。而且boot不能。。。
基本格式是怎么样的??贴出来看看吧。。。谢谢啦。。。
发表于 2005-4-1 09:20:01 | 显示全部楼层
# dhcpd.conf

# Global options
option domain-name "surphy.ustc.edu.cn";
option domain-name-servers 202.38.64.1;

# Intranet
subnet 202.38.85.0 netmask 255.255.255.0{
}

subnet 192.168.0.0 netmask 255.255.255.0 {
    range  192.168.0.1 192.168.0.250;
    default-lease-time -1;

#   option root-path "/client/pc01";
    option dhcp-server-identifier 192.168.0.254;
    option broadcast-address 192.168.0.255;
#   option routers 198.168.0.254;

    server-name "server";
    next-server 192.168.0.254;
    filename    "/boot/vmlinuz";
        host pc01{
            option root-path "/client/pc01";
            hardware ethernet 00:01:02:96:25:92;
            fixed-address   192.168.0.1;
        }
        host pc02{                option root-path "/client/pc07";
                hardware ethernet 00:01:02:98:6D:42;
                fixed-address   192.168.0.7;
        }
}

再给你几个连接:
http://bbs.ustc.edu.cn/cgi/bbscon?bn=Linux&fn=M42350639&num=6077
http://micro.ustc.edu.cn/Linux/
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表