ifconfig ifconfig #shows an active interfacesifconfig -a #shows all interfacesifconfig eth0 # shows only info about the eth0 interfaceifconfig eth0 10.0.1.1.120/24ifconfig eth0 netmask 255.255.255.0route add default gw 10.0.1.1ifdown eth0ifup eth0 ip ip address #shows all interfaces, long commandip a # shows all interfaces, short commandip address add 10.0.1.1/24 dev eth0 # add ip address to…