Configuring multiple networks