Thông tin tài liệu:
The following will be discussed in this chapter: Configure DHCP in an enterprise branch network, Configure NAT on a Cisco router, Configure new generation RIP (RIPng) to use IPv6. Every device that connects to a network needs an IP address. Network administrators assign static IP addresses to routers, servers, and other network devices whose locations (physical and logical) are not likely to change.
Nội dung trích xuất từ tài liệu:
Lecture CCNA Exploration 4.0 (Kỳ 4) - Chapter 7: Implementing IP Addressing ServicesChapter 7 - Implementing IP Addressing Services CCNA Exploration 4.0 1Introduction Học viện mạng Bach Khoa - Website: www.bkacad.com 2 DHCPHọc viện mạng Bach Khoa - Website: www.bkacad.com 3Introducing DHCP • DHCP assigns IP addresses and other important network configuration information dynamically. Học viện mạng Bach Khoa - Website: www.bkacad.com 4DHCP Operation• Manual Allocation: The administrator assigns a pre- allocated IP address to the client and DHCP only communicates the IP address to the device.• Automatic Allocation: DHCP automatically assigns a static IP address permanently to a device, selecting it from a pool of available addresses. There is no lease and the address is permanently assigned to a device.• Dynamic Allocation: DHCP automatically dynamically assigns, or leases, an IP address from a pool of addresses for a limited period of time chosen by the server, or until the client tells the DHCP server that it no longer needs the address. Học viện mạng Bach Khoa - Website: www.bkacad.com 5BOOTP and DHCP • Both DHCP and BOOTP are client/server based and use UDP ports 67 and 68. Those ports are still known as BOOTP ports. Học viện mạng Bach Khoa - Website: www.bkacad.com 6DHCP Message Format Học viện mạng Bach Khoa - Website: www.bkacad.com 7DHCP Discover Học viện mạng Bach Khoa - Website: www.bkacad.com 8DHCP Offer Học viện mạng Bach Khoa - Website: www.bkacad.com 9Configuring a DHCP Server Học viện mạng Bach Khoa - Website: www.bkacad.com 10Configuring a DHCP Server Example Học viện mạng Bach Khoa - Website: www.bkacad.com 11• ip dhcp excluded-address 192.168.1.1 192.168.1.10• ip dhcp pool Net1• network 192.168.1.0 255.255.255.0• default-router 192.168.1.1• dns-server 8.8.8.8• lease 3 4 5• ip dhcp excluded-address 192.168.2.1 192.168.2.10• ip dhcp pool Net2• network 192.168.2.0 255.255.255.0• default-router 192.168.2.1• dns-server 8.8.8.8• lease 3 4 5 Học viện mạng Bach Khoa - Website: www.bkacad.com 12• ip dhcp excluded-address 172.16.1.1 172.16.1.10• ip dhcp pool LAN172• network 172.16.1.0 255.255.255.0• default-router 172.16.1.1• dns-server 8.8.8.8 Học viện mạng Bach Khoa - Website: www.bkacad.com 13• R1(config)#int f0/0• R1(config-if)#ip helper-address 192.168.4.252 Học viện mạng Bach Khoa - Website: www.bkacad.com 14Verifying DHCP PC1: ipconfig /all Học viện mạng Bach Khoa - Website: www.bkacad.com 15Verifying DHCP PC2: ipconfig /all Học viện mạng Bach Khoa - Website: www.bkacad.com 16Verifying DHCP Học viện mạng Bach Khoa - Website: www.bkacad.com 17Configuring a DHCP Client Học viện mạng Bach Khoa - Website: www.bkacad.com 18Configuring a DHCP Client Học viện mạng Bach Khoa - Website: www.bkacad.com 19DHCP RelayHost Problem Học viện mạng Bach Khoa - Website: www.bkacad.com 20