add an optional parameter to scan_interfaces() that can override the network config...