LetDevDev / GERT

Global Empire Routing Technology - Smart, simple, robust.
Other
0 stars 0 forks source link

DHCP Protocol #4

Closed LetDevDev closed 6 years ago

LetDevDev commented 6 years ago

GERT is meant to be a near zero configuration standard. In the interests of preserving this, and to expand it, a Dynamic Host Configuration Protocol should be defined. This should utilize the Media Abstraction Layer (MAL) to allow for ease of development and flexibility. A standard should be built.

LetDevDev commented 6 years ago

When started: DHCP should assign an address in the FFFF00 Network automatically, this address will either facilitate the allocation of an address as assigned from a server, or otherwise be kept for link local communications.

DHCP can use Protocol 2 for routing, Link-local addresses for pre-allocation configuration, and should follow the DORA system.

Discovery will simply contain the letter D, it is sent as a broadcast message.

Offer contains the letter "O" followed by the address and subnet being offered, as well as potentially routes and other metadata related to the network

Request contains the Letter "R" and the address the client wants to take, it's a broadcast so that other servers know their offer was rejected.

Acknowledge contains the letter "A"

LetDevDev commented 6 years ago

https://github.com/LetDevDev/GERT/commit/4b1700cbcd34f5a8f8d4cbeda822e05a6ac142af contains a minimum viable product for the DHCP client. This finishes this step.