Currently, ifconfig just shows the IP addresses and lets you configure just the IP addresses of network adapters. If you want to change the netmask or gateway you have to edit the source.
ifconfig should let you configure the netmask and gateway too and it should print those settings when run without any arguments.
Additionally, changing the IP address doesn't survive a reboot. Ideally all the network settings would persist after being changed. This would probably necessitate have a network config file under /etc, most likely (/etc/network ?).
DNS settings seems to be another thing missing but that probably deserves its own ticket as it likely won't be handled by ifconfig.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too