Section 7. Enabling Internet Connectivity Flashcards
Q1-What is Dynamic Host Configuration Protocol (DHCP)?
DHCP is a protocol that is based on a client-server model that dynamically allocates the assignment of IP addresses.
The DHCP server is a device that is configured to allocate IP addresses and network configuration.
A DHCP client is a host that requests IP address, subnet mask, default gateway, and other information from a server.
Q2-What are the three mechanisms that DHCP uses for IP address allocation?
The three mechanisms that Dynamic Host Configuration Protocol (DHCP) uses for IP address allocation are as follows:
Automatic allocation: Assigns a permanent IP address to a client
Dynamic allocation: Assigns an IP address to a client for a set period of time, for example, 7 days
Manual allocation: Assigns a specific IP address to a client as defined by the administrator using the client’s MAC address
Q3-When connecting a router to the Internet, what are the two options for configuring a public IP address from the ISP?
The two options are statically or dynamically using DHCP.
Configuring an IP address statically is done by manually configuring the router interface connecting to the ISP with the public IP address provided to you by the ISP.
Dynamic configuration is done by configuring the router interface connecting to the ISP to be a DHCP client.
Q4-How do you configure your Cisco router with a statically assigned IP address?
To configure a Cisco router with a statically assigned address, from global configuration, you would use the ip address ip-address subnetmask interface command.
For example, to configure Gigabit Ethernet interface 0/0 with an IP address of 192.168.0.1/24, you would issue the following commands:
Router(config)# interface g0/0
Router(config-if)# ip address 192.168.0.1 255.255.255.0
Router(config-if)# no shutdown
Q5-How would you configure Gigabit Ethernet interface 0/0 on your Cisco router to be a DHCP client?
The ip address dhcp interface command configures an interface to be a DHCP client. To configure Gigabit Ethernet interface 0/0 as a DHCP client, the following commands would be issued on the router:
Router(config)# interface g0/0
Router(config-if)# ip address dhcp
Router(config-if)# no shutdown
Q6-What are private IP addresses?
Private IP addresses are defined in RFC 1918 and define blocks of IP addresses that can be used for private use within an organization. These IP addresses are not routable on the Internet, and any organization using private IP addresses that wants to connect to the Internet must use NAT for IP address translation.
Q7-What are the three private IP address ranges?
The three private address ranges are as follows:
Class A: 10.0.0.0 to 10.255.255.255
Class B: 172.16.0.0 to 172.31.255.255
Class C: 192.168.0.0 to 192.168.255.255
Q8-What is Network Address Translation (NAT)?
NAT is a mechanism where private, nonroutable IP addresses are translated to public routable IP addresses and vice versa.
Q9-What are three benefits of NAT?
Three benefits of NAT are as follows:
Eliminates readdressing overhead of hosts that require external access
Conserves IP addresses through application port-level multiplexing
Hides the internal network, providing a small level of network security
Q10-What are five drawbacks to using NAT?
Five drawbacks to using NAT are
Some applications depend on end-to-end functionality without modified packets.
End-to-end IP traceability is lost.
Complicates tunneling protocols like IPsec.
Some services that require the initiation of TCP connections from the outside or stateless protocols might be disrupted.
Increases switching delay.
Q11-Define the following Cisco NAT terminology:
Inside local address
Inside global address
Outside local address
Outside global address
These terms are defined as follows:
Inside local address: The IP address assigned to a host on the inside, private network. This is usually a private (RFC 1918) IP address.
Inside global address: A registered, Internet-routable IP address that represents one or more inside local IP addresses to the outside world.
Outside local address: The IP address of an outside host as it appears to the inside, private network.
Outside global address: The IP address assigned to a host on the outside network by the host’s owner. This is usually a routable IP address.
Q12-What is static NAT?
Static NAT provides a one-to-one mapping, translating one private IP address to one public IP address.
Q13-What is dynamic NAT?
Dynamic NAT provides a many-to-many mapping, translating private IP addresses to public IP addresses from a group of public IP addresses.
Q14-What is overload NAT?
Overload NAT is another term for Port Address Translation (PAT). It has a many-to-one or many-to-many mapping using different port numbers to add uniqueness.
Other types of NAT are static NAT and dynamic NAT. Static NAT provides a one-to-one translation and is useful if an inside host needs to be accessed from the outside. Dynamic NAT maps a group of private IP addresses to a routable IP address from a pool of routable IP addresses dynamically.
Q15-How many internal hosts can be translated to one routable IP address through PAT?
Theoretically, 65,536 internal hosts can be translated by PAT using one routable IP address.