Computers are connected in a network to exchange information or resources each other. Two or more computer connected through network media called computer network. There linux network troubleshooting commands pdf number of network devices or media are involved to form computer network. IP Address to interface and enable or disable interface on demand.
0 Link encap:Ethernet HWaddr 00:0C:29:28:FD:4C inet addr:192. 0 eth0 Link encap:Ethernet HWaddr 00:0C:29:28:FD:4C inet addr:192. 0 Enable or Disable Specific Interface To enable or disable specific Interface, we use example command as follows. 0 Setting MTU Size By default MTU size is 1500. We can set required MTU size with below command. 0 mtu XXXX Set Interface in Promiscuous mode Network interface only received packets belongs to that particular NIC.
If you put interface in promiscuous mode it will received all the packets. This is very useful to capture packets and analyze later. For this you may require superuser access. 203 ms 64 bytes from 4. 201 ms 64 bytes from 4. 284 ms 64 bytes from 50. 287 ms 64 bytes from 50.
285 ms 64 bytes from 50. 30 hops max, 60 byte packets 1 192. Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192. 0 U 0 0 0 eth0 default 192. 0 UG 0 0 0 eth0 For more examples of Netstat Command, please read our earlier article on 20 Netstat Command Examples in Linux. DNS related information like A Record, CNAME, MX Record etc.
This command mainly use to troubleshoot DNS related query. HEADER For more examples of Dig Command, please read the article on 10 Linux Dig Commands to Query DNS. NSLOOKUP Command nslookup command also use to find out DNS related query. 136 For more NSLOOKUP Command, read the article on 8 Linux Nslookup Command Examples.