• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/62

Click to flip

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;

62 Cards in this Set

  • Front
  • Back

3 components of DHCP

Server application - responds to client requests for TCP/IP config settingsClient -- Issues requests and applies received TCP/IP config settingsCommunications protocol - Defines formats and sequences of the messages exchanged by DHCP clients and servers

IETF
Internet Engineering Task Force
Which IETF RFC describes DHCP
RFC 2131
Which IETF RFC describes DHCP options and bootp vendor extensions?
RFC 2132
3 types of DHCP allocation methods
Dynamic allocationAutomatic allocationManual allocation
DHCP dynamic allocation method
Server assigns client IP lease from a scope of IPs for a period of time. Client must renew lease. If not renewed IP goes back into the scope for reassignment
DHCP automatic allocation method
Dynamic allocation with an indefinite lease. Reduces network traffic by eliminating lease renewals but does not allow for much change without reconfiguring the PC manually
DHCP manual allocation method
Server assigns IP permanently to client. Called a reservation.
BOOTP
Bootstrap Protocol. Allows a diskless client to boot from a network resource
DHCP packetSize & description: op field
AKA Op code1 byteSpecifies whether the message is a request or a reply
DHCP packetSize & description: htype
AKA hardware type1 bytesSpecifies the type of hardware address used in the chaddr field
DHCP packetSize & description: hlen
AKA hardware address length1 byteSpecifies the length of the hardware address in the chaddr field in bytes
DHCP packetSize & description: hops
1 byteSpecifies the number of network segments between client /server. CLient sets to 0. Each DHCP relay increments by 1
DHCP packetSize & description: xid
Transaction ID4 bytesContains transaction ID used to associate the request and response messages of a single DHCP transaction
DHCP packetSize & description: secs
Seconds2 bytesSpecifies the number of secs elaps since ip was assigned or lease last renewed
DHCP packetSize & description: flags
2 bytesContains broadcast flag as first bit. When set to 1 specifies DHCP servers and relay agents should use broadcasts not unicasts
DHCP packetSize & description: ciaddr
Client IP address4 bytesSpecifies the clients IP address in DHCPREQUEST messages transmitted while in the bound renewal or rebinding state
DHCP packetSize & description: yiaddr
Your IP address4 bytesSpecifies the IP address being offered or assigned by the server in DHCPOFFER or DHCPACK messages
DHCP packetSize & description: siaddr
Server IP address4 bytesSpecifies IP addr of the next server in bootstrap sequence. Only included when DHCP is configured to supply executable boot file to clients & files located on a different server
DHCP packetSize & description: giaddr
Gateway IP Address4 bytesSpecifies the ip addr of the DHCP replay agent the server should send its replies when a client and server are located at different subnets
DHCP packetSize & description: chaddr
Client Hardware Address16 bytesSpecifies the hardware address of the client system in CHCPDISCOVER and DCHPREQUEST messages which the server uses to address its unicast responses to the client
DHCP packetSize & description: sname
Server Host Name64 bytesSpecifies the optional host name of the DHCP server. More commonly used to hold overflow data from the options field
DHCP packetSize & description: file
Boot file name128 bytesSpecifies the name of an executable boot file for diskless client workstation. More commonly used to hold overflow data from the option field
DHCP packetSize & description: options
Variable size. Min of 312 bytesContains magic cookie that specifies how the rest of the field should be interpreted and the DHCP Message Type option that defines the function of the message.
8 different message types
DHCPDISCOVERDHCPOFFERDHCPREQUESTDHCPDECLINEDHCPACKDHCPNAKDHCPRELEASEDHCPINFORM
The options field of a DHCP packet always begins with _____
The magic cookie
Magic cookie
Portion of the DHCP options field that informs the server about what is contained in the rest of the field. 4 byte subfield.
DHCPDISCOVER
Used by clients requesting config params from a DHCP server
DHCPOFFER
Used by server to offer IP addresses to requesting clients
DHCPREQUEST
Used by clients to accept or renew an ip address assignment
DHCPDECLINE
Used by clients to reject an offered IP address
DHCPACK
Used by server to acknowledge a client's acceptance of an offered IP address
DHCPNAK
Used by servers to reject a client's acceptance of an offered IP address
DHCPRELEASE
Used by clients to terminate an IP address lease
DHCPINFORM
Used by clients to obtain additional TCP/IP config params
Which transport layer protocol is used to carry DHCP packets?
UDP
What BOOTP vendor info extensions are included in the DHCP option field and used by most clients?
Subnet maskRouter / default routedomain name serverhost namedomain name
What DHCP message does a client send first when seeking an IP address?
DHCPDISCOVER
When a DHCP server received DHCPDISCOVER and has an ip available what does it send?
DHCPOFFER
If a client received a DHCPOFFER and wants the address what does it send?
DHCPREQUEST
If a client sends a server a DHCPREQUEST but the offered IP is no longer available what does the server send back?
DHCPNAK
If a client sends a server a DHCPREQUEST and the offered IP is still available what does the server send back?
DHCPACK
init state
A client with no ip looking for the DHCP server (having sent DHCPDISCOVER messages)
Why might A client may receive DHCPOFFERs from more than on DHCP server?
Client sent a DHCPDISCOVER message as a broadcast. If there's more than one DHCP server both may respond.
If a client receives DHCPACK for an IP what does it then do?
Attempts an ARP test to confirm that the offered IP really isn't in use in its network segment.
If an offered IP fails an ARP test what does the client send to the DHCP server?
DHCPDECLINE
If an offered IP passes the ARP test what happens?
"Client is ""bound"". Transaction complete."
What is the default ip lease time for a DHCP client in server 2012?
8 days
When is renewal time on a DHCP lease?
At 50% of the way through the lease time.
Renewal time AKA
T1
What state does a client enter at renewal time?
Renewing State
Besides at renewal time when do DHCP clients renew their lease?
On reboot
What happens if the DHCP server does not respond to a client's request to renew a lease via its DHCPREQUEST mesasgess?
Client enters rebinding state and beings transmitting DHCPREQUEST messages as broadcasts attempting an IP assignment from any DHCP server on the network
At what point does a client enter rebinding state?
87.5% into lease duration (T2) after DHCP server failed to respond to T1 renewal requests.
Distributed DHCP infrastructure
Locating a DHCP server on each of your subnets -- one per broadcast domain
Advantages of distributed DHCP infrastructure
Clients have easy access to their DHCP serversDo not have to worry about DHCP traffic adding to the burden of your routers. All client/server traffic for DHCP will be local
Centralized DHCP infrastructure
DHCP servers are all placed in a single location. Request pass through subnets. Relay agents are required on each individual broadcast domain
DHCP relay agent
Receives DHCP broadcast traffic on a subnet / broadcast domain and sends it to a DHCP server on at least one other subnet. DHCP servers send messages back to the agent which processes and sends them to the client.
What devices often have DHCP relay agents built in?
Routers
On what and how does centralizing a DHCP server create a burden?
Creates a burden on the DHCP server and on the subnet the central server is located b/c of increased traffic
PXE
PreBoot Execution EnvironmentAllows a DHCP server to specify a boot file for a client to download and boot from.

What does PXE use to transfer the boot files specified by the DHCP server?

TFTP - Trivial File Transfer Protocol