I have talking about cloud, OpenStack for this block readers.
To earn more knowledge about cloud and OpenStack you have to have good knowledge of networking.
Following are the basic networking commands for the linux which you must aware about.
fconfig (interface configurator) command is use to initialize an interface, assign IP Address to interface and enable or disable interface on demand. With this command you can view IP Address and Hardware / MAC address assign to interface and also MTU (Maximum transmission unit) size.
ifconfig interface –
e.g. ifconfig eth0 –
fconfig with interface (eth0) command only shows specific interface details like IP Address, MAC Address etc. with -a options will display all available interface details if it is disable also.
ping ip address/url –
e.g. ping google.com or ping x.x.x.x –
PING (Packet INternet Groper) command is the best way to test connectivity between two nodes. Whether it is Local Area Network (LAN) or Wide Area Network (WAN). Ping use ICMP (Internet Control Message Protocol) to communicate to other devices
e.g. traceroute ip address
traceroute is a network troubleshooting utility which shows number of hops taken to reach destination also determine packets traveling path. Below we are tracing route to global DNS server IP Address and able to reach destination also shows path of that packet is traveling.
e.g. netstat -tnlp
It is very imp command to check your desired port listing desire services.
Netstat (Network Statistic) command display connection info, routing table information etc. To displays routing table information use option as -r.
e.g.- dig http://www.google.com
Dig (domain information groper) query DNS related information like A Record, CNAME, MX Record etc. This command mainly use to troubleshoot DNS related query.
route command also shows and manipulate ip routing table. To see default routing table in Linux, type the following command.