make network layer configurable