Cài đặt và cấu hình DHCP Server trên Router1:- Tại máy Router1: logon Adminsitrator Start Settings Control Panel Add or Remove Programs Add/Remove Windows Componens Tại cửa
Trang 1Cài đặt và cấu hình DHCP Server trên Router1:
- Tại máy Router1: logon Adminsitrator Start Settings Control Panel Add
or Remove Programs Add/Remove Windows Componens Tại cửa sổ Windows
Components, kéo thanh trượt chọn mục Networking Services Details…
Trang 2- Tại cửa sổ Networking Services, đánh dấu chọn vào ô Dynamic Host Configuration
Protocol (DHCP) OK (hệ thống sẽ bắt đầu cài DHCP, nếu gặp thông báo yêu cầu đĩa
CD Windows Server 2003 thì vào thư mục I386)
Trang 3Trang 3
- Tại cửa sổ Completing the Windows Components Wizard, click Finish
Chú ý: nếu hệ thống là Domain thì tại bước này phải Authorized DHCP vào database của
Active Directory
- Từ menu Start Programs Administrative Tools DHCP trong cửa sổ DHCP
right click phải PC02 New Scope…
- Trong cửa sổ Welcome to the New Scope Wizard, click Next
Trang 4- Trong cửa sổ Scope Name gõ “Scope1” vào ô Name Next
Trang 6- Trong cửa sổ Lease Duration, để nguyên giá trị mặc định Next
Trang 7Trang 7
- Trong cửa sổ Configure DHCP Options đánh dấu chọn vào ô No, I will configure
these options later Next
- Trong cửa sổ Completing the New Scope Wizard, click Finish
Trang 8- Right click trên Scope1 (Scope được tạo ở trên) chọn Activate
- Right click trên Scope Options chọn Configure Options…
Trang 9Trang 9
- Trong cửa sổ Scope Options tab General đánh dấu chọn vào ô 003 Router
trong ô IP address gõ 172.16.0.2 Add OK
- Kiểm tra trong Scope Options đã có 003 Router
Trang 10- Trong cửa sổ DHCP right click chuột trên PC02 New Scope… trong cửa sổ
Scope Name gõ “Scope2” vào ô Name Next
- Trong cửa sổ IP Address Range nhập vào các thông số như sau:
Start Ip address: 10.0.0.100
End IP address: 10.0.0.150
Next
Trang 11Trang 11
- Trong cửa sổ Add Exclusions Next
- Trong cửa sổ Lease Duration để nguyên giá trị mặc định Next
- Trong cửa sổ Configure DHCP Options đánh dấu chọn vào ô No, I will configure
these options later Next Finish
Trang 12- Right click chuột phải trên Scope2 (Scope được tạo ở trên) chọn Activate
- Right click chuột trên Scope Options chọn Configure Options… trong cửa sổ
Scope Options tab General đánh dấu chọn vào ô 033 Router trong ô IP
address gõ 10.0.0.3 Add OK
kiểm tra trong Scope Options đã có 003 Router
Trang 13Trang 13
- Right click chuột trên Server Options chọn Configure Options….
Trang 14- Trong cửa sổ Server Options tab General đánh dấu chọn vào ô 006 DNS
Servers trong ô IP address gõ 210.245.31.130 Add OK
Trang 15Trang 15
Cấu hình DHCP client trên PC01:
Tại máy PC01: Log on Administrator mở Properties card Cross mở properties
Internet Protocol (TCP/IP) đánh dấu chọn vào 2 ô:
+ Obtain an IP address automatically
+ Obtain DNS server address automatically
OK OK
Trang 16- Vào Command line gõ ipconfig /release
- Trong Command line gõ ipconfig /renew
- Trong Command line gõ ipconfig /all
Lưu ý: sau khi gõ lệnh này DHCP Server sẽ cấp cho PC01 những giá trị sau:
Trang 17Trang 17
đặt DHCP Relay Agnet trên Router2:
Tại máy Router2: logon Administrator Mở chương trình Routing and Remote Access
vào IP Routing right click chuột trên General chọn New Routing Protocol… trong
cửa sổ New Routing Protocol click chọn DHCP Relay Agent OK
Trang 18- Trong cửa sổ chương trình Routing and Remote Access right click chuột trên DHCP
Relay Agent chọn New Interface trong cửa sổ New Interface for DHCP Relay Agent chọn Cross OK
Trang 19Trang 19
- Trong cửa sổ DHCP Relay Properties-Cross Properties để giá trị mặc định OK
- Right click chuột trên DHCP Relay Agent Properties
trong ô Server address gõ địa chỉ IP card LAN của Router1 (vd: 192.168.0.2)
Add Apply OK
Trang 20Cấu hình DHCP Client trên PC04:
Tại máy PC04: Log on Administrator mở properties card Cross mở properties
Internet Protocol (TCP/IP) đánh dấu chọn vào 2 ô:
+ Obtain an IP address automatically
+ Obtain DNS server address automatically
OK
- Vào Command line gõ ipconfig /release
- Trong Command line gõ ipconfig /renew
- Trong Command line gõ ipconfig /all
Lưu ý: sau khi gõ lệnh này DHCP Server sẽ cấp cho PC04 những giá trị sau:
Trang 21Trang 21 Email: dnokia8910@yahoo.com