1.07k likes | 1.09k Views
Network Services. Managing DHCP Services. Nội dung. Các khái niệm cơ sở của DHCP Cài đặt DHCP Server Dùng DHCP Console Quản trị DHCP Server Thiết lập DHCP Tạo 1 MADCAP Server. Changes in Windows Server 2008 R2. DHCP MAC address filtering for leases
E N D
Network Services Managing DHCP Services
Nội dung • Các khái niệm cơ sở của DHCP • Cài đặt DHCP Server • Dùng DHCP Console • Quản trị DHCP Server • Thiết lập DHCP • Tạo 1 MADCAP Server
Changes in Windows Server 2008 R2 • DHCP MAC address filtering for leases • DHCP delay in address distribution for redundant DHCP architectures • DHCP migration improvements using new Windows Server Migration Tools
DHCP Predecessors: RARP &BOOTP • RARP simply allocated an IP address to a client after that client requested it through a network broadcast • Bootstrap Protocol (BOOTP) • assign IP addresses by allowing for routing through different networks • used a concept called a magic cookie
Các khái niệm cơ sở của DHCP • Tùy chọn • Các tham số cấu hình và info điều khiển ghép trong DHCP messages • Hầu hết • Cung cấp by server để config client • Còn lại • client cung cấp options cho server trong DHCP request
Các khái niệm cơ sở của DHCP • DHCP Scopes • Định danh 1 physical network cụ thể • Định nghĩa các options kết hợp với 1 network • Name • name of scope • Description • Mô tả mục đích của scope. • IP Address Range • Đoạn addresses gán IP cho client của network • Subnet Mask • subnet mask cho đoạn IP address • Excluded Address Range • Nhóm IP addresses trong đoạn IP Address không cấp cho DHCP clients.
Installing DHCP Server • Manage Your Server tool
Configuring a DHCP Scope • Define scope
Redundancy Issues • Client DHCP cannot properly TCP/IP when denied access to DHCP server • use Automatic Private IP Addressing (APIPA) • clients assign addr from private network number169.254.0.0/16 • APIPA address allows client's network config process to continue • client believes APIPA is a valid address lease, • not renew its address as quickly when DHCP server comes back online as it would if it were actively searching for 1 addr
Redundancy Issues • disable use of default APIPA addressing on Windows 2000 clients • add a DWORD named IPAutoconfigurationEnabled with a value 0 to client's registry. • steps to create necessary DWORD: • regedit. • Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\<adapter>, • Right-click on <adapter> and select New > DWORD Value. • Enter IPAutoconfigurationEnabled as name of new DWORD value. • default value for a new DWORD is 0
Redundancy Issues • more choices than simply relying on APIPA addr • Windows XP • allows to specify an alternative config for client to use when no DHCP server is available • Select Alternate Configuration tab • redundant servers
Using DHCP Console • Microsoft Management Console (MMC) • manage and configure DHCP service • Open Manage this DHCP server" link in Manage Your Server • selecting DHCP from Administrative Tools
Using DHCP Console detailed information lists the various DHCP servers
Automating DHCP Database Backup and Restore • Server 2008 R2 will back itself up automatically each hour to %systemroot%\system32\dhcp\backup.
Windows Server Migration • a new set of PowerShell cmdlets • used to migrate services between source servers running • Windows Server 2003, • Windows Server 2008 • Windows Server 2008 R2 to destination Windows Server 2008 R2 systems.
Create Deployment Folder Package of Windows Server Migration
Installing Windows Server Migration Tools on Windows Server 2003 DHCP Server
Migrating DHCP Services from Windows Server 2003 x86 to Windows Server 2008 R2 • Exporting DHCP Servers Setting from a Windows Server 2003 DHCP Server • Importing DHCP Server Settings to a Windows Server 2008 R2 DHCP Server
Link Layer Filtering • new feature to Windows Server 2008 R2 DHCP services. • Restrict which devices will be assigned an IP address from DHCP server • apply to all IPv4 scopes on particular server.
add MAC addr to Link Layer Filter lists from existing leases
Creating a Reservation • Reservations • service a single client • reserving a single address for client • defining specific options for client • address used by reservation must be taken from address range of any existing scope
DHCP Name Protection • prevent a system from registering or overwriting an existing name in DNS zone for a particular DNS domain • based on a new DNS resource record DHCID.
Thiết lập DHCP • Dùng 1 DHCP server cho 1 physical subnet • Advantage • server trên 1 subnet cung cấp performance tốt nhất • Light, không cần routers hay relays để xử lý DHCP packets • Đơn giản • KO yêu cầu cấu hình phức tạp DHCP server • disadvantages • Có thể yêu cầu thêm PC • Có thể cần thêm 1 DHCP backup cho • Chiến lược failover cho mỗi subnet server • Quản lý: dùng single DHCP console để cấu hình DHCP bị giới hạn bởi các remote management khác
Thiết lập DHCP • Khắc phục • 1 server cho toàn mạng: central server • DHCP/BOOTP relay agent trong RFC1542 • forward packets (client) đến DHCP server trên 1 remote subnet • Cách làm • Khi DHCP server responds, • router forwards response đến local client. • Thậm chí nếu routers không chuyển DHCP broadcast packets • Cài đặt Microsoft DHCP relay agent trên mỗi subnet. • DHCP relay agent trở thành 1 Routing and Remote Access Service forwards DHCP packets như 1 router.
Planning for DHCP • advantages • server is often easier to manage than a group of distributed servers • Implementing redundancy for a central system is easier than • Less server hardware is needed to implement a central server than is needed to implement distributed servers