confignet
This Perl script is a part of the IntelliTree LiveCD system. It was written to replace SetConfNet. Unlike its predecessor, this script does not generate Gentoo net config file, it instead uses iproute2 to directly setup interfaces and routes.
It also runs dhcpcd; but runs it in test mode so that dhcpcd does not do anything other than retrieve lease info fro the DHCP server. This script sets the interface, routes, and resolv.conf parameters, and provides an API back to dhcpcd so this script can be called as lease info changes in real time.
IntelliTree