Cisco Networking/CCENT/Network Services

This lesson covers network services, including DHCP, DNS, NTP, and NAT.

Objectives and Skills
Objectives and skills for the network services portion of Cisco CCENT certification include:
 * Configure and verify DHCP (IOS router)
 * Configuring router interfaces to use DHCP
 * DHCP options (Basic overview and functionality)
 * Excluded addresses
 * Lease time
 * Configure and verify NTP as a client
 * Identify the basic operation of NAT
 * Purpose
 * Pool
 * Static
 * 1 to 1
 * Overloading
 * Source addressing
 * One-way NAT
 * Configure and verify NAT for given network requirements

Readings

 * 1)  Dynamic Host Configuration Protocol
 * 2)  DHCPv6
 * 3)  Domain Name System
 * 4)  Network Time Protocol
 * 5)  Network address translation
 * 6) Cisco: Configuring the Cisco IOS DHCP Client
 * 7) Cisco: Configuring DNS on Cisco Routers
 * 8) Cisco: Configuring Network Address Translation
 * 9) Networking Signal: DHCP Dora Process

Multimedia

 * 1) YouTube: DHCP Addressing Overview - CompTIA Network+ N10-005: 2.3
 * 2) YouTube: An Overview of DNS - CompTIA Network+ N10-005: 1.7
 * 3) YouTube: Configuring a DHCP Server on a Cisco Router
 * 4) YouTube: Configuring NAT (PAT) on Cisco Routers
 * 5) Cisco: Internet Connections with NAT and PAT
 * 6) YouTube: GNS3 Tutorial - Connecting GNS3 Routers to the Internet in Windows 7

ip address dhcp
To assign a dynamic IP address to an interface, use the ip address dhcp command. ip address dhcp

release dhcp
To release a dynamic IP address, use the release dhcp command. release dhcp

renew dhcp
To renew a dynamic IP address, use the renew dhcp command. renew dhcp

Command Sequence
A command sequence to assign a dynamic ip address would be similar to the following. enable configure terminal interface fastethernet0/1 ip address dhcp no shutdown exit exit

show ip interface brief

exit

A command sequence to release and renew a dynamic ip address would be similar to the following. enable release dhcp fastethernet0/1 show ip interface brief

renew dhcp fastethernet0/1 show ip interface brief

exit

ip domain lookup
To enable IP Domain Name System (DNS)-based hostname-to-address translation, use the ip domain lookup command in global configuration mode. ip domain lookup

ip name-server
To specify one or more hosts (up to six) that can function as a name server to supply name information for the DNS, use the ip name-server command in global configuration mode. ip name-server [ ] [ ] [ ] [ ] [ ]

ip dns server
To enable the Domain Name System (DNS) server on a router, use the ip dns server command in global configuration mode. ip dns server

Command Sequence
A command sequence to configure the DNS service and verify DNS host name lookup would be similar to the following. enable configure terminal ip domain lookup ip name-server 8.8.8.8 8.8.4.4 ip dns server exit

ping en.wikiversity.org exit

ip dhcp excluded-address
To specify the IP addresses that the DHCP Server should not assign to clients, use the ip dhcp excluded-address command in global configuration mode. ip dhcp excluded-address

ip dhcp pool
To configure the DHCP address pool name and enter DHCP pool configuration mode, use the ip dhcp pool command in global configuration mode. ip dhcp pool

network
To configure a subnet and mask for the newly created DHCP address pool, use the network command in DHCP pool configuration mode. network [ | ]

default-router
To specify a default router for a DHCP client, use the default-router command in DHCP pool configuration mode. default-router [ ] ... [ ]

domain-name
To configure a domain name string for the client, use the domain-name command in DHCP pool configuration mode. domain-name

dns-server
To configure the DNS IP servers that are available to a DHCP client, use the dns-server command in DHCP pool configuration mode. dns-server [ ] ... [ ]

lease
By default, each IP address assigned by a DHCP Server comes with a one-day lease. To change the lease value, use the lease command in DHCP pool configuration mode. lease [ [ ] [ ] | infinite]

show ip dhcp
To display DHCP Server information, use the following commands in EXEC mode, as needed: show ip dhcp pool show ip dhcp binding show ip dhcp server statistics

Command Sequence
A command sequence to configure a DHCP server would be similar to the following. enable configure terminal ip dhcp excluded-address 192.168.1.1 192.168.1.10 ip dhcp pool local network 192.168.1.0 255.255.255.0 default-router 192.168.1.1 domain-name example.com dns-server 192.168.1.1 lease 1 exit exit

show ip dhcp pool local show ip dhcp binding show ip dhcp server statistics exit

show clock
To display the time and date from the system software clock, use the show clock EXEC command. show clock

ntp server
To allow the software clock to be synchronized by a Network Time Protocol (NTP) time server, use the ntp server command in global configuration mode. ntp server |

show ntp associations
To show the status of Network Time Protocol (NTP) associations, use the show ntp associations EXEC command. show ntp associations

Command Sequence
A command sequence to configure and verify an NTP server would be similar to the following. enable show clock

configure terminal ip domain lookup ntp server us.pool.ntp.org exit

show clock show ntp associations exit

ip nat
To designate that traffic originating from or destined for the interface is subject to Network Address Translation ( NAT), use the ip nat command in interface configuration mode. ip nat  ip nat inside ip nat outside

ip nat inside source
To enable Network Address Translation (NAT) of the inside source address, use the ip nat inside source command in global configuration mode. Static NAT ip nat inside source static   ip nat inside source static 192.168.1.11 10.11.22.33

Port Static NAT ip nat inside source static      ip nat inside source static tcp 192.168.1.11 80 172.16.11.1 80

Dynamic NAT ip nat inside source list  interface [overload] ip nat inside source list 1 interface FastEthernet0/1 overload

Dynamic NAT Pool ip nat inside source list  pool ip nat inside source list 1 pool global

ip nat pool
To define a pool of IP addresses for Network Address Translation (NAT) translations, use the ip nat pool command in global configuration mode. ip nat pool   netmask ip nat pool   prefix-length  ip nat pool global 10.11.22.33 10.11.22.38 netmask 255.255.255.248 ip nat pool global 10.11.22.33 10.11.22.38 prefix-length 29

access list
To define a standard IP access list, use the standard version of the access-list command in global configuration mode. access-list  <deny | permit>
 * 1) Verify the configuration using the following commands.
 * 2) Configure host name resolution.Cisco CCENT Cloud Router.png
 * 3) Use the router from above and practice using the following commands.
 * 4) Verify the configuration using the following command.
 * 5) Configure an NTP server.Cisco CCENT Cloud Router.png
 * 6) Use the router from above and practice using the following commands.
 * 7) Verify the configuration using the following commands.
 * 8) Configure a router as a DHCP server.Cisco CCENT Cloud Router PC.png
 * 9) Use the router from above and practice using the following commands.
 * 10) Verify the configuration using the following commands.
 * 11) Test the configuration by adding a VCPS PC to the project.
 * 12) Add a link to connect the following.
 * 13) * R1 FastEthernet0/0 <-> PC1 Ethernet0
 * 14) Open the console for PC1. Set the IP address for PC1 using the following commands.
 * 15) Configure a router to provide NAT/PAT.Cisco CCENT Cloud Router PC.png
 * 16) Use the router and PC from above and practice using the following commands.
 * 17) Verify the configuration using the following commands.
 * 18) Open the console for PC1 and test the configuration using the following command.
 * 1) Configure an NTP server.Cisco CCENT Cloud Router.png
 * 2) Use the router from above and practice using the following commands.
 * 3) Verify the configuration using the following commands.
 * 4) Configure a router as a DHCP server.Cisco CCENT Cloud Router PC.png
 * 5) Use the router from above and practice using the following commands.
 * 6) Verify the configuration using the following commands.
 * 7) Test the configuration by adding a VCPS PC to the project.
 * 8) Add a link to connect the following.
 * 9) * R1 FastEthernet0/0 <-> PC1 Ethernet0
 * 10) Open the console for PC1. Set the IP address for PC1 using the following commands.
 * 11) Configure a router to provide NAT/PAT.Cisco CCENT Cloud Router PC.png
 * 12) Use the router and PC from above and practice using the following commands.
 * 13) Verify the configuration using the following commands.
 * 14) Open the console for PC1 and test the configuration using the following command.
 * 1) Verify the configuration using the following commands.
 * 2) Test the configuration by adding a VCPS PC to the project.
 * 3) Add a link to connect the following.
 * 4) * R1 FastEthernet0/0 <-> PC1 Ethernet0
 * 5) Open the console for PC1. Set the IP address for PC1 using the following commands.
 * 6) Configure a router to provide NAT/PAT.Cisco CCENT Cloud Router PC.png
 * 7) Use the router and PC from above and practice using the following commands.
 * 8) Verify the configuration using the following commands.
 * 9) Open the console for PC1 and test the configuration using the following command.
 * 1) Test the configuration by adding a VCPS PC to the project.
 * 2) Add a link to connect the following.
 * 3) * R1 FastEthernet0/0 <-> PC1 Ethernet0
 * 4) Open the console for PC1. Set the IP address for PC1 using the following commands.
 * 5) Configure a router to provide NAT/PAT.Cisco CCENT Cloud Router PC.png
 * 6) Use the router and PC from above and practice using the following commands.
 * 7) Verify the configuration using the following commands.
 * 8) Open the console for PC1 and test the configuration using the following command.
 * 1) Configure a router to provide NAT/PAT.Cisco CCENT Cloud Router PC.png
 * 2) Use the router and PC from above and practice using the following commands.
 * 3) Verify the configuration using the following commands.
 * 4) Open the console for PC1 and test the configuration using the following command.
 * 1) Verify the configuration using the following commands.
 * 2) Open the console for PC1 and test the configuration using the following command.
 * 1) Verify the configuration using the following commands.
 * 2) Open the console for PC1 and test the configuration using the following command.
 * 1) Verify the configuration using the following commands.
 * 2) Open the console for PC1 and test the configuration using the following command.
 * 1) Verify the configuration using the following commands.
 * 2) Open the console for PC1 and test the configuration using the following command.
 * 1) Open the console for PC1 and test the configuration using the following command.

Lesson Summary

 * Dynamic Host Configuration Protocol is used by hosts to request Internet Protocol parameters from a network server.
 * DHCPv4 operations fall into four basic phases: IP discovery, IP lease offer, IP request, and IP lease acknowledgement. These points are often abbreviated as DORA (Discovery, Offer, Request, Acknowledgement).
 * DHCPv4 options provided to clients include subnet mask, router (default gateway), domain name server, domain name, lease time, renewal time (T1), rebinding time (T2), and others.
 * Network links without a DHCP server can use DHCP relay agents to receive messages from DHCP clients and forward them to DHCP servers. DHCP servers send responses back to the relay agent, and the relay agent then sends these responses to the DHCP client on the local network link.
 * DHCPv6 operations are similar to DHCPv4, but are described as Solicit, Advertise, Request, and Reply. Renewals are processed with Renew and Reply.
 * Domain Name System (DNS) is a hierarchical distributed naming system for computers, services, or any resource connected to the Internet or a private network.
 * DNS distributes the responsibility of assigning domain names and mapping those names to IP addresses. Authoritative name servers are assigned to be responsible for their particular domains, and in turn can assign other authoritative name servers for their sub-domains.
 * Caching DNS servers cache DNS queries and perform recursive queries to improve efficiency, reduce DNS traffic across the Internet, and increase performance in end-user applications.
 * Network Time Protocol (NTP) is a networking protocol for clock synchronization between computer systems over packet-switched, variable-latency data networks.
 * NTP is intended to synchronize all participating computers to within a few milliseconds of Coordinated Universal Time (UTC).
 * Network address translation (NAT) is a methodology of remapping one IP address space into another by modifying network address information in Internet Protocol (IP) datagram packet headers while they are in transit across a traffic routing device.
 * To assign a dynamic IP address to an interface, use the  command.
 * To release a dynamic IP address, use the  command.
 * To renew a dynamic IP address, use the  command.
 * To enable IP Domain Name System (DNS)-based hostname-to-address translation, use the  command in global configuration mode.
 * To specify one or more hosts (up to six) that can function as a name server to supply name information for the DNS, use the  command in global configuration mode.
 * To enable the Domain Name System (DNS) server on a router, use the  command in global configuration mode.
 * To specify the IP addresses that the DHCP Server should not assign to clients, use the  command in global configuration mode.
 * To configure the DHCP address pool name and enter DHCP pool configuration mode, use the  command in global configuration mode.
 * To configure a subnet and mask for the newly created DHCP address pool, use the  command in DHCP pool configuration mode.
 * To specify a default router for a DHCP client, use the  command in DHCP pool configuration mode.
 * To configure a domain name string for the client, use the  command in DHCP pool configuration mode.
 * To configure the DNS IP servers that are available to a DHCP client, use the  command in DHCP pool configuration mode.
 * To change the default DHCP lease value, use the  command in DHCP pool configuration mode.
 * To display DHCP Server information, use the commands ,  , and   in EXEC mode, as needed.
 * To display the time and date from the system software clock, use the  EXEC command.
 * To allow the software clock to be synchronized by a Network Time Protocol (NTP) time server, use the  command in global configuration mode.
 * To show the status of Network Time Protocol (NTP) associations, use the  EXEC command.
 * To designate that traffic originating from or destined for the interface is subject to Network Address Translation ( NAT), use the  command in interface configuration mode.
 * To enable Network Address Translation (NAT) of the inside source address, use the  command in global configuration mode.
 * To define a pool of IP addresses for Network Address Translation (NAT) translations, use the  command in global configuration mode.
 * To define a standard IP access list, use the standard version of the  command in global configuration mode.

Key Terms

 * inside global
 * A legitimate IP address assigned by the NIC or service provider that represents one or more inside local IP addresses to the outside world.


 * inside local
 * The IP address assigned to a host on the inside network.


 * NAT overload
 * Allows NAT to translate multiple inside devices to a single address in the pool.


 * outside global
 * The IP address assigned to a host on the outside network by the host owner.


 * outside local
 * The IP address of an outside host as it appears to the inside network.


 * PAT
 * Address translation using only one or a few external addresses to support multiple internal addresses. Also see NAT overload.


 * stateful DHCPv6
 * Enables DHCP servers to pass configuration parameters, such as IPv6 network addresses, to IPv6 nodes.


 * stateless DHCPv6
 * Uses stateless autoconfiguration (SLAAC) to assign one or more IPv6 addresses to an interface, while it utilizes DHCPv6 to receive additional parameters which may not be available through SLAAC.


 * Stateless Address Autoconfiguration (SLAAC)
 * A method by which a node automatically creates a link-local address with the prefix fe80::/64 on each IPv6-enabled interface, even if globally routable addresses are manually configured or obtained through configuration protocols.

Assessments

 * Flashcards: Quizlet: CCENT - Network Services
 * Quiz: Quizlet: CCENT - Network Services