How to change Gateway IP Adress

There is the documentation here:

It looks like by default it uses DHCP from your router, but you could use a static ip as well. If it is DHCP, it is your DHCP that provides the ip address and the gateway.
Aren’t there option in the nc-* commands? It is possible that they update the system files behind that, and if you change them as well, that can get a bit messy.