[network] add network-id configuration when multiple networks are possible