Peg DHCP

Peg DHCP is a method defined in RFC 2322 to assign IP addresses in a context where regular DHCP wouldn't work. The "server" hands out wooden clothes-pegs numbered with the IPs to allocate and an additional leaflet with network information. The "client", typically the user, then configures his device accordingly.

Even though this RFC, "Management of IP numbers by peg-dhcp" was published on the first of April 1998, it describes, unlike most other April Fools' Day RFCs, a regularly used protocol with a serious purpose. During the preparation of Hacking in Progress 1997, the organizers were looking for a robust way to assign IP addresses to the participants. The obvious first choice, DHCP, almost completely defenseless against rogue servers, was not retained considering the traditionally creative use of the network.

Instead, for every IP to allocate, the variable (host) part is written on a wooden peg with waterproof marker. The user would then attach it to the cable connecting that device to the network. The peg is accompanied by a leaflet with further information such as the static (net) part of the IP address, the netmask, the default gateway, DNS-servers, and often also their MAC addresses to prevent ARP spoofing. Different subnets, such as LAN and WLAN are distinguished by different colors used to write on the pegs.

Peg DHCP was successfully used on Hacking in Progress '97 and the following events in Holland, including the 2009 event Hacking at Random. The German Chaos Computer Club used it during its Chaos Communication Camps and is still using it in some editions of the Chaos Communication Congress.

At Hacking at Random, the pegs were distributed according to the network map of the event terrain. Every field had a distinct subnet and per subnet, there was a division between regular IP address distribution via DHCP and the (fixed) IP addresses, distributed via Peg DHCP. To obtain an IP address via Peg DHCP, one had to note the subnet number on their field's Datenklo (dedicated rain-proof box for networking equipment, usually an empty, portable toilet). With this subnet number, the correct, routable, IP address could be handed out.

Famous quotes containing the word peg:

    So much of the trouble is because I am a woman. To me it seems a very terrible thing to be a woman. There is one crown which perhaps is worth it all—a great love, a quiet home, and children. We all know that is all that is worthwhile, and yet we must peg away, showing off our wares on the market if we have money, or manufacturing careers for ourselves if we haven’t.
    Ruth Benedict (1887–1948)