Lesson 11: Deploying and Configuring the DHCP Service Flashcards
3 components of DHCP
Server application - responds to client requests for TCP/IP config settings
Client – Issues requests and applies received TCP/IP config settings
Communications 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 allocation
Automatic allocation
Manual 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 packet
Size & description: op field
AKA Op code
1 byte
Specifies whether the message is a request or a reply
DHCP packet
Size & description: htype
AKA hardware type
1 bytes
Specifies the type of hardware address used in the chaddr field
DHCP packet
Size & description: hlen
AKA hardware address length
1 byte
Specifies the length of the hardware address in the chaddr field, in bytes
DHCP packet
Size & description: hops
1 byte
Specifies the number of network segments between client /server. CLient sets to 0. Each DHCP relay increments by 1
DHCP packet
Size & description: xid
Transaction ID
4 bytes
Contains transaction ID used to associate the request and response messages of a single DHCP transaction
DHCP packet
Size & description: secs
Seconds
2 bytes
Specifies the number of secs elaps since ip was assigned or lease last renewed
DHCP packet
Size & description: flags
2 bytes
Contains broadcast flag as first bit. When set to 1, specifies DHCP servers and relay agents should use broadcasts, not unicasts
DHCP packet
Size & description: ciaddr
Client IP address
4 bytes
Specifies the clients IP address in DHCPREQUEST messages transmitted while in the bound, renewal, or rebinding state
DHCP packet
Size & description: yiaddr
Your IP address
4 bytes
Specifies the IP address being offered or assigned by the server in DHCPOFFER or DHCPACK messages
DHCP packet
Size & description: siaddr
Server IP address
4 bytes
Specifies 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 packet
Size & description: giaddr
Gateway IP Address
4 bytes
Specifies 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 packet
Size & description: chaddr
Client Hardware Address
16 bytes
Specifies 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 packet
Size & description: sname
Server Host Name
64 bytes
Specifies the optional host name of the DHCP server. More commonly used to hold overflow data from the options field
DHCP packet
Size & description: file
Boot file name
128 bytes
Specifies the name of an executable boot file for diskless client workstation. More commonly used to hold overflow data from the option field
DHCP packet
Size & description: options
Variable size. Min of 312 bytes
Contains 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.