I plan to do network to network, but one of the nodes needs to run a routing program and a gateway program. Running both seems a bit redundant."
Is it possible to add a conditional check in the routing program, so that when it's true, it serves a specific network and then joins that network? Otherwise, the route does not join any network and only acts as a relay node. This way, the node doesn't need to run two programs simultaneously."