Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
109 Cards in this Set
- Front
- Back
DHCP
|
Service that provides a way for client computer to request IP address assignment. Delivers necessary configuration information to clients. Traces its origins back to an earlier protocol named BOOTP. Servers can manage one or more ranges of IP addresses
|
|
WhenTCP/IP is configured on client computer (How DHCP works)
|
The Obtain an IP address automatically option is the only necessary set-up element
|
|
Next time workstation attempts to access network (How DHCP works)
|
It broadcasts a DHCP address request to the network because it has no IP address
|
|
AllDHCP servers present on same broadcast domain (How DHCP works)
|
Receive request and send back message that indicates a willingness to grant an address lease
|
|
Client (How DHCP works)
|
Accepts address lease offer and sends packet to server that extended offer
|
|
Inreply (How DHCP works)
|
Server proffers an IP address for a specific period of time that the client uses thereafter
|
|
When half the lease period expires (How DHCP works)
|
Client attempts to renew the lease
|
|
Leases
|
“Loans” of an address for a specific amount of time
|
|
Leases that range from one to three weeks
|
Typical on networks in which machines seldom move and the workforce is stable
|
|
Lease periods
|
Average between one and three days for networks on which roving workers come and go regularly
|
|
Lease periods of four to eight hours
|
Common on ISP networks
|
|
DHCP client (DHCP Software Elements)
|
Enabled at client machine when you select the Obtain an IP address automatically option
|
|
DHCP server (DHCP Software Elements)
|
Manages address pools and configuration data
|
|
DHCP relay agent
|
Intercepts address requests on local cable segment. Repackages requests as a unicast to one or more DHCP servers
|
|
Manual address lease (DHCP Lease Types)
|
Administrator assigns an IP address manually
|
|
Dynamic address lease (DHCP Lease Types)
|
DHCP server assigns addresses for specific periods of time
|
|
How DHCP integrates with DNS
|
Server addresses are advertised using DNS. All address updates must be entered manually. Client addresses usually come into play only when:
|
|
Email addresses of the form user@domain.name must be
|
resolved
|
|
Two types of IPv4 address auto configuration mechanisms
|
DHCP & Automatic Private IP Addressing (APIPA)
|
|
Automatic Private IP Addressing (APIPA)
|
Dynamic configuration of IPv4 link: local addresses. Address block169.254.0.0/16: Reserved for this use. Used by interfaces as a fail over mechanism to self- assign an IPv4 address. APIPA address will not allow routed communications to hosts on other networks
|
|
DHCP Discovery Occurs when
|
DHCP client broadcasts a request for an IP address
|
|
DHCP Discovery
|
Relies on an initial DHCP broadcast
|
|
DHCP servers
|
PING an address before offering it to the client
|
|
Windows clustering
|
Allows two or more servers to be managed as a single system
|
|
DHCP Discovery Uses four packets
|
DHCP Discover packet, DHCP Offer packet, DHCP Request packet, DHCP Acknowledgment packet
|
|
Discover Packet
|
During DHCP Discovery process. Client broadcasts Discover packet that identifies client’s hardware address. Header contains: Source IP address 0.0.0.0
|
|
Preferred address for Discover Packet
|
Typically the last address the client used
|
|
Offer Packet
|
Send by DHCP server to offer IP address to DHCP client. Includes IP address that is offered to the client Sometimes, answers to the requested options in the DHCP Discover packet
|
|
Request Packet
|
Once Offer packet is received. Client can either accept offer by issuing a DHCP Request packet, or Reject offer by sending a DHCP Decline packet. Typically Client sends a Decline only if it receives more than one Offer
|
|
Acknowledgment Packet
|
Sent from server to client to indicate the completion of the four-packet DHCP Discovery process
|
|
Acknowledgment Packet Response
|
Contains answers to any configuration options requested by client in the previous Request packet
|
|
Address Renewal Process
|
When DHCP client receives an address from a DHCP server. Client also receives a lease time and notes the time that the address was received
|
|
Lease time for Address Renewal Process
|
Defines how long the client can keep the address. In middle of the lease period client starts a renewal process.
|
|
Renewal Time (T1)
|
Defined as the time that the client tries to renew its network address
|
|
The Renewal packet
|
Is unicast directly to the DHCP server
|
|
Default value for T1
|
0.5 * duration_of_lease (i.e., lease time)
|
|
Rebinding Time (T2)
|
Time that client begins to: Broadcast a renewal request for an extended lease time from another DHCP server
|
|
DHCP specification, RFC2131
|
defines default value for T2 as 0.875 * duration_of_lease
|
|
DHCP Address Release Process
|
Client should release its address by Sending a DHCP Release packet to the server
|
|
DHCP Release packet
|
Sent over UDP. DHCP server does not send any acknowledgment
|
|
If client does not send the DHCP Release packet
|
DHCP server automatically releases the address at the lease expiration time
|
|
DHCP Packet Structures Fields
|
Operation Code (OPCODE) or Message Type Field Hardware Type Field
Hardware Length Field Hops Field Transaction ID Number Field Seconds Since Boot or Seconds Elapsed Field Flags Field Client IP Address Field Your IP Address Field Server IP Address Field Gateway or Relay Agent IP Address Field Client Hardware Address Field Server Host Name Field Boot File Field DHCP Option field |
|
DHCP Option 53: Message Type
|
Only DHCP option required in all DHCP packets.
|
|
DHCP Option 53: Message Type
|
Indicates general purpose of any DHCP message
|
|
DHCP boot sequence uses these message types:
|
DHCP Message Type 1: Discover (client to server). DHCP Message Type 2: Offer (server to client). DHCP Message Type 3: Request (client to server). DHCP Message Type 5: ACK (server to client)
|
|
DHCP clients Must broadcast
|
service requests until they obtain IP addresses
|
|
DHCP clients Use unicast when
|
addressing after they obtain an address for a local
|
|
DHCP servers
|
Examine DHCP packets coming from clients
|
|
DHCP boot up process
|
Relies heavily on broadcasts, but most routers do not forward broadcasts
|
|
Relay agent function
|
Typically loaded on a router connected to the segment containing DHCP clients
|
|
Relay agent device
|
Configured with the address of the DHCP server. Can communicate using unicast packets directly with that server
|
|
Two basic approaches to IPv6 auto configuration
|
Stateless and Stateful
|
|
Stateless auto configuration
|
Simply presents required router configuration information to all comers
|
|
Stateful auto configuration
|
DHCPv6 server must maintain awareness of the status or state of its pool of available addresses
|
|
Stateless address auto configuration
|
ND protocol allows routers to be configured to present the minimum information a host needs when joining a network link
|
|
Stateful address auto configuration
|
DHCPv6 is much like DHCPv4 under IPv4
|
|
Both stateless and stateful address rely on
|
dedicated servers to hold databases of information about hosts and their IP and other configuration parameters
|
|
Combination of stateful and stateless address auto configuration
|
Referenced as DHCPv6 stateless.
|
|
Routers on the local link can be configured to
|
provide pointers to DHCPv6 servers. Router provides the network prefix, and DHCPv6 server provides the DNS server information
|
|
Functional States of an IPv6 Auto configured Address
|
Tentative addresses, Valid addresses, preferred addresses, deprecated addresses, invalid addresses.
|
|
Tentative addresses
|
Occur as a node initializes an interface on an IPv6 network segment or link
|
|
Valid addresses
|
Usable based on the Valid Lifetime field in the Prefix Information option of an RA or the Valid Lifetime field in the DHCPv6 IA Address option
|
|
Preferred addresses
|
Usable based on the Preferred Lifetime field in the Prefix Information option of an RA or the Preferred Lifetime field in the DHCPv6 IA Address option
|
|
Deprecated addresses
|
Allow nodes to continue to function while they renew the lease on their addresses
|
|
Invalid addresses
|
Cannot be used as either the source or destination address when the valid lifetime expires
|
|
Node interface identifiers (IDs)
|
Used to ensure that the IPv6 address is unique among all other IPv6 addresses
Generally 64 bits long |
|
Three most common sources of node interface identifiers
|
Modified EUI-64 format, Random number generator to create a 64bit number, Cryptographically Generated Addresses (CGA) process
|
|
RFC4941
|
Node using SLAAC will compute an additional IPv6 address known as the “temporary” address
|
|
Temporary address
|
Assigned “preferred” status. Used for all outbound communications from the node
|
|
DHCPv6
|
Defined in RFC 3315. Uses UDP ports 546 and 547
|
|
DHCPv6 uses two specific multicast addresses:
|
FF02:1:2 & FF05::1:3
|
|
DHCP Unique Identifier (DUID) methods
|
DUID-LLT, DUID-EN, DUID-LL
|
|
Numerous DHCPv6 message types
|
Occur between nodes, servers, and relay agents
|
|
DHCPv6 Stateful Message Exchange
|
1.Host sends a Router Solicitation
2. Router replies with a Router Advertisement 3. Host sends a Solicit message 4. DHCPv6 server replies with an Advertise message 5. Host sends a Request message 6. DHCPv6 server sends the host a Reply message with an IPv6 address 7. Host sends a Router Solicitation 8. Router replies with a Router Advertisement 9. Host sends an Information-Request message 10. DHCPv6 server sends the host a Reply message with the other available configuration options |
|
DHCPv6 Relay Message Exchange
|
1.Host sends a Router Solicitation
2. Router replies with a Router Advertisement 3. Host sends a Solicit message 4. Router relay-forwards Solicit message to server 5. DHCPv6 server relay-replies router with an Advertise message 6. Router replies with Advertise message to the host 7. Host sends a Request message 8. Router relay-forwards Request message to server 9. DHCPv6 server relay-replies router with a Reply message with IPv6 address and other options 10. Router replies with the Reply message to the host |
|
In IPv6 Auto configuration process basic steps nodes create
|
an interface ID
|
|
In IPv6 Auto configuration process basic steps FE80 is
|
prepended to the interface ID
|
|
In IPv6 Auto configuration process basic steps Node sends
|
NS message with wits link-local address as the destination
|
|
In IPv6 Auto configuration process basic steps if an NA is not recieved
|
then the address is considered unique
|
|
In IPv6 Auto configuration process basic steps host sends an RS to
|
the all routers multicast address FF02;;2
|
|
In IPv6 Auto configuration process basic steps if an RA is not received
|
the host stars the stateful auto configuration process
|
|
IPv6 Auto configuration Process Basic steps
If an RA is received |
host examines the RA message looking for variables and flags
|
|
IPv6 Auto configuration Process Basic steps
If L flag is set to “on,” |
host adds the network prefix to its prefix cache
|
|
IPv6 Auto configuration Process Basic steps
If a flag is set to “on,” |
then two IPv6 addresses are created
|
|
IPv6 Auto configuration Process Basic steps
Host sends an NS message |
with its global unicast address as the destination
|
|
IPv6 Auto configuration Process Basic steps
If an NA is not received |
the address is considered unique
|
|
IPv6 Auto configuration Process Basic steps
|
If M flag is set to “on,” start the stateful auto configuration process
|
|
IPv6 Auto configuration Process Basic steps
|
If O flag is set to “on,” start the stateful auto configuration process
53 |
|
Auto configuration in Microsoft Windows Operating Systems
Basic guidelines: |
Link-local address will be generated using a RNG, If a flag is set to “on” in an RA, the global unicast address will be generated, If a flag is set to “on” in an RA, a temporary global unicast address will be generated, OS sends the RS to find any on-link routers, If no RAs are received, OS starts stateful address process, Manually configuring an IPv6 address does not disable IPv6 address auto configuration
|
|
Microsoft Windows Server 2008 DHCP Scopes
Address scopes |
Define a set of addresses that a DHCP server can assign to clients
|
|
Microsoft Windows Server 2008 DHCP Scopes Super scopes
|
A collection of scopes that contain sets of non- consecutive IP addresses
|
|
Source of information needed in setting up a simple DHCP Server
|
D-Link Xtreme N Gigabit Router (model number DIR-655)
|
|
One good way to troubleshoot DHCP/DHCPv6
|
Use a protocol analyzer, such as Wireshark
|
|
Analyzer when Troubleshooting DHCP
|
Can display the sequence of messages that occurs on a network
|
|
Command store lease and/or renew an IP address when Troubleshooting DHCP
|
ipconfig /release, ipconfig /renew, ipconfig /release6, ipconfig /renew6
|
|
DHCP
|
Provides a way for computers to obtain usable, unique IP addresses and necessary TCP/IP configurations
|
|
From the administrative side DHCP
|
makes it easy to define and manage pools of IP addresses
|
|
DHCP’s origins
|
Lie in an earlier TCP/IP Application layer protocol, called BOOTP
|
|
DHCP
|
Supports manual or dynamic address allocation
|
|
When a DHCP client starts
|
It begins the process of DHCP Discovery, during which the client receives an IP address and lease
|
|
DHCP supports a variety of
|
message types and options. Only MessageType 53 (DHCP Message) is mandatory for any given DHCP message
|
|
DHCP supports
|
Supports manual or dynamic address allocation
|
|
When a DHCP client starts
|
It begins the process of DHCP Discovery, during which the client receives an IP address and lease
|
|
DHCP
|
Supports a variety of message types and options. Only MessageType 53 (DHCP Message) is mandatory for any given DHCP message
|
|
Because DHCP can ferry a surprisingly large range of configuration information
|
The protocol makes use of several message options
|
|
A protocol analyzer is especially effective when
|
diagnosing DHCP/DHCPv6 difficulties
|
|
Clients supporting IPv6 have
|
new operations for address auto configuration
|
|
DHCPv6 operates much like
|
DHCP for IPv4
|
|
DHCPv6 is a completely new service, compared to
|
DHCP’s origins
|