red hat linux6.4 搭建dhcp伺服器

來源:互聯網
上載者:User

標籤:dhcp

新浪部落格太坑了,以前寫的全部轉移51cto了。

 

 1 查看伺服器是否安裝DHCP服務

650) this.width=650;" title="1.jpg" src="http://s3.51cto.com/wyfs02/M02/49/D0/wKioL1Qbhbvg9KHDAABP6GSiodI674.jpg" alt="wKioL1Qbhbvg9KHDAABP6GSiodI674.jpg" />

2 用yum安裝dhcp服務

650) this.width=650;" title="2.jpg" src="http://s3.51cto.com/wyfs02/M02/49/CE/wKiom1QbheKjbh2oAAHBdpnVw8o280.jpg" alt="wKiom1QbheKjbh2oAAHBdpnVw8o280.jpg" />

3 查看服務的設定檔,裡面是空的

650) this.width=650;" title="3.jpg" src="http://s3.51cto.com/wyfs02/M00/49/CE/wKiom1QbhhniTDbXAACMugZScdM476.jpg" alt="wKiom1QbhhniTDbXAACMugZScdM476.jpg" />

4 複製dhcp的模板到設定檔裡

650) this.width=650;" title="4.jpg" src="http://s3.51cto.com/wyfs02/M00/49/D0/wKioL1QbhlezsjtnAAA97irKqAM585.jpg" alt="wKioL1QbhlezsjtnAAA97irKqAM585.jpg" />

5 用vim編輯設定檔.在裡面申明一個網段,以及IP地址的變化範圍

650) this.width=650;" title="5.jpg" src="http://s3.51cto.com/wyfs02/M02/49/D0/wKioL1QbhnrhxJV0AAB69TWaSlM986.jpg" alt="wKioL1QbhnrhxJV0AAB69TWaSlM986.jpg" />

6 重新啟動dhcp服務。/etc/init.d/dhcpd restart

7 關閉防火牆和setenforce

650) this.width=650;" title="6.jpg" src="http://s3.51cto.com/wyfs02/M01/49/D0/wKioL1Qbh9CBvkWCAACUsQzkWgI929.jpg" alt="wKioL1Qbh9CBvkWCAACUsQzkWgI929.jpg" />

8 在xp用戶端測試。先釋放,然後在續約。

650) this.width=650;" style="float:none;" title="7.jpg" src="http://s3.51cto.com/wyfs02/M00/49/CE/wKiom1QbhrvhxWScAACH4z_540c145.jpg" alt="wKiom1QbhrvhxWScAACH4z_540c145.jpg" />

650) this.width=650;" style="float:none;" title="77jpg.jpg" src="http://s3.51cto.com/wyfs02/M01/49/D0/wKioL1QbhtWSm-4eAAAykYYYxvo701.jpg" alt="wKioL1QbhtWSm-4eAAAykYYYxvo701.jpg" />

9 查看xp用戶端擷取的IP地址

650) this.width=650;" title="8.jpg" src="http://s3.51cto.com/wyfs02/M00/49/D0/wKioL1QbhwCgKtAuAAB-NmEDE4Y690.jpg" alt="wKioL1QbhwCgKtAuAAB-NmEDE4Y690.jpg" />

10 還可以在dhcp伺服器上做mac地址綁定

650) this.width=650;" title="9.jpg" src="http://s3.51cto.com/wyfs02/M00/49/CE/wKiom1Qbh-mCMPAGAABiNJPKOzw274.jpg" alt="wKiom1Qbh-mCMPAGAABiNJPKOzw274.jpg" />

11 重新啟動服務,然後在xp用戶端在自動擷取下

650) this.width=650;" title="10.jpg" src="http://s3.51cto.com/wyfs02/M00/49/CE/wKiom1QbiCSyJ9SqAADeA93em7c744.jpg" alt="wKiom1QbiCSyJ9SqAADeA93em7c744.jpg" />

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

本文出自 “linux營運初學” 部落格,請務必保留此出處http://ht712.blog.51cto.com/9397612/1555002

red hat linux6.4 搭建dhcp伺服器

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.