ifconfig should set up corresponding routes automatically

Project:JNode Net
Component:User interface
Category:feature request

In JNode, you have to:
ifconfig eth-pci(0,17,0)
route --add eth-pci(0,17,0)
route --add eth-pci(0,17,0) #the gateway
resolver --add #DNS

In Linux, you can set /etc/network/interfaces with all that info at once. You can also manually do:
ifconfig eth0 netmask gw
And it will do the equivalence of all 3 commands above (all apart from DNS).
JNode should support that syntax, too.


additionally, it could be setup automatically in the jnode.ini script. You can find more details here in lsantha's comment about jnode.ini & shell.ini.