1/75
Official Cert Guide Chapter 1
Describe the DHCP DORA process.
Discover - DHCP client boots, notices it lacks an address. Sends discover to 255.255.255.255 w/ destination MAC of FFFF.FFFF.FFFF and a source IP of 0.0.0.0 and its own MAC address.
Offer - Server receives the discover (either via relay or broadcast) and transmits an offer. More than one server may reply, so the client usually responds to the first one.
Request - Client receives offer and replies with a broadcast saying it’ll use the offered IP.
Acknowledge - Server replies with acknowledgement stating the address is leased to the client and provides DHCP options, gateway, lease duration, DNS, and so on.
What command enables DHCP service on a router? Is it on by default?
service dhcp
It is enabled by default but is also required for relays to work.
What is the command to enable a DHCP relay on an interface?
ip helper-address ___ (ip address)
What additional protocols can be relayed to a client using a helper?
TFPT, DNS, ITS (internet time service), NetBIOS name server, NetBIOS datagram server, BootP, and TACACS.
Which ports are used for DHCP Discover and Offer?
Discover uses UDP 67
Offer uses UDP 68
What is a DHCPDECLINE?
Sent from the client to server stating the issued IP is already in use.W
What is a DHCPNAK?
Sent from the server to client declining to provide the client with its requested IP configuration.
What is a DHCPRELEASE?
Sent from the client to the server indicating it is giving up its lease and the address can be reassigned.
What is a DHCPINFORM?
Sent by the client to the server requesting IP configuration parameters. For example, an access server asking for IP information of a remote client.
How do you configure DHCP on an interface?
ip address dhcp
How does a Cisco device acting as a DHCP server determine if an address is in use?
It sends a ping and a gratuitous ARP. If there’s a conflict, the address is removed from the pool until it is addressed by an administrator.
What command shows if the Cisco device is listening on port 67?
show socket detail or show ip socket detail
What is a DHCP database agent?
Any host (can be an FTP, TFTP, RCP server) or local media (USB or flash) that stores the DHCP bindings database. You can configure multiple and adjust their update interval.
Where are manual DHCP bindings stored?
In NVRAM on the DHCP server.
Where are automatic DHCP bindings stored?
in RAM on the DHCP server.
What option do all clients sent in their DHCP packets?
Clients send option 61, client ID.
What is the process for creating a DHCP pool?
ip dhcp pool ___(name)
network ___ ___ (network and mask)
default-router ___
dns-server ___
Configure options
What command creates an excluded address in DHCP?
ip dhcp excluded address ___ (lower bound) ___ (upper bound)
What should be examined when troubleshooting DHCP issues?
Is the router forwarding broadcasts/is there a relay?
Is the DHCP pool exhausted?
Is the pool misconfigured? Wrong IPs, lease time too long, incorrect exclusion, DNS servers missing or incorrect?
Are there duplicate IPs?
Are redundant DHCP servers not communicating and sending duplicate DORA?
Is the client just… stupid?
What command displays IP conflicts, time detected, and method detected?
show ip dhcp conflict
What command clears a DHCP conflict after it’s been resolved?
clear ip dhcp conflict *
What debug will show updates to the DHCP database?
show ip dhcp server events
What debug shows the DHCP message exchange?
debug ip dhcp server packet
What does a percent symbol (%) in a link local IP indicate?
It indicates which interface it sends traffic from.
What is EUI-64 and how is it calculated?
It’s an address convention for self-assigned IPv6 addressing using its MAC address. The MAC address is split in half (into two 24 bit chunks), FFFE is added to the middle, and the seventh bit from the left is inverted.
How do you create an EUI-64 address?
To explicitly tell a router to used EUI-64, use ipv6 address __/__ (network and prefix) eui-64.
Routers use EUI-64 by default when generating a host ID.
What command should be used when confirming a global unicast IP and if it’s using EUI-64?
show ipv6 interfaces
What are the three methods for IPv6 auto-addressing?
SLAAC, Stateful DHCP, and Stateless DHCP.
What is SLAAC? How would you enable it on an interface?
Stateless address auto-configuration. A device configures its own address, prefix (which is always /64), and gateway without a DHCPv6 server.
ipv6 address autoconfig
When a device or router is using SLAAC, how does it determine its gateway?
They send a router solicitation (RS) to determine if there are any routers connected to the same local link. They sit and wait for a router advertisement (RA) that identifies the prefix used by the default gateway. The host/router uses that prefix from the RA to generate its own IPv6 address.
What command allows you to see what IPv6 address a router has generated using SLAAC, the global unicast IP(s), and its default router?
show ipv6 interface
What conditions must be met for RAs to be advertised?
The router interfaces is enabled for IPv6
IPv6 unicast routing is enabled
RAs aren’t being suppressed on the interface.
What command will show if RAs are being suppressed on an interface?
show ipv6 interface ___ (interface)
The output will show “ND RAs are suppressed”.
Are you able to have multiple gateways with SLAAC? What is the caveat?
You can have multiple gateways (that is, any gateway that replies to the RS), but it’s only advantageous if each gateway can reach the same networks.
What is Stateful DHCPv6?
Stateful configuration allows devices to self-assign IP addresses and query a DHCPv6 server for additional information, such as DNS servers, NTP, TFTP settings, and so on.
How can you enable an IOS device to be a DHCPv6 server?
ipv6 dhcp server ___ (pool name)
Remember to make the pool which includes this information.
What command shows DHCPv6 pool parameters?
show ipv6 dhcp pool
What command displays IPv6 bindings?
show ipv6 dhcp bindings
What command displays the DHCPv6 interface status, operational mode, assigned prefixes, and associated server/lifetime parameters?
show ipv6 dhcp interface ___
What is Stateless DHCPv6?
This version combines Stateful and SLAAC. Clients use the RS from the router to determine their IPv6 address, prefix, and gateway, however the RA has a flag in the O bit that tells the client there’s a DHCPv6 server to query that has parameters to learn, such as DNS, NTP, and TFTP.
What command must you enable on an interface to ensure the RA will tell the client about the DHCPv6 server?
ipv6 nd other-config-flag
What command will show you if an interface is using Stateful DHCPv6?
show ipv6 interface ___
This will show its stateless and looking to a DHCP server for further information.Wh
What is the four step process for DHCPv6 (the DORA of IPv6)?
SOLICIT - A client sends to FF02::2, the all DHCP server multicast address.
ADVERTISE: A server responds to the solicitation, offering an address to the client.
REQUEST: The client replies to the advertisement, confirming the address and additional parameters.
REPLY - The server finalizes the lease.
What does the DHCPv6 CONFIRM message type do?
Sent from a client to server to determine if its lease is still appropriate.What
What does the DHCPv6 RENEW message type do?
Sent from the client to server requesting a lifetime extension for its IP.
What does the DHCPv6 REBIND message type do?
Sent from a client if there’s no reply to RENEW from a server. It extends its own IP lifetime.
What does the DHCPv6 REPLY message type do?
Sent from server to client with address and configuration parameters in response to a SOLICIT, REQUEST, RENEW, or REBIND from the client.
What does the DHCPv6 RELEASE message type do?
Sent from the client to the server saying the no longer need the IP address they were issued.
What does the DHCPv6 DECLINE message type do?
Sent from the client to server informing it that the assigned address is already in use.
What does the DHCPv6 RECONFIGURE message type do?
Sent from the server to the client when the server has new or updated information.
What does the DHCPv6 INFORMATION-REQUEST message type do?
Send from the client to the server requesting additional configuration without address assignment.
What does the DHCPv6 RELAY-FORW message type do?
Used by the relay agent to forward messages to a DHCP server.
What does the DHCPv6 RELAY-REPL message type do?
User by the DHCP server to reply to the relay.
Why must a DHCP server be in the same subnet as the client, or be reached through a relay, when the multicast address of all DHCP servers is link-local?
Because the all DHCP servers multicast address is link-local, its traffic never crosses a router, so the server must sit on the same subnet as the client or a relay agent must forward the message to it.
How do you set up a DHCPv6 relay?
ipv6 dhcp relay destination ___(address) on the interface.
What command shows the next hop IP and egress interface?
show ip cef ___ (address)What
What command show next hop resolution protocol cache that useds with DMVPNs?
show ip nhrp
What’s the administrative distance for connected?
0
What’s the administrative distance for static?
1
What’s the administrative distance for EIGRP summary routes?
5
What’s the administrative distance for eBGP?
20
What’s the administrative distance for internal EIGRP?
90
What’s the administrative distance for OSPF?
110
What’s the administrative distance for IS-IS?
115
What’s the administrative distance for
What’s the administrative distance for RIP?
120
What’s the administrative distance for ODR? What is it?
Stands for on demand routing, a Cisco enhancement to the Cisco Discovery Protocol (CDP) that lets stub routers advertise connected IP prefixes (including VLSM) to a hub router without running a full routing protocol
What’s the administrative distance for external EIGRP?
170
What’s the administrative distance for iBGP?
200
What’s the administrative distance for unknown or unbelievable routes?
255W
What command will display a routing protocol’s administrative distance?
show ip route
What is proxy-ARP? What command tells you if it’s enabled on an interface?
Allows a router to reply to ARP requests with its own MAC address if it has a route in the routing table to the IP address in the ARP request. This is enabled by default on routers.
show ip interface ___(interface)
What can happen if proxy ARP is not enabled and you examine the ARP table?
You will get an encapsulation error since the next hop isn’t providing its MAC address. As a result, you’ll see incomplete ARP entries.
What is best practice for configuring a static route?
Best practice dictates to use next hop IP. Try not to use egress interface since it takes up additional system resources to perform ARP lookups.H
What command configures an IPv6 static route?
ipv6 route ___/_ (prefix) {next hop ip | interface} [administrative distance] (optional)
Does IPv6 broadcast or ARP?
No
What is NDP?
Neighbor Discovery Protocol. It’s the IPv6 version of ARP and determines a