11/8/2023 0 Comments Arch linux monitor eth0You can perform the DNS lookup query as follows: dig google. The dns command output displays information available inside files containing DNS records and helps network administrators verify if the host to IP address name resolution is working fine. digĭig, an acronym for Domain Information Groper gathers DNS-related information and troubleshoots DNS problems. This functionality helps network administrators to identify the root cause of internet connectivity issues and resolve the exact problem in the route. The utility also uses the concept of round-trip-time (RTT), which ensures that each intermediate node drops the packet and sends back the ICMP error message that helps traceroute in measuring the time a packet takes to reach each hop along the way. The output contains the total sent and received messages with the time a packet takes to reach its destination. Ping sends ICMP (Internet Control Message Protocol) echo request messages and waits for the ICMP echo reply packets to check host availability. You can also check for network connectivity issues like high latency and package drop using the ping command. It checks if the host is reachable or if a service is running. The ping utility helps you identify the availability of a network and host. To enable/disable ARP protocol for the interface, use the on/off options: ip link set dev eth0 arp on To add and remove interfaces: ip a add 192. To display all interfaces and their details: ip addr show It also shows and modifies the kernel routing tables with the addition/removal of ARP cache entries. It displays network interfaces and configures network devices, just like the ifconfig utility. However, the scope of its functionality covers two layers of TCP/IP protocol, the Data Link layer and the Network layer. Ip is an alternative to the good old ifconfig. On Fedora, CentOS, and other RPM-based distros: yum install net-tools On Ubuntu/Debian: sudo apt- get install net-tools You can resolve the issue by installing the net-tools package using your distribution's package manager. However, this utility is not readily available in Linux distributions, and you may receive an error " ifconfig: command not found". To assign an IP address to an interface: sudo ifconfig eth0 192. You can activate/deactivate any interface by using up/down parameters, as follows: sudo ifconfig up eth0 You can also view all the available interfaces, IP addresses, hardware addresses, and maximum transmission unit size for active interfaces. It helps you enable or disable a network interface and allows you to assign an IP address and netmask to the selected interface. Network administrators also use it to query and manage interface parameters with the help of configuration scripts.įREE CHEAT SHEET: 100 Must-Know Networking Terms Ifconfig is a command-line utility known for interface configuration in Linux/Unix operating systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |