ifconfig and other network syntax
Strange huh, why should I write about ifconfig syntax.
Yes, it is weird. But I guess, not all people know how to set up ip, gateway and dns manually.
ifconfig
Display current configuration for all NIC’s.
ifconfig eth0
Display current configuration for eth0.
ifconfig eth0 192.168.1.2
Assign IP address 192.168.1.2 to eth0.
ifconfig eth0:0 192.168.1.2
Assign multiple IP’s to eth0.
ifconfig eth0:1 192.168.1.3
Assign second IP […]