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.
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.