| 订阅 | 在线投稿
分享
 
 
 

关于Linux操作系统DHCP配置步骤概括介绍

来源:互联网  宽屏版  评论
2008-06-01 02:59:32

Server的配置

1.netconfig //配置服务器端IP

service ntework restart

2.mount /dev/cdrom //安装dhcp所需软件

rpm -ivh dhcp-3………

rpm -ivh dhcp-d………

umount /dev/cdrom

3.vi /etc/dhcpd.conf //配置dhcp服务器配置文件(默认文件不存在,需手工建立)

cp /usr/share/dhcp-3.0.1/dhcpd.conf.sample /etc/dhcpd.conf

vi /etc/dhcpd.conf

4.service dhcpd restart //启动dhcp服务

service dhcpd status

Client的配置

Windows: ipconfig /release //释放IP

ipconfig /renew //重新获取IP

ipconfig //查看IP

Linux: netconfig //设置IP为动态获取

service network restart

Server信息查看

tail /var/lib/dhcp/dhcpd.leases //查看租约文件内容

 
Server的配置 1.netconfig //配置服务器端IP service ntework restart 2.mount /dev/cdrom //安装dhcp所需软件 rpm -ivh dhcp-3……… rpm -ivh dhcp-d……… umount /dev/cdrom 3.vi /etc/dhcpd.conf //配置dhcp服务器配置文件(默认文件不存在,需手工建立) cp /usr/share/dhcp-3.0.1/dhcpd.conf.sample /etc/dhcpd.conf vi /etc/dhcpd.conf 4.service dhcpd restart //启动dhcp服务 service dhcpd status Client的配置 Windows: ipconfig /release //释放IP ipconfig /renew //重新获取IP ipconfig //查看IP Linux: netconfig //设置IP为动态获取 service network restart Server信息查看 tail /var/lib/dhcp/dhcpd.leases //查看租约文件内容
󰈣󰈤
 
 
 
>>返回首页<<
 
 热帖排行
 
 
 
静静地坐在废墟上,四周的荒凉一望无际,忽然觉得,凄凉也很美
©2005- 王朝网络 版权所有