"/> "/>
歡迎您光臨本站 註冊首頁

Linux平台-小型企業DHCP伺服器的搭建

←手機掃碼閱讀     火星人 @ 2014-03-09 , reply:0
實驗名稱:為小型企業搭建DHCP伺服器 實驗環境:公司規模不大,內部網路只有一個物理網段,為了提供集中化的地址分配管理,須要構建一台DHCP伺服器,給客戶機動態分配IP地址,使其能夠自動活的IP地址上網.減少管理員的工作量. 系統環境:Radhat 5.0 實驗步驟: 1. 查詢DHCP軟體包是否安裝500)this.width=500;" border="0">
Normal 0 7.8 磅 0 2 false false false

MicrosoftInternetExplorer4
2.掛載Radhat 5.0系統光碟,並安裝DHCP 軟體包;500)this.width=500;" border="0" width="500">
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 加「—nodeps --force」命令,可以強制安裝500)this.width=500;" border="0" width="500">
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 3.把安裝的配置文件覆蓋到如下目錄;
500)this.width=500;" border="0" width="500">
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 4.修改/etc/dhcp.conf配置文件,詳細設置如下圖所示,設置完成後保存,然後重啟服務.

500)this.width=500;" border="0" width="500">
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4
500)this.width=500;" border="0" width="500">
500)this.width=500;" border="0" width="500">
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 配置完成後,必須的關閉系統防火牆500)this.width=500;" border="0">
500)this.width=500;" border="0">
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 6.驗證; 入配置成功,就如下所示;

500)this.width=500;" border="0">
500)this.width=500;" border="0" width="500">
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 st1\:*{behavior:url(#ieooui) } 二:系統詳細配置參數 [[email protected] ~]# mount /dev/cdrom /media/ mount: block device /dev/cdrom is write-protected, mounting read-only mount: /dev/cdrom already mounted or /media/ busy [[email protected] ~]# cd /media/Server/ [[email protected] Server]# rpm -ivh /media/Server/dhcp dhcp-3.0.5-3.el5.i386.rpm dhcpv6-0.10-33.el5.i386.rpm dhcp-devel-3.0.5-3.el5.i386.rpm dhcpv6_client-0.10-33.el5.i386.rpm [[email protected] Server]# rpm -ivh /media/Server/dhcp-* --nodeps --force warning: /media/Server/dhcp-3.0.5-3.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing... ########################################### [100%] 1:dhcp-devel ########################################### [ 50%] 2:dhcp ########################################### [100%] [[email protected] Server]# cp /usr/share/doc/dhcp-3.0.5/dhcpd.conf.sample /etc/dhcpd.conf

cp: overwrite `/etc/dhcpd.conf'? y [[email protected] Server]# vi /etc/dhcpd.conf [[email protected] Server]# service dhcpd start Starting dhcpd: [ OK ] [[email protected] Server]#


[火星人 ] Linux平台-小型企業DHCP伺服器的搭建已經有581次圍觀

http://coctec.com/docs/linux/show-post-50366.html