$sudo mii-tool
$sudo ip linkTo assign ip address on interface you can type like this for example
$sudo ifconfig eth0 192.168.1.10 netmask 255.255.255.0Or 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.0and so on
to verify type
$ifconfigFor 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