Sie sind auf Seite 1von 2

Stateless vs statefull DHCP?

Stateful means the computer or program keeps track of the state of interaction, usually by setting values in a storage field designated for that purpose. http://whatis.techtarget.com/definition/0,,sid9_gci213051,00.html Stateless means there is no record of previous interactions and each interaction request has to be handled based entirely on information that comes with it

DHCP stands for Dynamic Host Configuration Protocol, this client / server protocol has been around for awhile now, and is regually implemented on IPv4 networks. IPv4 DHCP, is explained in RFC 2131 and IPv6 DHCP is explained in RFC 3315. But, in a nutshell; network adminstrators use DHCP to provide a framework that is used by networked devices (DHCP clients) to obtain various necessary parameters from DHCP Servers so the DHCP clients can operate in an Internet Protocol (IP) network. Now when it comes to DHCP for IPv6 (RFC 3315), there are two ways DHCPv6 can be implemented, either Stateful or Stateless. Stateful DHCP is centrally managed on a DHCP server(s); and the DHCP clients use Stateful DHCP to obtain an IP address(es) and other useful configuration informaiton from the DHCP server(s). But, Stateless DHCP on the other hand; means the DHCP server(s) is not required to store any dynamic state information on the DHCP server(s) about any indivisual DHCP clients. Instead, the DHCP clients autoconfigure their own IP address(es) based on router advertisments. So, with Stateless DHCP, the DHCP clients don't use the DHCP server(s) to obtain IP address(es) information, they use the DHCP server(s) to obtain the other useful configuration informaiton (like the address(es) of DNS servers). Currently, Cisco recommends that you use Stateless DHCP instead of Stateful DHCP when implementing and deploying IPv6 networks; because, Cisco Routers are not designed to act as Stateful DHCPv6 servers. But, if you need to implement Stateful DHCP on your IPv6 network; Cisco makes a product named Cisco Network Registar (CNR) that can help you out a lot. I invite you to visit my website were you'll find the latest information regarding Cisco IPv6 Design and Implementation Techniques.

S
Stateless = shoot and forget Stateful = request and acknowledgment Basically, in stateless mode there is no 2 way comms between host and server, in fact in IPv6 there doesn't need to be a server, the host can get an address all by itself. In IPv4 you may notice an IP address that starts 169.254.x.x, this is a autoconfig address (which is stateless). In stateful mode, the host requests and address from the server and it replies with that address.

In stateful mode, the host requests and address from the server and it replies with that address.

Das könnte Ihnen auch gefallen