Linux Networking

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 the specified interfaceip address delete 10.0.1.1/24 dev eth0 # delete ip address from the specefied intefaceip link set up eth0 #turn on the specified interfaceip link set down eth0 # turn off the specified interfaceip…