Chapter 1 - IPV4/IPv6 Addressing and Routing Review

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play

1/75

flashcard set

Earn XP

Description and Tags

Official Cert Guide Chapter 1

76 Terms

1
New cards

Describe the DHCP DORA process.

  1. 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.

  2. 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.

  3. Request - Client receives offer and replies with a broadcast saying it’ll use the offered IP.

  4. Acknowledge - Server replies with acknowledgement stating the address is leased to the client and provides DHCP options, gateway, lease duration, DNS, and so on.


2
New cards

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.

3
New cards

What is the command to enable a DHCP relay on an interface?

ip helper-address ___ (ip address)

4
New cards

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.

5
New cards

Which ports are used for DHCP Discover and Offer?

Discover uses UDP 67

Offer uses UDP 68

6
New cards

What is a DHCPDECLINE?

Sent from the client to server stating the issued IP is already in use.W

7
New cards

What is a DHCPNAK?

Sent from the server to client declining to provide the client with its requested IP configuration.

8
New cards

What is a DHCPRELEASE?

Sent from the client to the server indicating it is giving up its lease and the address can be reassigned.

9
New cards

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.

10
New cards

How do you configure DHCP on an interface?

ip address dhcp

11
New cards

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.

12
New cards

What command shows if the Cisco device is listening on port 67?

show socket detail or show ip socket detail

13
New cards

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.

14
New cards

Where are manual DHCP bindings stored?

In NVRAM on the DHCP server.

15
New cards

Where are automatic DHCP bindings stored?

in RAM on the DHCP server.

16
New cards

What option do all clients sent in their DHCP packets?

Clients send option 61, client ID.

17
New cards

What is the process for creating a DHCP pool?

  1. ip dhcp pool ___(name)

  2. network ___ ___ (network and mask)

  3. default-router ___

  4. dns-server ___

  5. Configure options


18
New cards

What command creates an excluded address in DHCP?

ip dhcp excluded address ___ (lower bound) ___ (upper bound)

19
New cards

What should be examined when troubleshooting DHCP issues?

  1. Is the router forwarding broadcasts/is there a relay?

  2. Is the DHCP pool exhausted?

  3. Is the pool misconfigured? Wrong IPs, lease time too long, incorrect exclusion, DNS servers missing or incorrect?

  4. Are there duplicate IPs?

  5. Are redundant DHCP servers not communicating and sending duplicate DORA?

  6. Is the client just… stupid?


20
New cards

What command displays IP conflicts, time detected, and method detected?

show ip dhcp conflict

21
New cards

What command clears a DHCP conflict after it’s been resolved?

clear ip dhcp conflict *

22
New cards

What debug will show updates to the DHCP database?

show ip dhcp server events

23
New cards

What debug shows the DHCP message exchange?

debug ip dhcp server packet

24
New cards

What does a percent symbol (%) in a link local IP indicate?

It indicates which interface it sends traffic from.

25
New cards

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.

26
New cards

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.

27
New cards

What command should be used when confirming a global unicast IP and if it’s using EUI-64?

show ipv6 interfaces

28
New cards

What are the three methods for IPv6 auto-addressing?

SLAAC, Stateful DHCP, and Stateless DHCP.

29
New cards

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

30
New cards

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.

31
New cards

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

32
New cards

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.


33
New cards

What command will show if RAs are being suppressed on an interface?

show ipv6 interface ___ (interface)


The output will show “ND RAs are suppressed”.

34
New cards

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.

35
New cards

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.

36
New cards

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.

37
New cards

What command shows DHCPv6 pool parameters?

show ipv6 dhcp pool

38
New cards

What command displays IPv6 bindings?

show ipv6 dhcp bindings

39
New cards

What command displays the DHCPv6 interface status, operational mode, assigned prefixes, and associated server/lifetime parameters?

show ipv6 dhcp interface ___

40
New cards

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.

41
New cards

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

42
New cards

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

43
New cards

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.

44
New cards

What does the DHCPv6 CONFIRM message type do?

Sent from a client to server to determine if its lease is still appropriate.What

45
New cards

What does the DHCPv6 RENEW message type do?

Sent from the client to server requesting a lifetime extension for its IP.

46
New cards

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.

47
New cards

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.

48
New cards

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.

49
New cards

What does the DHCPv6 DECLINE message type do?

Sent from the client to server informing it that the assigned address is already in use.

50
New cards

What does the DHCPv6 RECONFIGURE message type do?

Sent from the server to the client when the server has new or updated information.

51
New cards

What does the DHCPv6 INFORMATION-REQUEST message type do?

Send from the client to the server requesting additional configuration without address assignment.

52
New cards

What does the DHCPv6 RELAY-FORW message type do?

Used by the relay agent to forward messages to a DHCP server.

53
New cards

What does the DHCPv6 RELAY-REPL message type do?

User by the DHCP server to reply to the relay.

54
New cards

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.

55
New cards

How do you set up a DHCPv6 relay?

ipv6 dhcp relay destination ___(address) on the interface.

56
New cards

What command shows the next hop IP and egress interface?

show ip cef ___ (address)What

57
New cards

What command show next hop resolution protocol cache that useds with DMVPNs?

show ip nhrp

58
New cards

What’s the administrative distance for connected?

0

59
New cards

What’s the administrative distance for static?

1

60
New cards

What’s the administrative distance for EIGRP summary routes?

5

61
New cards

What’s the administrative distance for eBGP?

20

62
New cards

What’s the administrative distance for internal EIGRP?

90

63
New cards

What’s the administrative distance for OSPF?

110

64
New cards

What’s the administrative distance for IS-IS?

115

What’s the administrative distance for

65
New cards

What’s the administrative distance for RIP?

120

66
New cards

What’s the administrative distance for ODR? What is it?

  1. 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


67
New cards

What’s the administrative distance for external EIGRP?

170

68
New cards

What’s the administrative distance for iBGP?

200

69
New cards

What’s the administrative distance for unknown or unbelievable routes?

255W

70
New cards

What command will display a routing protocol’s administrative distance?

show ip route

71
New cards

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)

72
New cards

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.

73
New cards

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

74
New cards

What command configures an IPv6 static route?

ipv6 route ___/_ (prefix) {next hop ip | interface} [administrative distance] (optional)

75
New cards

Does IPv6 broadcast or ARP?

No

76
New cards

What is NDP?

Neighbor Discovery Protocol. It’s the IPv6 version of ARP and determines a