Residential gateway (rfg) served 1,000-2,500+ students at peak (Fall 2003 through 2008+) across multiple major rewrites. Patched MySQL calls into ISC dhcpd C source — internal fork — so lease state updated SQL tables live. Built Unix daemon (UDP localhost command protocol: ADDRULE/DELRULE) to push authenticated IPs into pf firewall state on successful RADIUS auth; added Perl SNMP pollers for ARP and FDB from downstream routers into SQL. Full stack became direct technical foundation for WebDHCP/IPAM.