added logic for handling DHCP and NET env vars in config.ml