热门关键字:  ubuntu  分区  linux系统进程  Fedora  函数

RHCE环境创建、简单架设dhcpd、tftp,客户端实现网络启动

来源: 作者: 时间:2007-12-03 Tag: 点击:
1:架设dhcpd服务
安装略
查看/etc/dhcpd.conf配置文件内容
引用
ddns-update-style interim;
ignore client-updates;
allow booting;
filename "pxelinux.0";
subnet 192.168.0.0 netmask 255.255.255.0 {
# --- default gateway
       option routers                  192.168.0.254;
       option subnet-mask              255.255.255.0;
       option nis-domain               "domain.org";
       option domain-name              "domain.org";
       option domain-name-servers      192.168.1.1;
       option time-offset              -18000; # Eastern Standard Time
#       option ntp-servers              192.168.1.1;
#       option netbios-name-servers     192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
#       option netbios-node-type 2;
#       range dynamic-bootp 192.168.0.128 192.168.0.254;
       default-lease-time 21600;
       max-lease-time 43200;
       # we want the nameserver to appear at a fixed address
       host ns {
               next-server 192.168.0.254;
          hardware ethernet 12:34:56:78:AB:CD;
               fixed-address 192.168.0.100;
       }
}
 
2:tftp服务配置
安装略
修改配置文件
引用
[root@rhce ~]# cat /etc/xinetd.d/tftp
# default: off
# description: The tftp server serves files using the trivial file transfer \
#       protocol.  The tftp protocol is often used to boot diskless \
#       workstations, download configuration files to network-aware printers, \
#       and to start the installation process for some operating systems.
service tftp
{
       disable            = no
       socket_type             = dgram
       protocol                = udp
       wait                    = yes
       user                    = root
       server                  = /usr/sbin/in.tftpd
       server_args             = -s /tftpboot
       per_source              = 11
       cps                     = 100 2
       flags                   = IPv4
}
最新评论共有 4 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册