Peg DHCP

From Wikipedia, the free encyclopedia

Peg DHCP implemented: Pegs and network information used at What the Hack 2005.
Enlarge
Peg DHCP implemented: Pegs and network information used at What the Hack 2005.

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 1st 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 and the following events. The Chaos Computer Club used it during its camps and some editions of the Chaos Communication Congress.

In other languages