Configuring network discovery