200 likes | 294 Views
Implementing IP Addressing Services. Accessing the WAN – Chapter 7. Objectives. Configure DHCP in an enterprise branch network Configure NAT on a Cisco router. Function of DHCP. To allocate IP addresses, mask, gateway to devices that are not always on, or that move.
E N D
Implementing IP Addressing Services Accessing the WAN– Chapter 7
Objectives Configure DHCP in an enterprise branch network Configure NAT on a Cisco router
Function of DHCP To allocate IP addresses, mask, gateway to devices that are not always on, or that move
Configure DHCP in an Enterprise Branch Network DHCP provides a device with several important pieces of information The device's IP address The netmask for the network The IP address of the default gateway The IP addresses of the local DNS servers The domain name and port for the local web proxy server Some of these things are optional In fact, DHCP can provide a lot of optional networking information to clients as they are booting
Process to Obtain DHCP Information Four-step process (DORA)
Configure DHCP in an Enterprise Branch Network We can configure a router to act as a DHCP server It needs to know: what addresses are in the pool of available addresses, what addresses are excluded, and what other optional information to advertise Setting up the excluded addresses
Configure DHCP in an Enterprise Branch Network Setting up the pool of available IP addresses
Configure DHCP in an Enterprise Branch Network The rest of the configuration
Private IP Addresses Not routed across the Internet
NAT: Network Address Translation NAT allows a network using private IP addresses to be hidden behind a device with one or more public IP addresses The device modifies the addresses in each packet so that the private addresses are not seen on the Internet
Three Types of NAT Static NAT: one private IP tied to one public IP Dynamic IP: pool of public IPs. As a private IP device needs to communicate on the Internet, a mapping is made to one of the public IPs in the pool NAT Overload (or Port Address Translation) Only one or a few public IPs, but many private IPs We rewrite source port numbers as well as private IP addresses, so that the intenal devices can share the public IP addresses
Configuring Static NAT This also allows connections from the Internet into the private device
Configuring Dynamic NAT Public IPs are not shared between devices Connections cannot come in from the Internet
Configuring NAT Overload Ports are used to share the one (few) IP addresses