Simple Way To Adding IP Address On Linux

This way is to see your active interface on your linux
$sudo mii-tool 
$sudo ip link
 To assign ip address on interface you can type like this for example
$sudo ifconfig eth0 192.168.1.10 netmask 255.255.255.0
Or you can assign ip addhttp://andre-networking.blogspot.com/2016/08/static-routing-dan-default-routing.htmlress to virtual interface that you create with format eth0:<number>. Example :
$sudo ifconfig eth0:0 192.168.1.11 netmask 255.255.255.0
$sudo ifconfig eth0:1 192.168.1.12 netmask 255.255.255.0
and so on

to verify type
$ifconfig
For routing you read here
http://andre-networking.blogspot.com/2016/08/static-routing-dan-default-routing.html

http://andre-networking.blogspot.com/2016/10/delete-routing-table-on-linux.html